fix(ci): point Gitea Actions runners at public instance URL
This commit is contained in:
@@ -17,7 +17,13 @@ spec:
|
||||
creationPolicy: Owner
|
||||
template:
|
||||
data:
|
||||
GITEA_INSTANCE_URL: "http://gitea.git.svc.cluster.local:3000"
|
||||
# Public URL — the in-cluster name (gitea.git.svc.cluster.local) is
|
||||
# not resolvable from build containers running with `network: host`,
|
||||
# which causes `git fetch` to fail at the very first checkout step.
|
||||
# The runner polls Gitea over Cloudflare; the latency cost is small
|
||||
# and the build container's clone URL is derived from this instance,
|
||||
# so it has to be a name the build container can resolve.
|
||||
GITEA_INSTANCE_URL: "https://git.neuralplatform.ai"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ .runner_token }}"
|
||||
data:
|
||||
- secretKey: runner_token
|
||||
@@ -41,7 +47,8 @@ spec:
|
||||
creationPolicy: Owner
|
||||
template:
|
||||
data:
|
||||
GITEA_INSTANCE_URL: "http://gitea.git.svc.cluster.local:3000"
|
||||
# Public URL — see commentary on the gitea-runner-secret above.
|
||||
GITEA_INSTANCE_URL: "https://git.neuralplatform.ai"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ .runner_token }}"
|
||||
data:
|
||||
- secretKey: runner_token
|
||||
|
||||
Reference in New Issue
Block a user