Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.66 KB

ReleaseProcess.md

File metadata and controls

26 lines (23 loc) · 1.66 KB

Release process for OrderlyWeb

  1. Get the version of the OrderlyWeb repo that you want to release locally (typically the latest master branch).
  2. Tag and build the release log by running ./scripts/release/make-release.py This script will warn you if any tickets are merged in that are not "Ready to Deploy". It will prompt you to push the tag to git and to tag and push Docker images by running the tag_images script:
    1. Push the tag to git and check the build has passed in Teamcity
    2. Run ./scripts/release/tag_images.py tag latest to tag and push the release to the private registry.
  3. Deploy to the support machine(s) and test (see below for deployment instructions).
  4. When you are ready to publish the release, run ./scripts/release/tag_images.py publish latest to push the version-tagged images to the public registry, and also push a 'release' tag, which will always tag the latest published release.
  5. Deploy to production (see below).
  6. The script will have updated relevant YouTrack tickets' Fixed in build field. Update these to the 'Deployed' status.

Deploying to UAT / Science / Production

  1. Connect to the machine:
    • For uat or science, connect as the vagrant user: ssh vagrant@support.montagu (or ssh support.montagu and then sudo su vagrant && cd). Then run ./uat.sh or ./science.sh which will give you a shell inside the virtual machine.
    • For production, ssh -p 10022 montagu@production.montagu.dide.ic.ac.uk
  2. Navigate to montagu-orderly-web and follow the instructions here to deploy the release version.