Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

Summary of Our Community Environments: 

Dev EnvironmentQA EnvironmentProduction Environment

dev3.openmrs.org

Most recent committed dev work

test3.openmrs.org

Most Recent Release

o3.openmrs.org

A specific version of O3 RefApp release

Glossary

There are several types of releases:

Step 1: QA RELEASE:

FIRST, obtain squad permission/buy-in to do a release (e.g. announce on #openmrs3). THEN, in 1 PR, 2 Commits are needed: (Example)

  • Step 1.1) Create Release PR:
    • TO ADD VERSIONING: Release Commit: (release) Create release commit for beta.9' This fixes the version numbers. Because we don't want the test3 version to be deployed on dev3 because that could undo more recent changes. So, in dev3, we ignore any release with the string '(release'
    • TO PROTECT DEV3: Release-Revert Commit: (release-revert) Reset to dev versions Second Commit with release revert message that unsets the fixed version numbers. 
    • Why: Ensures 'main' branch gets back to state where it is still pointing at 'next', to preserve the cutting-edge state of the dev3 environment. 
  • Step 1.2) Add Tags
    • Tag Release Commit with a tag named after the version number, as shown in the tag list screenshot here:
  • Step 1.3) QA Release then Happens Automatically
    • The Tag triggers the QA Release, AND the auto-rebuilding of Test3. In our Bamboo CI, the Deployment project called "Distribution 3.x Releases" is only triggered by tags. 
  • Step 1.4) Announce test3 release & version number to community in #openmrs.

Step 2: Manual Checks

  1. Confirm that tests are passing satisfactorily in Test3. Using the O3 QA Spreadsheet is highly recommended, in addition to checking the automated tests. Go through both the Baseline Checklist and any checks specific to that release - so that new features get some review.  
  2. Remember: Keep an eye out for manual work that could be automated - we want to maximize how we use Automation and reduce manual overhead over time. 

Step 3: REFAPP RELEASE

Go to the Deployment Project, "Deploy Reference Application 3.x"  (under the "Deploy" option in the menu)

  1. Click the cloud icon for the QA build:

  2. "Create new release" → Use the last successful build, and name the release one version number higher than the last one.

4. Announce O3 Demo release & version number to community in #openmrs3 and on Talk. 


When we "Release O3", there are 3 major things to do: 

1) Release the O3 RefApp in GitHub here

2) Update the O3 RefApp Docker Containers

3) Push the new O3 RefApp release to our "production" environment, the O3 Demo


Note: You can see the history of releases here.

  • No labels