A runner for Gitea based on act. Mirrored from https://gitea.com/gitea/act_runner
Find a file
2022-11-24 15:38:01 +08:00
.gitea/workflows Add websocket 2022-11-24 15:36:19 +08:00
client chore(runner): add new token in header 2022-11-24 15:37:43 +08:00
cmd chore(runner): wait workflow done before shutdown the service 2022-11-24 15:37:52 +08:00
config add new envs 2022-11-24 15:37:48 +08:00
core chore(runner): add new token in header 2022-11-24 15:37:43 +08:00
engine feat: move main task logic to runtime package 2022-11-24 15:37:06 +08:00
poller fix(poller): graceful shutdown 2022-11-24 15:38:01 +08:00
register add forgeinstance 2022-11-24 15:37:40 +08:00
runtime Use normal images which includes git command 2022-11-24 15:38:00 +08:00
.gitignore chore(runner): remove client secret and add UUID in runner 2022-11-24 15:37:38 +08:00
.golangci.yml chore: add .golangci config 2022-11-24 15:36:28 +08:00
go.mod feat: avoid reuse of containers 2022-11-24 15:37:51 +08:00
go.sum feat: avoid reuse of containers 2022-11-24 15:37:51 +08:00
LICENSE Add license 2022-11-24 15:36:16 +08:00
main.go refactor: Add graceful shutdown signal notify func 2022-11-24 15:36:25 +08:00
Makefile chore: Add makefile 2022-11-24 15:37:09 +08:00
README.md chore(runner): add new register command 2022-11-24 15:37:36 +08:00

act runner

Act runner is a runner for Forges supports Github Actions protocol.

Rigister

create a new file as name .env

GITEA_RUNNER_NAME=
GITEA_RPC_PROTO=http
GITEA_RPC_HOST=localhost:3001
GITEA_RUNNER_TOKEN=1234567890abcde
GITEA_RUNNER_LABELS=foo,bar