f24e0721dc
Add runner name to log ( #37 )
...
User can get the name of the runner that executed the specified job.

Co-authored-by: Zettat123 <zettat123@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/37
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@noreply.gitea.io >
Co-committed-by: Zettat123 <zettat123@noreply.gitea.io >
2023-03-06 18:42:07 +08:00
e36300ce28
fix docker executor on windows and local actions ( #34 )
...
If the Workdir field doesn't ends with the filepath seperator,
bad things happen
Fixes #33
Sample for host mode on windows, needs be adjusted for linux e.g. replace pwsh with bash
Also fixes
```yaml
on: push
jobs:
_:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
with:
path: subdir/action
- uses: ./subdir/action
```
with an action.yml in the same repo
```yaml
runs:
using: composite
steps:
- run: |
echo "Hello World"
shell: pwsh
```
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/34
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: ChristopherHX <christopherhx@noreply.gitea.io >
Co-committed-by: ChristopherHX <christopherhx@noreply.gitea.io >
2023-03-06 13:24:32 +08:00
436b441cad
Support cache ( #25 )
...
See [Caching dependencies to speed up workflows](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows ).
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/25
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2023-02-28 23:39:30 +08:00
552dbcdda9
Add copyright header and gitea-vet ( #29 )
...
Add copyright header
Co-authored-by: sillyguodong <gedong_1994@163.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/29
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io >
Co-authored-by: sillyguodong <sillyguodong@noreply.gitea.io >
Co-committed-by: sillyguodong <sillyguodong@noreply.gitea.io >
2023-02-28 18:44:46 +08:00
f7a52789d9
fix: report job failure on error return ( #14 )
...
act_runner only returns the error to the runner, but doesn't update the job result to failure.
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/14
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: ChristopherHX <christopherhx@noreply.gitea.io >
Co-committed-by: ChristopherHX <christopherhx@noreply.gitea.io >
2023-01-27 20:18:12 +08:00
6d2200b3d6
Rename to actions ( #7 )
...
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/7
2022-12-06 16:37:38 +08:00
b3e7d6a62d
fix: update container config
2022-11-24 15:38:22 +08:00
2354f5bb18
feat: use specified labels
2022-11-24 15:38:21 +08:00
64c9856ba7
fix: set more image
2022-11-24 15:38:17 +08:00
44988db9f8
chore: replace with code.gitea.io/bots-proto-go
2022-11-24 15:38:15 +08:00
8f950ccec0
feat: auto remove containers
2022-11-24 15:38:11 +08:00
5fc35faf17
Support bot site
2022-11-24 15:38:06 +08:00
8cffac65d9
Use normal images which includes git command
2022-11-24 15:38:00 +08:00
2e1326b725
fix: set NoSkipCheckout
2022-11-24 15:37:58 +08:00
cbd21b8ec5
feat: avoid reuse of containers
2022-11-24 15:37:51 +08:00
d650bae0b6
feat: replace ciphertext in log
2022-11-24 15:37:50 +08:00
222b5100b6
add new envs
2022-11-24 15:37:48 +08:00
93e42d1465
fix: call RunDaemon
2022-11-24 15:37:47 +08:00
93c8de3ec4
get token
2022-11-24 15:37:46 +08:00
08c94bb564
chore(runner): cancel task if get the cancel from server
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:44 +08:00
378966e45f
add forgeinstance
2022-11-24 15:37:40 +08:00
82431d8e11
chore(runner): support update log and task
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:21 +08:00
20c3d85ba9
refactor(task): execute single task with gRPC data
2022-11-24 15:37:19 +08:00
d3d56ed0ef
chore(runtime): fetch build data
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:17 +08:00
6030610c04
feat: task can report step and final result
2022-11-24 15:37:14 +08:00
a3e9bbed25
chore: Add makefile
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com >
2022-11-24 15:37:09 +08:00
c5edbbd004
feat: move main task logic to runtime package
2022-11-24 15:37:06 +08:00