Migrate deploy image refs to Forgejo (RAIL-HO-WP-0006)
All checks were successful
CI Smoke / host-smoke (push) Successful in 2s
CI Smoke / container-smoke (push) Successful in 22s

This commit is contained in:
tegwick 2026-07-09 11:59:08 +02:00
parent 8c1f71e66c
commit ad49d9f9e9
5 changed files with 15 additions and 15 deletions

View file

@ -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=<sha> make container-build
docker push gitea.coulomb.social/coulomb/core-hub:<sha>
IMAGE_REPOSITORY=forgejo.coulomb.social/coulomb/core-hub IMAGE_TAG=<sha> make container-build
docker push forgejo.coulomb.social/coulomb/core-hub:<sha>
# 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:<sha>
# 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:<sha>
kubectl -n core-hub set image deploy/core-hub-api api=gitea.coulomb.social/coulomb/core-hub:<sha>
kubectl -n core-hub set image job/core-hub-prod-migrate migrate=forgejo.coulomb.social/coulomb/core-hub:<sha>
kubectl -n core-hub set image deploy/core-hub-api api=forgejo.coulomb.social/coulomb/core-hub:<sha>
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