Skip to content

Docs-site rollback

A bad docs build (broken page, wrong copy, a regression only visible in production) is live at https://kestrel.arbutus.cloud.

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.

  1. In uvic-rcs/kestrel-docs, revert the bad commit on main (the Revert button in GitLab, or git revert <sha> and push).
  2. CI builds and publishes a new image under main.
  3. argocd-image-updater opens an MR with the new digest. Review and merge it.
  4. ArgoCD picks up the merge within its ~3-minute poll (or click Sync on docs-kestrel) and rolls the Deployment.
  5. Check https://kestrel.arbutus.cloud.

Budget about 10 minutes for the CI build and the updater cycle, plus the time to merge the MR.

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.

  1. Find the previous digest in the history of environments/arbutus/kestrel/kestrel-prod/docs/kestrel/values.yaml. Each build: automatic update of docs-kestrel commit shows the digest it replaced. Images are immutable by digest, so it still exists in the registry unless a cleanup policy removed it.
  2. In one MR against that file, set imageUpdater.enabled: false and image.tag: main@sha256:<digest>.
  3. Merge. ArgoCD deploys the pinned image.
  4. Once the docs repo is fixed, remove both overrides in a follow-up MR to hand image.tag back to the updater.

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:

Terminal window
kubectl -n docs-kestrel get deployment kestrel-docs-site \
-o jsonpath='{.spec.template.spec.containers[*].image}' # the expected digest
kubectl -n docs-kestrel get pods # a new Pod, Running 1/1
kubectl -n argo-cd describe application docs-kestrel # no sync errors