Deploy guide · #13
Changes since #8 +11 −2
⋯ 16 unchanged lines
- Watch the deploy in `#ship-it`. The bot posts when the new build is live.
- Open the [[Service map]] dashboard and compare error rates for ten minutes.
+ - Queue depth should stay under 500. If it climbs, page whoever is on the [[On-call rota]].
- ## If something breaks
+ ## Rolling back
- Revert the merge commit and push. Then write it up, see [[Incident reviews]].
+ Revert the merge commit and push; the revert deploys like any other change. If the pipeline itself is broken:
+
+ ```bash
+ php artisan down --secret="halyard-ops"
+ ./deploy/rollback.sh --to=previous
+ php artisan up
+ ```
+
+ Then write it up within two working days, see [[Incident reviews]].