Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Creating a release and deploying it

rtuck99 edited this page Apr 10, 2024 · 23 revisions

Pre-release

Before a release you should run all the system tests on your local machine.

Creating a release

  1. Make sure dodal has an up-to-date release by following the processes here.
  2. Run the pre-release workflow here. Click the "Run workflow" drop-down and enter the release version e.g. v9.2.0. The release versions should look like v{major}.{minor}.{patch}. See here if you're unsure on what the release version should be. Run the workflow.
  3. Go here and select the newly created draft release.
  4. You should now manually go through each line on the release notes and read it from the perspective of a beamline scientist. It should be clear from each what the change means to the beamline and should have links to easily find further info.
  5. Publish the release

Deciding release numbers

Releases should obviously be versioned higher than the previous latest release. Otherwise you should follow this guide:

  • Major - Changes that will break compatibility between GDA and Hyperion, large code rewrites
  • Minor - New features
  • Patch - Bug fixes

Deploying a release

Remember to discuss any new deployments with the appropriate beamline scientist. The utility_scripts/deploy/deploy_hyperion.py script will deploy the latest Hyperion version to a specified beamline. Deployments live in /dls_sw/ixx/software/bluesky/hyperion_vXXX. To do a new deployment you should run the deploy script from your Hyperion dev environment with e.g.

python ./utility_scripts/deploy/deploy_hyperion.py i03

If you want to test the script you can run:

python ./utility_scripts/deploy/deploy_hyperion.py dev

and a released version will be put in /scratch/30day_tmp/hyperion_release_test

Clone this wiki locally