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
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
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