In the rc-yyyy.x branch, edit the release notes and do the following (firefly/docs/release-notes.md):
- Start a new section for this release
- Move over any notes from firefly/docs/next-release-details.md
- Reset firefly/docs/next-release-details.md (you can see what a reset looks like by looking at the last release)
- After looking at milestone tags, make sure all the important changes are included in the notes.
- Make sure you edit the docker tags section of this release
- Update the "Pull Request for this release section" change the text and the URLs for all PR and bug fixes
gradle :firefly:test
- Commit your changes - example message: "Release 2024.1.0: document updates"
- Push your changes
- Tagging:
buildScript/next-release-tag.shnext-releaase-tag.shwill tag and push- Tags are make in the form
rc-yyyy.mbranch with the releaserelease-yyyy.m.r
- Tags are make in the form
- Example:
- the second release from branch
rc-2024.1with the git tagged withrelease-2024.1.1 git tag release-2024.1.1
- the second release from branch
- the script will also create docker tag for the next step
- Best to use Jenkins: https://irsajenkins.ipac.caltech.edu/job/firefly/build
- Build the docker images with Jenkins
- Important -
buildscript/next-releaase-tag.shshould produce the docker tags - just cut and paste them - it wil prouce the following docker tags:rc-yyyy.m,yyyy.m,yyyy.m.r,latest(comma-separated without spaces) - example: from the example above the release would be built with:
rc-2024.3,2024.3,2024.3.1,latest BUILD_ENV: Select 'ops'ACTION: Select 'both'DEPLOY_ENV: Select 'ops' to have this release deploy tofireflyops.ipac.caltech.edu- notes:
- the
rc-yyyy.mdocker tag does not represent the release, it is just the most recent build of the branch - the
yyyy.mdocker tag always represents the latest release of the version - the
latesttag is always the latest formal release. (note- development release usenightly)
- the
Try in the firefly dev build you just made
- merge rc into dev, use
--no-ffto create a new commitgit checkout devgit merge --no-ff <rc-branch>
- Add the new dev cycle tag, but only if you just did the
.0release- Important: Only do this step if this on
.0releases. - For example- if you just did the
2024.2.0do this step. If you just did the2024.2.1skip this step.
- Important: Only do this step if this on
- Tag the dev branch with the new cycle with the form -
cycle-yyyy.x - For example- If you just did the 2024.1.0 release, and we are beginning work on the 2024.2 cycle:
- on the dev branch
git tag cycle-2024.2
- add any improvements to this file
- commit and push dev, example message - "Post 2024.2 release: dev clean up"
git push origin dev
- Go to the Firefly page on docker hub. https://cloud.docker.com/u/ipac/repository/docker/ipac/firefly
- Edit the markdown to include the recent tags
- The text should use the release-page-template.md
- After using the template, copy the markdown (for this release only) from the release-notes.md - paste markdown at the end of the template