A runner for Gitea based on act.
Go to file
Bo-Yi.Wu 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
.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): add new token in header 2022-11-24 15:37:43 +08:00
config chore(runner): add new token in header 2022-11-24 15:37:43 +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 chore(runner): remove client secret and add UUID in runner 2022-11-24 15:37:38 +08:00
register add forgeinstance 2022-11-24 15:37:40 +08:00
runtime chore(runner): cancel task if get the cancel from server 2022-11-24 15:37:44 +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 chore(runner): cancel task if get the cancel from server 2022-11-24 15:37:44 +08:00
go.sum chore(runner): cancel task if get the cancel from server 2022-11-24 15:37:44 +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