Skip to content
Richard Ramsden edited this page Jan 22, 2020 · 3 revisions

Frozen Deployments

Barcelona uses CloudFormation to handle deployments. Sometimes when deploying to staging or production it might freeze if you provide the wrong version hash e.g. bcn deploy -e staging --tag $COMMIT_HASH. The deploy will eventually timeout, but sometimes you don't want to wait around for the deployment to finish.

Solution

  1. Login and go to services menu and select "Cloud Formation"
  2. Look for the cloud formation template that says UPDATE_IN_PROGRESS
  3. Select it and click "Actions -> Cancel Update"
  4. Formation template will rollback to previous template and say ROLLBACK_IN_POGRESS

Note, you will need to wait several minutes for the rollback to complete before deploying again.

Clone this wiki locally