source: docs/deploy.txt

space-accessstablestage
Last change on this file was 43d4ccb, checked in by Alex Dehnert <adehnert@…>, 13 years ago

Update deploy docs to mention stage branch

  • Property mode set to 100644
File size: 943 bytes
Line 
1Deploying a new version of the ASA database:
2* Skim the changes (git log stable..master)
3    * verify they're reasonable to deploy
4    * make sure any Trac tickets (http://asa.scripts.mit.edu/trac/query) have been marked resolved if applicable
5* Draft email to asa-db-core-stakeholders
6    git log --oneline stable..master
7    git log stable..master > /tmp/commits.txt       # attach
8    Summarize any interesting changes
9* run locally:
10    * One of the below, depending on whether you've developed beyond what's approved for release:
11        git checkout stable && git merge master && git checkout master
12        git checkout stable && git merge --ff-only stage && git checkout stage && git merge --ff-only master && git checkout master
13    * Push to the server
14        git push origin master stage stable
15* run on server
16    git pull --ff-only
17    ./manage.py migrate
18* verify that changes happened and it looks mostly sane
19* send the email
Note: See TracBrowser for help on using the repository browser.