Christopher Homberger
3f008b3310
forget needs
2026-02-22 16:05:39 +01:00
Christopher Homberger
9f7b881426
fix lint
2026-02-22 15:51:52 +01:00
Christopher Homberger
0ab72505cc
Merge branch 'main' of gitea.com:gitea/act_runner into act-runner-actions-oss-act
2026-02-22 15:45:00 +01:00
Christopher Homberger
d4c46e538e
add strategy
2026-02-20 21:44:30 +01:00
Christopher Homberger
ae82ca2e97
adapt
2026-02-20 21:37:36 +01:00
Christopher Homberger
d9948c0df4
fix add more ctx
2026-02-20 21:10:28 +01:00
Christopher Homberger
995551f1aa
experiment
2026-02-20 21:10:28 +01:00
Christopher Homberger
579b7af04f
wip
...
update go mod
2026-02-20 21:10:16 +01:00
Christopher Homberger
17bc93f003
migrate to WithJobLoggerFactory
2026-02-20 14:17:04 +01:00
Christopher Homberger
35df5a61e4
WIP evaluate upgrade
2026-02-20 14:10:55 +01:00
Christopher Homberger and Lunny Xiao
c4b57fbcb2
chore(deps): upgrade dependencies ( #775 )
...
CI uses latest go 24, we may need a cron job after go updates.
Closes https://gitea.com/gitea/act_runner/issues/774
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/775
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-12-20 23:35:15 +00:00
ChristopherHX and Jason Song
50e0509007
Do not implicitly mount /var/run/docker.sock ( #751 )
...
* podman creates an folder
* dind sees a folder and fails
Was adding the mount a mistake?, a feature with side effects?
Closes https://gitea.com/gitea/act_runner/issues/750
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/751
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: ChristopherHX <[email protected] >
Co-committed-by: ChristopherHX <[email protected] >
2025-10-09 07:16:56 +00:00
Christopher Homberger and Lunny Xiao
8920c4a170
Timeout to wait for and optionally require docker always ( #741 )
...
* do not require docker cli in the runner image for waiting for a sidecar dockerd
* allow to specify that `:host` labels would also only be accepted if docker is reachable
Co-authored-by: Lunny Xiao <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/741
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-08-28 17:28:08 +00:00
Christopher Homberger and Lunny Xiao
6a7e18b124
Allow node24 actions ( #737 )
...
* `node` Tool is used regardless of this change
* upgrade images with `node` = `node24` if required
* actions/checkout@v5 now passing validation
Fixes #729
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/737
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-08-21 17:47:26 +00:00
Christopher Homberger and techknowlogick
a616ed1a10
feat: register interactive with values from cli ( #682 )
...
I used to be able to do something like `./act_runner register --instance https://gitea.com --token testdcff --name test` on GitHub Actions Runners, but act_runner always asked me to enter instance, token etc. again and requiring me to use `--no-interactive` including passing everything per cli.
My idea was to extract the preset input of some stages to skip the prompt for this value if it is a non empty string. Labels is the only question that has been asked more than once if validation failed, in this case the error path have to unset the values of the input structure to not end in a non-interactive loop.
_I have written this initially for my own gitea runner, might be useful to everyone using the official runner as well_
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/682
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-05-08 01:57:53 +00:00
Christopher Homberger and techknowlogick
f0b5aff3bb
fix: invalid label NoInteractive exit code ( #683 )
...
* add test
* return validation error not nil from function
Closes #665
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/683
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-05-07 17:17:26 +00:00
Christopher Homberger and techknowlogick
44b4736703
feat: docker env vars for ephemeral and once ( #685 )
...
* GITEA_RUNNER_EPHEMERAL=1
* GITEA_RUNNER_ONCE=1
Related https://gitea.com/gitea/act_runner/issues/684
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/685
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-05-07 15:43:05 +00:00
Christopher Homberger and Lunny Xiao
b1ae30dda8
ephemeral act runner ( #649 )
...
Works for both interactive and non-interactive registration mode.
A further enhancement would be jitconfig support of the daemon command, because after some changes in Gitea Actions the registration token became reusable.
removing runner and fail seems not possible at the current api level
Part of https://github.com/go-gitea/gitea/pull/33570
Co-authored-by: Lunny Xiao <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/649
Reviewed-by: Zettat123 <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-03-13 21:57:44 +00:00
Christopher Homberger and Lunny Xiao
e14f42c40a
Add ACTIONS_RESULTS_URL to env ( #473 )
...
actions/upload-artifact@v4 and actions/download-artifact@v4 depend on this variable
BaseUrl in a url are ignored by the nodejs code of the new actions, so this change doesn't append the path of the older `ACTIONS_RUNTIME_URL`.
Co-authored-by: Lunny Xiao <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/473
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2024-02-19 02:30:54 +00:00
Christopher Homberger and Lunny Xiao
e6630e2e36
Use artifacts v4 jwt if available ( #471 )
...
Needs https://github.com/go-gitea/gitea/pull/28885 to provide jwt if sent by server
Could fix #459 , but that has not been verified.
Co-authored-by: Lunny Xiao <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/471
Reviewed-by: delvh <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2024-02-08 02:43:39 +00:00