Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
Jason Song 3d78433564
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 <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 Get outbound IP in multiple ways or disable cache server if failed to init (#74) 2023-04-05 00:53:35 +02:00
client Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
cmd Get outbound IP in multiple ways or disable cache server if failed to init (#74) 2023-04-05 00:53:35 +02:00
config define FORGEJO_RUNNER_FILE 2023-03-09 18:25:54 +01:00
core Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
engine feat: move main task logic to runtime package 2022-11-24 15:37:06 +08:00
poller s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00
register s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00
runtime Get outbound IP in multiple ways or disable cache server if failed to init (#74) 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 publish release 2023-04-03 01:13:33 +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 sync with act 1.3.0 2023-04-04 12:20:22 +02:00
go.sum sync with act 1.3.0 2023-04-04 12:20:22 +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