From bec28f90146d89f0cdea143acaae4078c89afa3f Mon Sep 17 00:00:00 2001 From: Mathias Date: Tue, 16 Jun 2026 23:22:07 +0200 Subject: [PATCH] fix(cd): point registry/patch/verify refs at git.d-ma.be after host rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The gitea.d-ma.be→git.d-ma.be rename moved the infra deployment manifests, but cd.yml still sed-patched 'gitea.d-ma.be/mathias/ingestion:' — which no longer matches, so the patch produced no change and 'git commit' failed under set -e, wedging all deploys (image stuck at e8dbcf6). Repoint the registry image refs, the infra-patch sed patterns, and the rollout-verify EXPECTED values to git.d-ma.be (same registry backend). SSH alias + INFRA_REPO left as-is. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitea/workflows/cd.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/cd.yml b/.gitea/workflows/cd.yml index c48ff30..f040081 100644 --- a/.gitea/workflows/cd.yml +++ b/.gitea/workflows/cd.yml @@ -13,8 +13,8 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' }} environment: staging env: - INGESTION_IMAGE: gitea.d-ma.be/mathias/ingestion - ROUTING_IMAGE: gitea.d-ma.be/mathias/routing + INGESTION_IMAGE: git.d-ma.be/mathias/ingestion + ROUTING_IMAGE: git.d-ma.be/mathias/routing INFRA_REPO: git@gitea.d-ma.be:mathias/infra.git BUILDKIT_HOST: unix:///run/buildkit/buildkitd.sock steps: @@ -78,10 +78,10 @@ jobs: cd /tmp/infra-update - sed -i "s|gitea.d-ma.be/mathias/ingestion:.*|gitea.d-ma.be/mathias/ingestion:${IMAGE_TAG}|" \ + sed -i "s|git.d-ma.be/mathias/ingestion:.*|git.d-ma.be/mathias/ingestion:${IMAGE_TAG}|" \ "k3s/apps/supervisor/ingestion-deployment.yaml" - sed -i "s|gitea.d-ma.be/mathias/routing:.*|gitea.d-ma.be/mathias/routing:${IMAGE_TAG}|" \ + sed -i "s|git.d-ma.be/mathias/routing:.*|git.d-ma.be/mathias/routing:${IMAGE_TAG}|" \ "k3s/apps/routing/deployment.yaml" git config user.email "cd-bot@d-ma.be" @@ -103,7 +103,7 @@ jobs: - name: Wait for Flux to apply new ingestion image run: | - EXPECTED="gitea.d-ma.be/mathias/ingestion:${{ github.sha }}" + EXPECTED="git.d-ma.be/mathias/ingestion:${{ github.sha }}" for i in $(seq 1 60); do CURRENT=$(kubectl get deploy ingestion -n supervisor \ -o jsonpath='{.spec.template.spec.containers[0].image}' 2>/dev/null || echo "") @@ -135,7 +135,7 @@ jobs: - name: Wait for Flux to apply new routing image run: | - EXPECTED="gitea.d-ma.be/mathias/routing:${{ github.sha }}" + EXPECTED="git.d-ma.be/mathias/routing:${{ github.sha }}" for i in $(seq 1 60); do CURRENT=$(kubectl get deploy routing -n routing \ -o jsonpath='{.spec.template.spec.containers[0].image}' 2>/dev/null || echo "")