Skip to content

How to deploy to staging

For auxillary services (e.g. codebloom-standup-bot, codebloom-leetcode-auth-stealer-service), these are deployed to staging automatically on push.

The main codebloom application, however, is not. The instructions to deploy are as seen below:

  1. Make a PR with your changes

  2. Wait for CI to complete

  3. wait for this message specifically: img

  4. Clone k8s-manifests to your local machine

  5. Make a change under base/staging/codebloom/kustomization.yaml; specifically, modify images[0].newTag to point to the tag from the PR message.

  6. Make a PR in k8s-manifests. You do not need approval to deploy to staging. Wait until this PR check turns green:

  7. img

  8. Once that check turns green, simply create a PR comment that says /merge. Within a minute or two, the PR should be merged by pat-agent.

Happy deploying!