/
TEST and PROD Deployment Procedures
TEST and PROD Deployment Procedures
TEST
- Checkout the deploy-test branch from github
- if you already have it checked out, do a 'git pull' to get the latest
- Checkout the uh-its-tenure-project from github
- if you already have it checked out, do a 'git pull' to get the latest
- In uh-its-tenure-project
- run database scripts, if any
- the latest script folder will have a _notes.txt file that lists what files have been executed on test and prod
- run database scripts, if any
- In deploy-test folder
- merge with master
- 'git merge --ff-only master'
- --ff-only makes sure that only new updates to master can be directly added to the tip of deploy-test
- 'git merge --ff-only master'
- 'git push'
- merge with master
- In Jenkins
- execute 'tenure-deploy-test' job
PROD
- Checkout the deploy-prod branch from github
- if you already have it checked out, do a 'git pull' to get the latest
- Checkout the uh-its-tenure-project from github
- if you already have it checked out, do a 'git pull' to get the latest
- In uh-its-tenure-project
- run database scripts, if any
- the latest script folder will have a _notes.txt file that lists what files have been executed on test and prod
- run database scripts, if any
- In deploy-prod folder
- merge with deploy-test
- 'git merge --ff-only deploy-test'
- --ff-only makes sure that only new updates to master can be directly added to the tip of deploy-prod
- 'git merge --ff-only deploy-test'
- 'git push'
- merge with deploy-test
- In Jenkins
- execute 'tenure-deploy-prod' job
, multiple selections available,