fix(runner): correct Gitea ClusterIP and enable force_pull
extra_hosts had stale IP 10.43.1.53 (Gitea is now at 10.43.15.98). force_pull: true ensures runners always use the latest ci-base image. Applies to both gitea-runner and neuron-technologies-runner.
This commit is contained in:
@@ -8,7 +8,7 @@ metadata:
|
||||
labels:
|
||||
app: gitea-runner
|
||||
annotations:
|
||||
config-version: "2026-05-04-cf-access-public-url"
|
||||
config-version: "2026-05-05-force-pull-ip-fix"
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
labels:
|
||||
app: gitea-runner
|
||||
annotations:
|
||||
config-version: "2026-05-04-cf-access-public-url"
|
||||
config-version: "2026-05-05-force-pull-ip-fix"
|
||||
spec:
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
@@ -42,7 +42,7 @@ spec:
|
||||
container:
|
||||
network: host
|
||||
docker_host: "unix:///var/run/docker.sock"
|
||||
force_pull: false
|
||||
force_pull: true
|
||||
valid_volumes: []
|
||||
default_image: "registry.neuralplatform.ai/ci-base:latest"
|
||||
# Build containers run with network: host. The in-cluster
|
||||
@@ -56,7 +56,7 @@ spec:
|
||||
CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}"
|
||||
BASH_ENV: "/usr/local/bin/git-cf-access-init.sh"
|
||||
extra_hosts:
|
||||
- "gitea.git.svc.cluster.local:10.43.1.53"
|
||||
- "gitea.git.svc.cluster.local:10.43.15.98"
|
||||
EOF
|
||||
envFrom:
|
||||
- secretRef:
|
||||
@@ -102,7 +102,7 @@ metadata:
|
||||
labels:
|
||||
app: neuron-technologies-runner
|
||||
annotations:
|
||||
config-version: "2026-05-04-cf-access-public-url"
|
||||
config-version: "2026-05-05-force-pull-ip-fix"
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
@@ -113,7 +113,7 @@ spec:
|
||||
labels:
|
||||
app: neuron-technologies-runner
|
||||
annotations:
|
||||
config-version: "2026-05-04-cf-access-public-url"
|
||||
config-version: "2026-05-05-force-pull-ip-fix"
|
||||
spec:
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
@@ -136,7 +136,7 @@ spec:
|
||||
container:
|
||||
network: host
|
||||
docker_host: "unix:///var/run/docker.sock"
|
||||
force_pull: false
|
||||
force_pull: true
|
||||
valid_volumes: []
|
||||
default_image: "registry.neuralplatform.ai/ci-base:latest"
|
||||
# Build containers run with network: host. The in-cluster
|
||||
@@ -150,7 +150,7 @@ spec:
|
||||
CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}"
|
||||
BASH_ENV: "/usr/local/bin/git-cf-access-init.sh"
|
||||
extra_hosts:
|
||||
- "gitea.git.svc.cluster.local:10.43.1.53"
|
||||
- "gitea.git.svc.cluster.local:10.43.15.98"
|
||||
EOF
|
||||
envFrom:
|
||||
- secretRef:
|
||||
|
||||
Reference in New Issue
Block a user