Jason Song and Jason Song
0348aaac59
Wait for the Docker daemon to be ready before starting act runner ( #620 )
...
Follow #619 .
Wait for the Docker daemon to be ready before starting act runner.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/620
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2024-11-06 07:38:31 +00:00
Jason Song and Jason Song
9712481bed
Support basic, dind and dind-rootless as multiple kinds of images ( #619 )
...
- `basic`: Only the runner process in the container; users need to mount the Docker socket to it.
- `dind`: A Docker daemon will be started in the container with the root user.
- `dind-rootless`: A Docker daemon will be started in the container with a rootless user.
Use s6 instead of supervisord to start processes.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/619
Reviewed-by: Zettat123 <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2024-11-06 03:15:51 +00:00
Jason Song and Jason Song
b075e3a1d5
Bump goreleaser-action to use v2 by default ( #604 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/604
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2024-09-24 08:46:21 +00:00
Jason Song and Jason Song
e27189ea32
Fix releasing ( #603 )
...
```
[command]/opt/hostedtoolcache/goreleaser-action/2.3.2-pro/x64/goreleaser release --nightly
• by using this software you agree with its EULA, available at https://goreleaser.com/eula
• running goreleaser v2.3.2-pro
• only configurations files on version: 2 are supported, yours is version: 0 , please update your configuration
⨯ release failed after 0s error=only configurations files on version: 2 are supported, yours is version: 0 , please update your configuration
::error::The process '/opt/hostedtoolcache/goreleaser-action/2.3.2-pro/x64/goreleaser' failed with exit code 1
```
```
#20 [linux/arm64 builder 2/5] RUN apk add --no-cache make git
#20 CANCELED
------
> [linux/amd64 builder 5/5] RUN make clean && make build:
0.058 go clean -x -i ./...
0.061 go: go.mod requires go >= 1.22 (running go 1.21.10; GOTOOLCHAIN=local)
0.061 make: *** [Makefile:176: clean] Error 1
------
1 warning found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:8
--------------------
6 | WORKDIR /opt/src/act_runner
7 |
8 | >>> RUN make clean && make build
9 |
10 | FROM alpine:3.18
--------------------
ERROR: failed to solve: process "/bin/sh -c make clean && make build" did not complete successfully: exit code: 2
::error::buildx failed with: ERROR: failed to solve: process "/bin/sh -c make clean && make build" did not complete successfully: exit code: 2
```
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/603
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2024-09-24 08:22:53 +00:00
Jason Song and Jason Song
59e478464e
Bump act to v0.261.2 ( #602 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/602
Reviewed-by: Lunny Xiao <[email protected] >
Reviewed-by: Zettat123 <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2024-09-24 07:04:47 +00:00
Jason Song and GitHub
2df924c509
Bump docker to v26 ( #2289 )
...
* chore: bump docker
* chore: bump more
* chore: update codes
2024-04-11 08:29:02 -07:00
Jason Song and GitHub
cdc22da7f0
Remove local action cache if remote has changed ( #2284 )
...
* fix: remove local cache if remote is changed
* test: TestCloneIfRequired
2024-04-10 12:41:02 +00:00
Jason Song and GitHub
d2c341332b
chore: fix codecov ( #2288 )
2024-04-10 10:32:47 +00:00
Jason Song
ec03f19650
Bump act to v0.261.1 ( #535 )
...
Related to https://gitea.com/gitea/act/compare/v0.261.0...v0.261.1
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/535
2024-04-10 07:07:56 +00:00
Jason Song
8567324a19
Release nightly versions for tags ( #536 )
...
Or the latest nightly version could be "v0.2.8-4-gbe2df36" even though there's "v0.2.9", although they are for the same commit.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/536
2024-04-10 07:06:08 +00:00
Jason Song
be2df361ef
Ensure declare to use new labels ( #530 )
...
Ensure "declare" is supported, to use new labels, see https://gitea.com/gitea/act_runner/pulls/529
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/530
Reviewed-by: Lunny Xiao <[email protected] >
2024-04-02 07:39:40 +00:00
Jason Song
a5085dde0c
Use gitea/runner-images by default ( #529 )
...
See https://gitea.com/gitea/runner-images
Also give up ubuntu-18.04 since it's too old. And enable force_pull by default to check new versions of images.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/529
Reviewed-by: Lunny Xiao <[email protected] >
2024-04-02 07:38:14 +00:00
Jason Song
cef86d1140
Bump act to v0.260.0 ( #528 )
...
Related to:
- https://gitea.com/gitea/act/pulls/104
- https://gitea.com/gitea/act/issues/102
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/528
Reviewed-by: Lunny Xiao <[email protected] >
2024-04-02 06:25:33 +00:00
Jason Song
94c45acf6b
Use node 20 by default ( #526 )
...
Because Octokit requires Node 18 or higher now.
See https://github.com/octokit/octokit.js/#fetch-missing .
However, for existing runners, users should manually modify `labels` in the `.runner` file or `runner.labels` in the `config.yaml` file to update. Don't forget to restart.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/526
Reviewed-by: sillyguodong <[email protected] >
2024-03-29 03:03:26 +00:00
Jason Song and GitHub
b9382a2c4e
Support overwriting caches ( #2265 )
...
* feat: support overwrite caches
* test: fix case
* test: fix get_with_multiple_keys
* chore: use atomic.Bool
* test: improve get_with_multiple_keys
* chore: use ping to improve path
* fix: wrong CompareAndSwap
* test: TestHandler_gcCache
* chore: lint code
* chore: lint code
2024-03-28 16:42:02 +00:00
Jason Song and GitHub
f56dd65ff6
test: use ping to improve network test ( #2266 )
2024-03-28 11:56:26 +00:00
Jason Song
1760899d27
Set gitea token to release ( #524 )
...
Follow https://gitea.com/gitea/act_runner/src/commit/a7eca813eae1747a7323c0e88e01b7417293ffe9/.gitea/workflows/release-tag.yml#L39
It works before unexpectedly because of https://github.com/nektos/act/pull/2089
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/524
2024-03-27 10:51:45 +00:00
Jason Song
23ec12b8cf
Bump act to v0.260.0 ( #522 )
...
Related to https://gitea.com/gitea/act/issues/99 .
Also update other main dependencies.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/522
Reviewed-by: Zettat123 <[email protected] >
2024-03-27 03:17:04 +00:00
5977042b86
Bump act to v0.259.2 ( #515 )
...
Related to https://gitea.com/gitea/act/pulls/97
Co-authored-by: Lunny Xiao <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/515
Reviewed-by: silverwind <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2024-03-14 18:58:43 +00:00
Jason Song and Lunny Xiao
6bc19cbc33
Improve workflows ( #516 )
...
Starting from setup-go v4, it will cache build dependencies by default, see https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs .
Also bump some versions.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/516
Reviewed-by: silverwind <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2024-03-14 13:27:47 +00:00
5a79256ee4
fix: panic ( #2071 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-04 14:10:53 +00:00
Jason Song
00e9b3d62b
Bump act ( #394 )
...
Bump act to follow https://gitea.com/gitea/act/pulls/81
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/394
Reviewed-by: Lunny Xiao <[email protected] >
2023-10-31 15:03:07 +00:00
Jason Song and Lunny Xiao
7fc1b91ba6
Update to go1.21 in Dockerfile.rootless ( #332 )
...
Follow #330
Fix https://gitea.com/gitea/act_runner/pulls/330#issuecomment-747099
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/332
Reviewed-by: Lunny Xiao <[email protected] >
Reviewed-by: appleboy <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-08-12 00:37:08 +00:00
Jason Song
5d01cb8904
Add tips in config file ( #297 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/297
2023-07-20 02:16:30 +00:00
Jason Song and GitHub
8c7c0f53c1
fix: handle zero size ( #1888 )
2023-07-10 20:35:27 -07:00
15618d1187
Remove archives.replacements in goreleaser.yaml ( #1895 )
...
* fix: update name template in goreleaser
* fix: add arm version
* fix: space
* fix: --clean
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-07-10 17:15:16 +00:00
Jason Song
cf48ed88ba
Revert supporting multiple default actions URLs and use github for exec by default ( #262 )
...
## ⚠️ BREAKING ⚠️
Follow https://github.com/go-gitea/gitea/pull/25581 and gitea/act#70 .
- Revert "Parse multiple default actions URLs (#200 )"
- Revert "fix defaultActionsUrls config for exec (#233 )"
- Use `https://github.com ` for exec by default.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/262
2023-06-30 07:53:18 +00:00
Jason Song
054c8d912f
Move docker.host to container.docker_host ( #244 )
...
Follow #242 .
Move `docker.host` to `container.docker_host`.
There are already some options for docker/container in `container`, so developers could get confused about where to add options.
It's breaking, but I think it's OK since `docker.host` was added just two days ago.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/244
Reviewed-by: Lunny Xiao <[email protected] >
2023-06-19 09:01:16 +00:00
Jason Song
45bfe0a9b2
Accept empty file as config ( #241 )
...
Close #240
`yaml.Decoder.Decode` will return EOF when the root node is nil , see https://github.com/go-yaml/yaml/blob/v3/yaml.go#L125
While `yaml.Unmarshal` will accept it, see https://github.com/go-yaml/yaml/blob/v3/yaml.go#L162
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/241
Reviewed-by: Zettat123 <[email protected] >
2023-06-15 05:40:37 +00:00
Jason Song
316534996a
Build docker image gitea/act_runner/x.y.z-dind-rootless ( #239 )
...
Follow #208
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/239
Reviewed-by: Zettat123 <[email protected] >
2023-06-15 05:27:35 +00:00
Jason Song and GitHub
24348ff1ee
Drop disappeared wei/curl@v1 ( #1864 )
...
* chore: trigger actions
* fix: use curl command directly
* fix: use node:16-buster
* fix: remove --fail-with-body
* chore: format codes
2023-06-13 21:24:31 +00:00
Jason Song
a29307a9d9
Remove hadolint and improve Dockerfile ( #234 )
...
Replace #190
See:
- https://gitea.com/gitea/act_runner/pulls/190#issuecomment-741196
- https://gitea.com/gitea/act_runner/pulls/208#issuecomment-741049
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/234
Reviewed-by: Lunny Xiao <[email protected] >
Reviewed-by: silverwind <[email protected] >
Reviewed-by: delvh <[email protected] >
2023-06-09 02:50:30 +00:00
Jason Song
de4160b023
Skip counting log length when parseLogRow return nil ( #176 )
...
Fix:

Regression of #149 , `LogLength` could be incorrect.
It may be related to https://github.com/go-gitea/gitea/issues/24458
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/176
Reviewed-by: Zettat123 <[email protected] >
Reviewed-by: wxiaoguang <[email protected] >
2023-05-06 17:00:52 +08:00
Jason Song
0c029f7e79
Upgrade act and use new artifactcache ( #174 )
...
- Upgrade act to v0.245.1
- Replace `gitea.com/gitea/act_runner/internal/app/artifactcache` with `github.com/nektos/act/pkg/artifactcache`
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/174
Reviewed-by: Lunny Xiao <[email protected] >
2023-05-04 18:45:01 +08:00
Jason Song and GitHub
d77991c95a
Support cache ( #1770 )
...
* feat: port
* fix: use httprouter
* fix: WriteHeader
* fix: bolthold
* fix: bugs
* chore: one less file
* test: test handler
* fix: bug in id
* test: fix cases
* chore: tidy
* fix: use atomic.Int32
* fix: use atomic.Store
* feat: support close
* chore: lint
* fix: cache keys are case insensitive
* fix: options
* fix: use options
* fix: close
* fix: ignore close error
* Revert "fix: close"
This reverts commit d53ea7568ba03908eb153031c435008fd47e7ccb.
* fix: cacheUrlKey
* fix: nil close
* chore: lint code
* fix: test key
* test: case insensitive
* chore: lint
2023-04-28 15:57:40 +00:00
Jason Song
0cf31b2d22
Update docker image tag ( #153 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/153
2023-04-27 15:02:39 +08:00
Jason Song
3be962cdb3
Rename the download folder from main -> nightly ( #152 )
...
Close https://gitea.com/gitea/act_runner/issues/117
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/152
2023-04-27 12:23:15 +08:00
Jason Song
a5edbc9ac4
Release docker images ( #151 )
...
Did some tests to make sure it worked.
See https://hub.docker.com/r/gitea/act_runner/tags
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/151
2023-04-27 12:08:41 +08:00
Jason Song and Lunny Xiao
83ec0ba909
Support upload outputs and use needs context ( #133 )
...
See [Example usage of the needs context](https://docs.github.com/en/actions/learn-github-actions/contexts#example-usage-of-the-needs-context ).
Related to:
- [actions-proto-def #5 ](https://gitea.com/gitea/actions-proto-def/pulls/5 )
- [gitea #24230 ](https://github.com/go-gitea/gitea/pull/24230 )
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/133
Reviewed-by: Lunny Xiao <[email protected] >
Reviewed-by: Zettat123 <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-04-20 23:27:46 +08:00
Jason Song
ed86e2f15a
Update workflow files ( #131 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/131
2023-04-19 17:46:52 +08:00
Jason Song
d4bebccc12
Update dependencies ( #130 )
...
Related to:
- https://gitea.com/gitea/act/pulls/44
- https://gitea.com/gitea/actions-proto-def/pulls/5
- https://gitea.com/gitea/actions-proto-def/pulls/7
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/130
2023-04-19 16:50:07 +08:00
3715266494
Improve watchAndRun ( #1743 )
...
* fix: improve watchAndRun
* fix: lint
* fix: lint
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-19 04:19:40 +00:00
816a7d410a
Avoid using log.Fatal in pkg/* ( #1705 )
...
* fix: common
* fix: in runner
* fix: decodeNode
* fix: GetMatrixes
* Revert "fix: common"
This reverts commit 6599803b6ae3b7adc168ef41b4afd4d89fc22f34.
* fix: GetOutboundIP
* test: fix cases
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-18 14:17:36 +00:00
Jason Song and Lunny Xiao
d5caee38f2
Add prefix to use ghaction-import-gpg ( #120 )
...
See https://gitea.com/gitea/act_runner/actions/runs/254
Related to #116
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/120
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-04-13 18:18:39 +08:00
Jason Song and Lunny Xiao
c248520a66
Set specific environments to distinguish between Gitea and GitHub ( #113 )
...
Close https://github.com/go-gitea/gitea/issues/24038
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/113
Reviewed-by: techknowlogick <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-04-12 14:44:26 +08:00
Jason Song and Lunny Xiao
9c6499ec08
Fix panic when response is nil ( #105 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/105
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-04-06 21:51:46 +08:00
Jason Song
d139faa40c
Supports configuring fetch_timeout and fetch_interval. ( #100 )
...
Fix #99 .
Fix #94 .
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/100
Reviewed-by: Zettat123 <[email protected] >
2023-04-06 10:57:36 +08:00
Jason Song and Lunny Xiao
220efa69c0
Refactor to new framework ( #98 )
...
- Adjust directory structure
```text
├── internal
│ ├── app
│ │ ├── artifactcache
│ │ ├── cmd
│ │ ├── poll
│ │ └── run
│ └── pkg
│ ├── client
│ ├── config
│ ├── envcheck
│ ├── labels
│ ├── report
│ └── ver
└── main.go
```
- New pkg `labels` to parse label
- New pkg `report` to report logs to Gitea
- Remove pkg `engine`, use `envcheck` to check if docker running.
- Rewrite `runtime` to `run`
- Rewrite `poller` to `poll`
- Simplify some code and remove what's useless.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/98
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-04-04 21:32:04 +08:00
Jason Song
df3cb60978
Config for container network ( #96 )
...
Fix #66
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/96
Reviewed-by: Lunny Xiao <[email protected] >
2023-04-04 14:32:01 +08:00
Jason Song
7e7096e60b
Refactor environment variables to configuration and registration ( #90 )
...
Close #21 .
Refactor environment variables to configuration file (config.yaml) and registration file (.runner).
The old environment variables are still supported, but warning logs will be printed.
Like:
```text
$ GITEA_DEBUG=true ./act_runner -c config.yaml daemon
INFO[0000] Starting runner daemon
WARN[0000] env GITEA_DEBUG has been ignored because config file is used
$ GITEA_DEBUG=true ./act_runner daemon
INFO[0000] Starting runner daemon
WARN[0000] env GITEA_DEBUG will be deprecated, please use config file instead
```
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/90
Reviewed-by: Lunny Xiao <[email protected] >
2023-04-02 22:41:48 +08:00
8518d70bdf
feat: improve GetOutboundIP ( #1707 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-31 13:28:08 +00:00
d3dfde055a
fix: use os.UserHomeDir ( #1706 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-31 13:08:46 +00:00
Jason Song
c9e076db68
Get outbound IP in multiple ways or disable cache server if failed to init ( #74 )
...
Fix #64 (incompletely).
It's still not ideal. It makes more sense to use the gateway IP address of container network as outbound IP of cache server. However, this requires act to cooperate, some think like:
- act creates the network for new container, and returns the network to runner.
- runner extracts the gateway IP in the network.
- runner uses the gateway IP as outbound IP, and pass it to act as cache server endpoint.
- act It continues to create the container with the created network.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/74
Reviewed-by: Lunny Xiao <[email protected] >
2023-03-24 17:55:13 +08:00
Jason Song
bc1842d649
Vet code ( #73 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/73
2023-03-24 15:10:39 +08:00
Jason Song
90b8cc6a7a
Clarify labels ( #69 )
...
The label will follow the format `label[:schema[:args]]`, and the schema will be `host` if it's omitted. So
- `ubuntu:docker://node:18`: Run jobs with label `ubuntu` via docker with image `node:18`
- `ubuntu:host`: Run jobs with label `ubuntu` on the host directly.
- `ubuntu`: Same as `ubuntu:host`.
- `ubuntu:vm:ubuntu-latest`: (Just a example, not Implemented) Run jobs with label `ubuntu` via virtual machine with iso `ubuntu-latest`.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/69
Reviewed-by: Zettat123 <[email protected] >
Reviewed-by: wxiaoguang <[email protected] >
2023-03-23 20:48:33 +08:00
Jason Song
4d5a35ac65
Upgrade act ( #68 )
...
Related to https://gitea.com/gitea/act/pulls/27
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/68
2023-03-23 13:33:17 +08:00
Jason Song
48b05a0ca8
Upgrade act to support go actions ( #62 )
...
See:
- https://gitea.com/gitea/act/pulls/20
- https://gitea.com/gitea/act/pulls/22
- https://gitea.com/gitea/act/pulls/26
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/62
Reviewed-by: Zettat123 <[email protected] >
2023-03-21 16:33:08 +08:00
Jason Song
4d868b7f3c
Update act to v0.243 ( #54 )
...
- Update act to v0.243.1
- Disable artifacts server when run daemon.
- Adjust cmd.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/54
Reviewed-by: Zettat123 <[email protected] >
2023-03-17 09:45:46 +08:00
ac5dd8feb8
fix: return err in walk ( #1667 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-08 15:13:11 +00:00
19abab6375
fix: safe file name ( #1651 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-03 08:38:33 +00:00
Jason Song and Lunny Xiao
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 <[email protected] >
Reviewed-by: Zettat123 <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-02-28 23:39:30 +08:00
Jason Song
410765b516
Upgrade act ( #24 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/24
2023-02-24 14:23:22 +08:00
Jason Song
06b9c3962e
Upgrade act ( #23 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/23
2023-02-24 12:16:18 +08:00
Jason Song
0b64655a40
Upgrade act ( #22 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/22
2023-02-24 10:23:18 +08:00
1316307313
chore: use new style octal ( #1630 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-16 15:34:51 +00:00
Jason Song and GitHub
b0a5068f6d
fix: don't override env ( #1629 )
2023-02-16 15:16:46 +00:00
Jason Song
75820a6a3e
Upgrade act to v0.234.2 ( #20 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/20
2023-02-15 16:53:23 +08:00
Jason Song
cf27d3f300
Update act to 0.234.1 ( #12 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/12
2023-01-06 18:32:01 +08:00
Jason Song
03c4c4e116
docs: add quickstart to readme
2022-11-24 16:38:42 +08:00
Jason Song
b3e7d6a62d
fix: update container config
2022-11-24 15:38:22 +08:00
Jason Song
2354f5bb18
feat: use specified labels
2022-11-24 15:38:21 +08:00
Jason Song
5781e233c1
fix: limit workers
2022-11-24 15:38:20 +08:00
Jason Song
f05e08a767
chore: update grpc router path
2022-11-24 15:38:19 +08:00
Jason Song
64c9856ba7
fix: set more image
2022-11-24 15:38:17 +08:00
Jason Song
66ec50e427
chore: upgrade act
2022-11-24 15:38:16 +08:00
Jason Song
44988db9f8
chore: replace with code.gitea.io/bots-proto-go
2022-11-24 15:38:15 +08:00
Jason Song
8f950ccec0
feat: auto remove containers
2022-11-24 15:38:11 +08:00
Jason Song
ab4e06f977
feat: support post step log
2022-11-24 15:38:09 +08:00
Jason Song
88ae188699
fix: ignore stuck because of wrong token
2022-11-24 15:38:02 +08:00
Jason Song
2e1326b725
fix: set NoSkipCheckout
2022-11-24 15:37:58 +08:00
Jason Song
cbd21b8ec5
feat: avoid reuse of containers
2022-11-24 15:37:51 +08:00
Jason Song
d650bae0b6
feat: replace ciphertext in log
2022-11-24 15:37:50 +08:00
Jason Song
93e42d1465
fix: call RunDaemon
2022-11-24 15:37:47 +08:00
Jason Song
2f879c41c4
chore: remove tracing codes
2022-11-24 15:37:42 +08:00
Jason Song
41b5fa6b55
fix: update step result
2022-11-24 15:37:41 +08:00
Jason Song
cce60d466b
fix: need more time to run task
2022-11-24 15:37:35 +08:00