/
TEST and PROD Deployment Procedures

TEST and PROD Deployment Procedures

TEST

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

PROD

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