forgejo-runner/runtime
Jason Song c9e076db68 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-03-24 17:55:13 +08:00
..
label.go Clarify labels (#69) 2023-03-23 20:48:33 +08:00
label_test.go Vet code (#73) 2023-03-24 15:10:39 +08:00
reporter.go Add copyright header and gitea-vet (#29) 2023-02-28 18:44:46 +08:00
runtime.go Get outbound IP in multiple ways or disable cache server if failed to init (#74) 2023-03-24 17:55:13 +08:00
task.go Fix failed to create container if the runner works in root dir (#67) 2023-03-23 09:41:22 +08:00