Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nautilytics
Last active September 30, 2021 13:34
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 nautilytics/eb2baa933eb164111a872c72c73ac6eb to your computer and use it in GitHub Desktop.
Save nautilytics/eb2baa933eb164111a872c72c73ac6eb to your computer and use it in GitHub Desktop.

Deploy Data API

Deploy to Dev [Tuesdays]

cd ~/Documents/GitHub/premise/data-api # path for data-api repo
git checkout master
git pull
GH_TOKEN=<personal_access_token> yarn version --minor
git push

Make a note of the new TAG because we will be using in multiple places below

Go to Data Api Project and confirm the new version is up and running.

Deploy to QA [Tuesdays]

nvm use v12.22.1 && TAG=v0.17.0 yarn deploy:scheduler:qa
nvm use v12.22.1 && TAG=v0.17.0 yarn deploy:app:qa

Change log for QA (previous release to new release)

git log --pretty=format:"%h - %an - %s" v0.16.0..v0.17.0

Confluence for Release Notes

https://premisedata.atlassian.net/wiki/spaces/product/pages/1949859872/Portal+v1.43.0

  • Post to #release channel in Slack
  • Move affected tickets in Jira to Ready for QA status

Deploy to Prod [Thursdays]

nvm use v12.22.1 && TAG=v0.17.0 yarn deploy:scheduler:prod
nvm use v12.22.1 && TAG=v0.17.0 yarn deploy:app:prod

Deploy to Dev

cd ~/Documents/GitHub/premise/deployments # path for deployments repo
git pull
.travis/bin/promote.sh services web-proxy 4.0.438 qa

git commit -am 'Promoting web-proxy 4.0.438 to QA'
git push

Make a note of the new TAG because we will be using in multiple places below

Go to Ops Console Project and confirm the new version is up and running.

git log --pretty=format:"%h - %an - %s" premise-frontend-v3-4.0.438..premise-frontend-v3-4.0.439

Deploy to Prod (Tuesdays)

  • Ensure QA Team has signed off QA version
cd ~/Documents/GitHub/premise/deployments # path for deployments repo
git pull
.travis/bin/promote.sh services web-proxy 4.0.438 prod

git commit -am 'Promoting web-proxy 4.0.438 to Prod'
git push
  • Post to #release channel in Slack
  • Move affected tickets in Jira to Done status

Deploy to Dev

cd ~/Documents/GitHub/premise/client-portal # path for client portal repo
git checkout master
git pull
yarn version --minor
git push

Make a note of the new TAG because we will be using in multiple places below

Go to Portal Project and confirm the new version is up and running.

Deploy to QA

TAG=v1.43.0 yarn deploy:qa

Change log for QA (previous release to new release)

git log --pretty=format:"%h - %an - %s" v1.43.0..v1.44.0

Confluence for Release Notes

https://premisedata.atlassian.net/wiki/spaces/product/pages/1949859872/Portal+v1.43.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment