Last active
October 6, 2015 04:26
-
-
Save thekindofme/8590eb979e7b481e94bf to your computer and use it in GitHub Desktop.
Production Release/Hotfix Steps for app and www
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
# | |
# Release | |
# | |
git checkout develop | |
git-smart-pull | |
git checkout master | |
git-smart-pull | |
git flow release start 2015.02.23.1 | |
# | |
# bump version | |
# echo 2015.02.23.1 > version.rb for APP | |
# echo 2015.02.23.1 > VERSION for WWW | |
# | |
#commit stuff | |
# | |
git flow release finish 2015.02.23.1 | |
git checkout develop | |
git push origin develop | |
git checkout master | |
git push origin master | |
git push --tags | |
git checkout develop | |
# | |
# Hotfix | |
# | |
git checkout develop | |
git-smart-pull | |
git checkout master | |
git-smart-pull | |
git flow hotfix start 2015.02.23.1 | |
# | |
# bump version | |
# echo 2015.02.23.1 > version.rb for APP | |
# echo 2015.02.23.1 > VERSION for WWW | |
# | |
# CHEERY-PICK or COMMIT | |
# | |
git flow hotfix finish 2015.02.23.1 | |
git checkout develop | |
git push origin develop | |
git checkout master | |
git push origin master | |
git push --tags | |
git checkout develop | |
# | |
# Ansible create and deploy | |
# | |
ansible-playbook --extra-vars '{"APP_ENV":"production","GIT_BRANCH":"2015.02.23.1"}' lp_webapp_create_ami.yml -vvvv && ansible-playbook --extra-vars '{"APP_ENV":"prodcution","GIT_BRANCH":"2015.02.23.1"}' lp_webapp_deploy_ami.yml -vvvv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You might also want to add the version bumping
echo 2014.12.04.2 > version.rb
for APPecho 2014.12.04.2 > VERSION
for WWW