Skip to content

Handle Upgrades gracefully

We want to be able to gracefully handle upgrades to the CiviInstances. To do this, we should:

  1. In the current deployment for the instance, run a script to say the site is in maintenance
  2. Create a new deployment and run the upgrade script there
  3. Point the service at the new deployment
  4. In the new deployment run a script to take the site out of maintainence
  5. Delete the old deployment