fix(ci): point Gitea Actions runners at public instance URL

This commit is contained in:
2026-05-04 20:56:26 +00:00
parent 4754c69e01
commit 6f5d041440
2 changed files with 13 additions and 6 deletions
@@ -8,7 +8,7 @@ metadata:
labels: labels:
app: gitea-runner app: gitea-runner
annotations: annotations:
config-version: "2026-05-04-docker-sock-fix" config-version: "2026-05-04-public-instance-url"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -19,7 +19,7 @@ spec:
labels: labels:
app: gitea-runner app: gitea-runner
annotations: annotations:
config-version: "2026-05-04-docker-sock-fix" config-version: "2026-05-04-public-instance-url"
spec: spec:
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
@@ -92,7 +92,7 @@ metadata:
labels: labels:
app: neuron-technologies-runner app: neuron-technologies-runner
annotations: annotations:
config-version: "2026-05-04-docker-sock-fix" config-version: "2026-05-04-public-instance-url"
spec: spec:
replicas: 2 replicas: 2
selector: selector:
@@ -103,7 +103,7 @@ spec:
labels: labels:
app: neuron-technologies-runner app: neuron-technologies-runner
annotations: annotations:
config-version: "2026-05-04-docker-sock-fix" config-version: "2026-05-04-public-instance-url"
spec: spec:
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
@@ -17,7 +17,13 @@ spec:
creationPolicy: Owner creationPolicy: Owner
template: template:
data: 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 }}" GITEA_RUNNER_REGISTRATION_TOKEN: "{{ .runner_token }}"
data: data:
- secretKey: runner_token - secretKey: runner_token
@@ -41,7 +47,8 @@ spec:
creationPolicy: Owner creationPolicy: Owner
template: template:
data: 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 }}" GITEA_RUNNER_REGISTRATION_TOKEN: "{{ .runner_token }}"
data: data:
- secretKey: runner_token - secretKey: runner_token