Migrate deploy image refs to Forgejo (RAIL-HO-WP-0006)
This commit is contained in:
parent
8c1f71e66c
commit
ad49d9f9e9
5 changed files with 15 additions and 15 deletions
|
|
@ -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:<tag>
|
||||
migrate=forgejo.coulomb.social/coulomb/core-hub:<tag>
|
||||
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:<tag>
|
||||
api=forgejo.coulomb.social/coulomb/core-hub:<tag>
|
||||
kubectl -n core-hub-staging rollout status deploy/core-hub-api --timeout=180s
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue