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

Automate blue/green updates for the browser/API #1645

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

sjahl
Copy link
Contributor

@sjahl sjahl commented Oct 25, 2024

Still testing/in-progress, but I needed to push this somewhere to start triggering builds.

The way I intend for this to work going forward:

  1. Blue and Green deployment definitions live over in https://github.com/broadinstitute/gnomad-deployments
  2. PR to change the browser/API is approved and merged in this repo
  3. API/Browser Docker build starts
  4. On build success, update either blue or green kustomize overlays (whichever is currently not active)
  5. push that change to gnomad-deployments main

After verifying that the changes look good, developer runs a blue/green swap cloudbuild action to redirect the prod traffic. Rollback can be done by re-running that job.

@sjahl sjahl self-assigned this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant