Skip to content

Scholar@UC Environment Deployment Procedure

Thomas Scherz edited this page Nov 3, 2022 · 9 revisions

Dev server

  1. Create a tunnel: ssh 6+2@ssh-msb.ad.uc.edu -L 2222:SERVER_NAME:22
  2. Open new tab and cd ucrate
  3. Deploy: cap dev deploy
  4. Username: scholar
  5. Password: See https://github.com/uclibs/config_vault
  6. See https://git.uc.edu/UCLIBS/private_documentation/blob/master/Capistrano_Deploy.md for SERVER_NAME
  7. When the deployment is finished, check the log for errors.
  8. If you need to re-deploy, you will need to delete the /tmp/git-ssh-Scholar-dev-username.sh from SERVER_NAME
  9. Visit https://scholar-dev.uc.edu to verify the site is up.

QA server

  1. Review Risk Matrix : https://github.com/uclibs/scholar_uc/issues/203
  2. Create a tunnel to BOTH SERVERS: ssh 6+2@ssh-msb.ad.uc.edu -L 2222:SERVER_NAME_1:22 -L 2223:SERVER_NAME_2:22
  3. Open new tab and cd ucrate
  4. Deploy: cap qa deploy
  5. Username: scholar
  6. Password: See https://git.uc.edu/UCLIBS/config_vault/blob/master/scholar/scholar_accounts.md
  7. See https://git.uc.edu/UCLIBS/private_documentation/blob/master/Capistrano_Deploy.md for SERVER_NAME
  8. When the deployment is finished, check the log for errors.
  9. If you need to re-deploy, you will need to delete the /tmp/git-ssh-Scholar-dev-username.sh from both SERVER_NAME_1 and SERVER_NAME_2
  10. Visit https://scholar-qa.uc.edu to verify the site is up.
  11. If a Security scan against QA is needed, set date for request of Security scan to be the date of deploy to QA.
  12. Visit Service Now and request scan: https://ituc.service-now.com/sp?id=sc_cat_item&sys_id=7837d01c1bdb641047c6a6c6bc4bcbfb
  13. If a Service Now scan will take place, await results and determine if remediation is necessary before moving on to Production server.

Production server

  1. Visit UCIT Change Request: https://webapps2.uc.edu/ucit/changemgmt/ChangeManagementForm.aspx
  2. Wait for request approval. Once approval has been received, communicate date and time to stake holders.
  3. When the deployment is finished, check the log for errors.
  4. Visit https://scholar.uc.edu to verify the site is up.