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:
-
Make a PR with your changes
-
Wait for CI to complete
-
wait for this message specifically:
-
Clone
k8s-manifeststo your local machine -
Make a change under
base/staging/codebloom/kustomization.yaml; specifically, modifyimages[0].newTagto point to the tag from the PR message. -
Make a PR in
k8s-manifests. You do not need approval to deploy to staging. Wait until this PR check turns green: -
-
Once that check turns green, simply create a PR comment that says
/merge. Within a minute or two, the PR should be merged bypat-agent.
Happy deploying!