CI: pull deploy image via public registry address
Build and Deploy Verso / deploy (push) Has been cancelled

The cluster nodes' containerd can only pull from registry.alocoq.fr, not
the in-cluster service name. Keep pushing via the in-cluster address (to
bypass the Traefik upload-timeout), but reference registry.alocoq.fr/verso
in the test Deployment and the rolling update. Both addresses front the
same registry storage, so the pushed image resolves at the public name.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
claude
2026-05-31 21:30:45 +00:00
parent 3af4e2f46a
commit 7c86657548
+6 -2
View File
@@ -225,7 +225,11 @@ jobs:
spec:
containers:
- name: verso
image: registry.git.svc.cluster.local:5000/verso:latest
# Pull via the public address: the cluster nodes' containerd
# is configured for registry.alocoq.fr, not the in-cluster
# service name. Both front the same registry storage, so the
# image pushed via the in-cluster address resolves here too.
image: registry.alocoq.fr/verso:latest
ports:
- containerPort: 80
env:
@@ -257,7 +261,7 @@ jobs:
- name: Deploy Verso image
run: |
kubectl -n test set image deployment/verso \
verso=registry.git.svc.cluster.local:5000/verso:latest
verso=registry.alocoq.fr/verso:latest
kubectl -n test rollout restart deployment/verso
kubectl -n test rollout status deployment/verso --timeout=300s