Skip to content

Deploying

Isaac Zarsky edited this page Mar 18, 2019 · 11 revisions

Terra's deploys are handled by CircleCI.

Dev

Dev is deployed after every merge. Branches are deployed if they have an open PR.
These deploy processes are documented here, including requirements of passing tests.

Prod

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

Manual deploys (prod)

  1. Try going to the circle page for the deploy repo, clicking the latest deploy job, and hitting "Rerun workflow" in the top right.
  2. If that doesn't work (Circle is down, etc), follow the deploy steps from the config files linked above:
    $ npm install
    $ npm run build
    $ gcloud app deploy --project=bvdp-saturn-prod --promote --quiet
  3. If you don't have permission for either of these steps, find someone who does.
Clone this wiki locally