Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sesh/859166bd1cf48b71d8b3 to your computer and use it in GitHub Desktop.
Save sesh/859166bd1cf48b71d8b3 to your computer and use it in GitHub Desktop.
# 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>
# Clear footer2 cache for T-Bar image
http://staging-anz.aws.cottonon.com/admin/clear_cache/?template=footer2
# 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