Created
April 28, 2014 05:06
-
-
Save eedeep/11362246 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Obviously for an actual release, replace <release tag> with actual release tag, eg. r41 | |
# On deploying machine, get fabfile up to date | |
git fetch origin | |
git checkout master | |
git merge origin/master | |
# ASIA | |
tsocks fab set_agents:celeryasia,asia deploy_celery mark_deployed:<release tag> | |
tsocks fab set_agents:appasia,asia deploy_apps mark_deployed:<release tag> | |
# US | |
tsocks fab set_agents:celeryus,us deploy_celery mark_deployed:<release tag> | |
tsocks fab set_agents:appus,us deploy_apps mark_deployed:<release tag> | |
# FACT | |
tsocks fab set_agents:celeryfact,fact deploy_celery mark_deployed:<release tag> | |
tsocks fab set_agents:appfact,fact deploy_apps mark_deployed:<release tag> | |
# ANZ | |
tsocks fab set_agents:celeryanz,anz deploy_celery mark_deployed:<release tag> | |
tsocks fab set_agents:appanz,anz deploy_apps mark_deployed:<release tag> | |
# Wait until everything is "confirmed good" and then, | |
# once the green light has been given, | |
# generate new AMIs for all regions | |
tsocks fab logstash generate_amis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment