Skip to content

Instantly share code, notes, and snippets.

@kdeloach
Last active May 4, 2016 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdeloach/f78478666ae51ab1498801c3cddeb202 to your computer and use it in GitHub Desktop.
Save kdeloach/f78478666ae51ab1498801c3cddeb202 to your computer and use it in GitHub Desktop.
MMW hotfix 1.12.1

Steps we did to deploy the hotfix:

  • Branch off of master (hotfix/1.12.1)
  • Update and test code changes locally
  • Manually apply code changes to both app servers in production and restart gunicorn
  • Verify code changes in production
  • Push hotfix branch upstream
  • Build Jenkins jobs with paramaters (hotfix/1.12.1)
    • model-my-watershed-packer-app-and-worker
    • model-my-watershed-packer-tiler
  • We then realized that the AMIs could not be provisioned on Jenkins so we had to cherry-pick Ansible changes from develop and update the hotfix branch

(Hector took over at this point)

  • Verify changes on staging
  • Promote AMI to production
  • Update ASG LaunchConfiguration settings in CloudFormation template to use hotfix AMI
  • Cycle out app server instances
  • Merge hotfix/1.12.1 into master and develop
  • Tag master HEAD with release 1.12.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment