Docs-site rollback
When to use this
Section titled “When to use this”A bad docs build (broken page, wrong copy, a regression only visible in production) is live at https://kestrel.arbutus.cloud.
How deploys work
Section titled “How deploys work”CI in uvic-rcs/kestrel-docs publishes the mutable main tag of git.computecanada.ca:4567/uvic-rcs/kestrel-docs. argocd-image-updater tracks it by digest and, for each new digest, opens a GitLab merge request against main of ubernetes-applications that sets image.tag in environments/arbutus/kestrel/kestrel-prod/docs/kestrel/values.yaml (since 2026-08-18). Nothing deploys until someone merges that MR.
If the updater’s MR for the bad build hasn’t been merged, nothing bad is live: don’t merge it, and fix forward in the docs repo.
Do not revert a merged updater commit: the updater sees the same digest still on main and opens a new MR for it.
Roll back with a revert
Section titled “Roll back with a revert”- In
uvic-rcs/kestrel-docs, revert the bad commit onmain(the Revert button in GitLab, orgit revert <sha>and push). - CI builds and publishes a new image under
main. - argocd-image-updater opens an MR with the new digest. Review and merge it.
- ArgoCD picks up the merge within its ~3-minute poll (or click Sync on
docs-kestrel) and rolls the Deployment. - Check
https://kestrel.arbutus.cloud.
Budget about 10 minutes for the CI build and the updater cycle, plus the time to merge the MR.
Fallback: pin the previous digest
Section titled “Fallback: pin the previous digest”Use this if docs CI is broken or the site must be fixed before a rebuild finishes. Disable the updater in the same change, or its next MR replaces your pin.
- Find the previous digest in the history of
environments/arbutus/kestrel/kestrel-prod/docs/kestrel/values.yaml. Eachbuild: automatic update of docs-kestrelcommit shows the digest it replaced. Images are immutable by digest, so it still exists in the registry unless a cleanup policy removed it. - In one MR against that file, set
imageUpdater.enabled: falseandimage.tag: main@sha256:<digest>. - Merge. ArgoCD deploys the pinned image.
- Once the docs repo is fixed, remove both overrides in a follow-up MR to hand
image.tagback to the updater.
Verify
Section titled “Verify”After the merge, docs-kestrel in ArgoCD goes OutOfSync → Syncing → Synced and the Pod is replaced. Hard-refresh the site to bypass your browser cache.
If the old content is still there after 5 minutes:
kubectl -n docs-kestrel get deployment kestrel-docs-site \ -o jsonpath='{.spec.template.spec.containers[*].image}' # the expected digestkubectl -n docs-kestrel get pods # a new Pod, Running 1/1kubectl -n argo-cd describe application docs-kestrel # no sync errors