For a MAJOR or MINOR release:
- Ensure that
codefresh(deps): bump subchartsPR has been merged tomain. This PR updates the Codefresh subchart versions inChart.yamlto the latest released versions. - Create a new
release-x.ybranch frommain, wherex.yis the new major or minor version number.
git checkout -b release-x.y mainNote! Just creating a release branch without any commits will NOT create release branches for dependent components (cf-api, cf-ui, argo-platform, etc)! Newly created
release-x.ybranch must be updated!
- Open a PR against
release-x.ybranch
git checkout -b update-release-x.y release-x.y- optional Update subchart versions in
Chart.yaml(if not already done incodefresh(deps): bump subchartsPR) - optional Update
values.yaml,templates/**files if required - Run
./scripts/update_re_images.shto update runtime images with latest from SAAS tovalues.yaml - Run
./scripts/helm-docs.shto updateREADME.mdfiles - Commit and push changes, trigger CI with
/testcomment, make sure all checks pass, then merge the PR - When the PR is merged, the release draft will be created automatically and
codefresh/x.y.z: prepare chart content for releasePR will be opened with the updated chart.versionandartifacthub.io/changesannotation.
Note! If more changes are required before the release, repeat the steps above by creating a new PR against
release-x.ybranch. Release will not be published untilcodefresh/x.y.z: prepare chart content for releasePR is merged!
- Review
codefresh/x.y.z: prepare chart content for releasePR. Updateartifacthub.io/changesannotation if needed. - Review and update release notes in the corresponding release draft on GitHub.
- Merge the PR to create a new release. Release will be published automatically.
- Update
versions.jsonat e2e-desired-state repository with the new release version with the correspondinggitops-runtimeversion (sync with FnM and Product team to get the correctgitops-runtimeversion)
For a PATCH release:
- Create a new branch from the corresponding
release-x.ybranch, wherex.yis the major and minor version numbers of the release.
git checkout -b patch/something release-x.y- Make necessary changes to the chart like updating versions of required dependencies in
Chart.yaml, updatingvalues.yaml,templates/**files if required and etc.
Note! If these changes are required for the next major or minor release, make sure to cherry-pick them to the
mainbranch as well with a separate PR.
- Commit and push changes, open a PR against
release-x.ybranch, trigger CI with/testcomment, make sure all checks pass, then merge the PR - When the PR is merged, the release draft will be created automatically with
codefresh/x.y.z: prepare chart content for releasePR - Review
codefresh/x.y.z: prepare chart content for releasePR. Updateartifacthub.io/changesannotation if needed. - Run
./scripts/helm-docs.shto updateREADME.mdfiles - Review and update release notes in the corresponding release draft on GitHub.
- Merge the PR to create a new release. Release will be published automatically.
- Every commit to
featbranches createsoci://quay.io/codefresh/dev/codefresh:0.0.0-<BRANCH_NAME_NORMALIZED>-<SHORT_SHA>helm chart - Every commit to
mainbranch createsoci://quay.io/codefresh/dev/codefresh:0.0.0-<SHORT_SHA>helm chart - Every commit to
release-x.ybranches createsoci://quay.io/codefresh/dev/codefresh:x.y.zhelm chart, wherex.y.zis release draft version - Every release publishes
oci://quay.io/codefresh/codefresh:x.y.zhelm chart, wherex.y.zis the released version