Skip to content

Instantly share code, notes, and snippets.

@phirework
Created September 3, 2014 21:40
Show Gist options
  • Save phirework/19c2c633e42cd3930418 to your computer and use it in GitHub Desktop.
Save phirework/19c2c633e42cd3930418 to your computer and use it in GitHub Desktop.
Graphite deployment steps
=== PREP
1. Make sure everyone has their work merged into QA
2. Make sure no one is using the QA server
=== DRY RUN PROCEDURE
1. Git steps
a. git checkout prod_currentversion (eg. prod_v2.5)
b. git pull origin
c. git branch prod_currentrelease (eg. prod_v2.6)
2. Acquia steps
a. move assets from prod server to stage server
b. deploy prod_currentrelease on stage server
c. move db from prod server to stage server
d. clear cache
3. Merge QA + prod
a. git checkout prod_currentrelease
b. git merge qa
c. git push
4. Drupal steps
a. ssh into server
b. whatever is in the release recipe: updatedb, feature-revert, pm-enable, etc
c. clear cache
d. click through and inspect visually
=== ACTUAL RELEASE
1. Check Google Analytics to make sure traffic load isn't super high
2. Put site in maintenance mode
3. Deploy branch prod_currentrelease on prod server
4. Do whatever is in the release recipe
5. Clear cache
6. Clear varnish
7. Click through and inspect visually
8. Take site out of maintenance mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment