Skip to content

Manual deploys to production

Nick Watts edited this page Jan 13, 2023 · 10 revisions
  1. Try going to the CircleCI page for the saturn-ui-prod-deploy repo, clicking the latest deploy job, and hitting "Rerun workflow" in the top right. Note that the commit to dev needs to have the build-deploy workflow pass in CircleCI for the deploy-prod workflow to promote it.
image

WARNING!!!

The instructions below are untested. After a failed deploy, I added the cp config/prod.json build/config.json command based on inspection of the CircleCI config. If you need to use these instructions, be very careful to test, and be ready to rollback if it doesn't work. -Brian Reilly

  1. If that doesn't work (CircleCI is down, etc), follow the deploy steps from the config files linked above:
    $ yarn install
    $ yarn build
    $ cp config/prod.json build/config.json
    $ gcloud app deploy --project=bvdp-saturn-prod --promote --quiet
  2. If you don't have permission for either of these steps, find someone who does. Seek out someone from @DataBiosphere/SaturnDeployers or @DataBiosphere/broadadmin.
Clone this wiki locally