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:
|
labels:
|
||||||
app: gitea-runner
|
app: gitea-runner
|
||||||
annotations:
|
annotations:
|
||||||
config-version: "2026-05-04-cf-access-public-url"
|
config-version: "2026-05-05-force-pull-ip-fix"
|
||||||
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-cf-access-public-url"
|
config-version: "2026-05-05-force-pull-ip-fix"
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
@@ -42,7 +42,7 @@ spec:
|
|||||||
container:
|
container:
|
||||||
network: host
|
network: host
|
||||||
docker_host: "unix:///var/run/docker.sock"
|
docker_host: "unix:///var/run/docker.sock"
|
||||||
force_pull: false
|
force_pull: true
|
||||||
valid_volumes: []
|
valid_volumes: []
|
||||||
default_image: "registry.neuralplatform.ai/ci-base:latest"
|
default_image: "registry.neuralplatform.ai/ci-base:latest"
|
||||||
# Build containers run with network: host. The in-cluster
|
# Build containers run with network: host. The in-cluster
|
||||||
@@ -56,7 +56,7 @@ spec:
|
|||||||
CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}"
|
CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}"
|
||||||
BASH_ENV: "/usr/local/bin/git-cf-access-init.sh"
|
BASH_ENV: "/usr/local/bin/git-cf-access-init.sh"
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "gitea.git.svc.cluster.local:10.43.1.53"
|
- "gitea.git.svc.cluster.local:10.43.15.98"
|
||||||
EOF
|
EOF
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
@@ -102,7 +102,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: neuron-technologies-runner
|
app: neuron-technologies-runner
|
||||||
annotations:
|
annotations:
|
||||||
config-version: "2026-05-04-cf-access-public-url"
|
config-version: "2026-05-05-force-pull-ip-fix"
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
@@ -113,7 +113,7 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: neuron-technologies-runner
|
app: neuron-technologies-runner
|
||||||
annotations:
|
annotations:
|
||||||
config-version: "2026-05-04-cf-access-public-url"
|
config-version: "2026-05-05-force-pull-ip-fix"
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
@@ -136,7 +136,7 @@ spec:
|
|||||||
container:
|
container:
|
||||||
network: host
|
network: host
|
||||||
docker_host: "unix:///var/run/docker.sock"
|
docker_host: "unix:///var/run/docker.sock"
|
||||||
force_pull: false
|
force_pull: true
|
||||||
valid_volumes: []
|
valid_volumes: []
|
||||||
default_image: "registry.neuralplatform.ai/ci-base:latest"
|
default_image: "registry.neuralplatform.ai/ci-base:latest"
|
||||||
# Build containers run with network: host. The in-cluster
|
# Build containers run with network: host. The in-cluster
|
||||||
@@ -150,7 +150,7 @@ spec:
|
|||||||
CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}"
|
CF_ACCESS_CLIENT_SECRET: "${CF_ACCESS_CLIENT_SECRET}"
|
||||||
BASH_ENV: "/usr/local/bin/git-cf-access-init.sh"
|
BASH_ENV: "/usr/local/bin/git-cf-access-init.sh"
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "gitea.git.svc.cluster.local:10.43.1.53"
|
- "gitea.git.svc.cluster.local:10.43.15.98"
|
||||||
EOF
|
EOF
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user