Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
Jason Song c817236aa4
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 <xiaolunwen@gmail.com>
2023-04-05 00:53:35 +02:00
.forgejo/workflows the test workflow is not meant to release 2023-04-04 14:39:53 +02:00
.gitea/workflows Support cache on ci (#47) 2023-03-16 16:56:03 +01:00
artifactcache Refactor environment variables to configuration and registration (#90) 2023-04-05 00:53:35 +02:00
client Refactor environment variables to configuration and registration (#90) 2023-04-05 00:53:35 +02:00
cmd Refactor environment variables to configuration and registration (#90) 2023-04-05 00:53:35 +02:00
config Refactor environment variables to configuration and registration (#90) 2023-04-05 00:53:35 +02:00
engine feat: move main task logic to runtime package 2022-11-24 15:37:06 +08:00
poller Refactor environment variables to configuration and registration (#90) 2023-04-05 00:53:35 +02:00
runtime Fix potential log panic (#82) 2023-04-05 00:53:35 +02:00
.dockerignore keep .git on build to extract version from tag 2023-04-03 16:57:27 +02:00
.gitignore Refactor environment variables to configuration and registration (#90) 2023-04-05 00:53:35 +02:00
.golangci.yml chore: add .golangci config 2022-11-24 15:36:28 +08:00
build.go Support cache (#25) 2023-02-28 23:48:37 +01:00
Dockerfile publish release 2023-04-03 01:13:33 +02:00
go.mod Refactor environment variables to configuration and registration (#90) 2023-04-05 00:53:35 +02:00
go.sum Refactor environment variables to configuration and registration (#90) 2023-04-05 00:53:35 +02:00
LICENSE Add license 2022-11-24 15:36:16 +08:00
main.go s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00
Makefile build static binaries 2023-04-03 01:13:33 +02:00
README.md trigger the build 2023-03-01 00:32:50 +01:00

Forgejo Actions runner

Runs workflows found in .forgejo/workflows, using a format similar to GitHub actions but with a Free Software implementation.

It is compatible with Forgejo v1.19.0-0-rc0