- Prepare release PR:
- Pull the changes in the helm-charts sub module folder to get the latest main.
cd helm-charts && git pull origin main
.
- Update any changing versions in release.json.
- Ensure that the release notes are up to date for this release.
- Run
python scripts/ci/update_release.py
to update the relevant yaml manifests. - Copy
CRD
s to Helm Chartcp config/crd/bases/mongodbcommunity.mongodb.com_mongodbcommunity.yaml helm-charts/charts/community-operator-crds/templates/mongodbcommunity.mongodb.com_mongodbcommunity.yaml
- commit changes to the helm-charts submodule and create a PR against it (similar to this one).
- do not merge helm-charts PR until release PR is merged and the images are pushed to quay.io.
- Commit all changes
- Create a PR with the title
Release MongoDB Kubernetes Operator v<operator-version>
(the title must match this pattern). - Wait for the tests to pass and merge the PR.
- Upon approval, all new images for this release will be built and released, and a GitHub release draft will be created.
- Dockerfiles for mongodb-kubernetes-operator and mongodb-agent will be uploaded to S3 to be used by daily rebuild process in the enterprise repo.
- Review and publish the new GitHub release draft, that was prepared
- Upon approval, all new images for this release will be built and released, and a GitHub release draft will be created.
- Merge helm-charts PR and update submodule to the latest commit on
main
branch. - Create a new PR with only bump to the helm-chart submodule, similar to this. The commit here should match the master commit in the
helm-charts
repository. - Add the new released operator version to the enterprise release.json file.
- Pull the changes in the helm-charts sub module folder to get the latest main.