From ad49d9f9e9fd4e99580f64a0c458a5cd98e674d2 Mon Sep 17 00:00:00 2001 From: tegwick Date: Thu, 9 Jul 2026 11:59:08 +0200 Subject: [PATCH] Migrate deploy image refs to Forgejo (RAIL-HO-WP-0006) --- docs/deployment/staging-profile.md | 8 ++++---- k8s/railiance-production/20-runtime.yaml | 4 ++-- k8s/railiance-production/README.md | 8 ++++---- k8s/railiance-staging/20-runtime.yaml | 4 ++-- k8s/railiance-staging/README.md | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/deployment/staging-profile.md b/docs/deployment/staging-profile.md index 270e29b..4d5dbf3 100644 --- a/docs/deployment/staging-profile.md +++ b/docs/deployment/staging-profile.md @@ -57,7 +57,7 @@ Cluster migration path: kubectl -n core-hub-staging delete job core-hub-staging-migrate --ignore-not-found kubectl apply -f k8s/railiance-staging/20-runtime.yaml kubectl -n core-hub-staging set image job/core-hub-staging-migrate \ - migrate=gitea.coulomb.social/coulomb/core-hub: + migrate=forgejo.coulomb.social/coulomb/core-hub: kubectl -n core-hub-staging wait --for=condition=complete \ job/core-hub-staging-migrate --timeout=180s ``` @@ -70,11 +70,11 @@ smoke/test bootstraps only. Near-term service-repo image build: ```bash -IMAGE_REPOSITORY=gitea.coulomb.social/coulomb/core-hub \ +IMAGE_REPOSITORY=forgejo.coulomb.social/coulomb/core-hub \ IMAGE_TAG=$(git rev-parse --short HEAD) \ make container-build -docker push gitea.coulomb.social/coulomb/core-hub:$(git rev-parse --short HEAD) +docker push forgejo.coulomb.social/coulomb/core-hub:$(git rev-parse --short HEAD) ``` Railiance-style deploy skeleton: @@ -84,7 +84,7 @@ kubectl apply -f k8s/railiance-staging/00-namespace.yaml kubectl -n core-hub-staging get secret core-hub-staging-env kubectl apply -f k8s/railiance-staging/20-runtime.yaml kubectl -n core-hub-staging set image deploy/core-hub-api \ - api=gitea.coulomb.social/coulomb/core-hub: + api=forgejo.coulomb.social/coulomb/core-hub: kubectl -n core-hub-staging rollout status deploy/core-hub-api --timeout=180s ``` diff --git a/k8s/railiance-production/20-runtime.yaml b/k8s/railiance-production/20-runtime.yaml index f19a822..d3a318f 100644 --- a/k8s/railiance-production/20-runtime.yaml +++ b/k8s/railiance-production/20-runtime.yaml @@ -34,7 +34,7 @@ spec: restartPolicy: Never containers: - name: migrate - image: gitea.coulomb.social/coulomb/core-hub:production-placeholder + image: forgejo.coulomb.social/coulomb/core-hub:production-placeholder imagePullPolicy: IfNotPresent command: ["alembic", "upgrade", "head"] envFrom: @@ -69,7 +69,7 @@ spec: spec: containers: - name: api - image: gitea.coulomb.social/coulomb/core-hub:production-placeholder + image: forgejo.coulomb.social/coulomb/core-hub:production-placeholder imagePullPolicy: IfNotPresent ports: - name: http diff --git a/k8s/railiance-production/README.md b/k8s/railiance-production/README.md index 8e51392..359c7fa 100644 --- a/k8s/railiance-production/README.md +++ b/k8s/railiance-production/README.md @@ -7,8 +7,8 @@ ingress still claims `hub.coulomb.social`. ```bash # 1. Image (operator: registry push) -IMAGE_REPOSITORY=gitea.coulomb.social/coulomb/core-hub IMAGE_TAG= make container-build -docker push gitea.coulomb.social/coulomb/core-hub: +IMAGE_REPOSITORY=forgejo.coulomb.social/coulomb/core-hub IMAGE_TAG= make container-build +docker push forgejo.coulomb.social/coulomb/core-hub: # 2. Prod DB + secret (operator: shared-DB DDL) # role core_hub / db core_hub on apps-pg; secret core-hub-prod-env with @@ -18,8 +18,8 @@ docker push gitea.coulomb.social/coulomb/core-hub: # 3. Deploy (no traffic yet) kubectl apply -f k8s/railiance-production/00-namespace.yaml kubectl apply -f k8s/railiance-production/20-runtime.yaml -kubectl -n core-hub set image job/core-hub-prod-migrate migrate=gitea.coulomb.social/coulomb/core-hub: -kubectl -n core-hub set image deploy/core-hub-api api=gitea.coulomb.social/coulomb/core-hub: +kubectl -n core-hub set image job/core-hub-prod-migrate migrate=forgejo.coulomb.social/coulomb/core-hub: +kubectl -n core-hub set image deploy/core-hub-api api=forgejo.coulomb.social/coulomb/core-hub: kubectl -n core-hub wait --for=condition=complete job/core-hub-prod-migrate --timeout=180s kubectl -n core-hub rollout status deploy/core-hub-api --timeout=180s diff --git a/k8s/railiance-staging/20-runtime.yaml b/k8s/railiance-staging/20-runtime.yaml index 1ff89b8..6bb0df5 100644 --- a/k8s/railiance-staging/20-runtime.yaml +++ b/k8s/railiance-staging/20-runtime.yaml @@ -34,7 +34,7 @@ spec: restartPolicy: Never containers: - name: migrate - image: gitea.coulomb.social/coulomb/core-hub:staging-placeholder + image: forgejo.coulomb.social/coulomb/core-hub:staging-placeholder imagePullPolicy: IfNotPresent command: ["alembic", "upgrade", "head"] envFrom: @@ -69,7 +69,7 @@ spec: spec: containers: - name: api - image: gitea.coulomb.social/coulomb/core-hub:staging-placeholder + image: forgejo.coulomb.social/coulomb/core-hub:staging-placeholder imagePullPolicy: IfNotPresent ports: - name: http diff --git a/k8s/railiance-staging/README.md b/k8s/railiance-staging/README.md index af683dc..9a8655a 100644 --- a/k8s/railiance-staging/README.md +++ b/k8s/railiance-staging/README.md @@ -26,7 +26,7 @@ Do not add plaintext secret values to these manifests. ## Image -The committed manifest uses `gitea.coulomb.social/coulomb/core-hub:staging-placeholder`. +The committed manifest uses `forgejo.coulomb.social/coulomb/core-hub:staging-placeholder`. Operators should patch or render the immutable image tag for the deployment and migration job before apply. @@ -37,11 +37,11 @@ kubectl apply -f k8s/railiance-staging/00-namespace.yaml kubectl -n core-hub-staging get secret core-hub-staging-env kubectl apply -f k8s/railiance-staging/20-runtime.yaml kubectl -n core-hub-staging set image job/core-hub-staging-migrate \ - migrate=gitea.coulomb.social/coulomb/core-hub: + migrate=forgejo.coulomb.social/coulomb/core-hub: kubectl -n core-hub-staging wait --for=condition=complete \ job/core-hub-staging-migrate --timeout=180s kubectl -n core-hub-staging set image deploy/core-hub-api \ - api=gitea.coulomb.social/coulomb/core-hub: + api=forgejo.coulomb.social/coulomb/core-hub: kubectl -n core-hub-staging rollout status deploy/core-hub-api --timeout=180s ```