Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(deploy): switching cluster context #1278

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/deployments/deploying-updated-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Otherwise, skip creating a new chart and update the docker image used by alterin
- Assign yourself to the task you are about to deploy, should currently be in "Deploy to Staging"
- Let the team know you are planning to deploy by sharing the pull-request about to be deployed (mention it in mattermost)
- Make sure you are using the latest version of the `main` wbaas-deploy code
- Switch to the appropriate cluster context: `kubectl config use-context gke_wikibase-cloud_europe-west3-a_wbaas-2`
- run `make diff` and check there are no changes to be applied to either staging or production. If there are then this means that someone else might be deploying at the same time. It could also mean that last time someone touched the clusters they forgot to keep them in sync with thie repository. STOP DEPLOYING and communicate with the team.
- Rebase the pull request you want to deploy onto main. e.g. `git rebase add-concept-uri-staging`
- Run `make diff-production` and check there are no changes to the production cluster.
Expand All @@ -51,6 +52,7 @@ Otherwise, skip creating a new chart and update the docker image used by alterin
- Assign yourself to the task you are about to deploy, should currently be in "Deploy to production"
- Let the team know you are planning to deploy by sharing the pull-request about to be deployed (mention it in mattermost)
- Make sure you are using the latest version of the `main` wbaas-deploy code
- Switch to the appropriate cluster context: `kubectl config use-context gke_wikibase-cloud_europe-west3-a_wbaas-3`
- run `make diff` and check there are no changes to be applied to either staging or production. If there are then this means that someone else might be deploying at the same time. It could also mean that last time someone touched the clusters they forgot to keep them in sync with thie repository. STOP DEPLOYING and communicate with the team.
- Rebase the pull request you want to deploy onto main. e.g. `git rebase add-concept-uri-scheme-production`
- Run `make diff-staging` and check there are no changes to the staging cluster.
Expand Down