Skip to content

Automated deploys

Nick Watts edited this page May 24, 2022 · 4 revisions

Terra's deploys are handled by CircleCI.

Dev

Dev is deployed after every merge. Branches are deployed if they have an open PR.

CircleCI configuration: https://github.com/DataBiosphere/terra-ui/blob/dev/.circleci/config.yml

Prod

Prod is deployed every weekday morning, by finding the artifact in Circle from the most recent Dev deploy.

CircleCI configuration: https://github.com/DataBiosphere/saturn-ui-prod-deploy/blob/dev/.circleci/config.yml

Preventing scheduled deploys (prod)

  1. Go to the environment variables page in Circle for the prod deploy repo and create a variable called PREVENT_DEPLOY with the value true. As long as this variable exists with that value, scheduled prod deploys will not happen.
  2. Create a ticket on the Terra-UI Sprint board titled "re-enable prod deploys" so that we are tracking that someone needs to turn prod back on by deleting the PREVENT_DEPLOY variable.
Clone this wiki locally