libcstor follows a monthly release cadence. The scope of the release is determined by contributor availability. The scope is published in the Release Tracker Projects).
Every release has release candidate builds that are created starting from the third week into the release. These release candidate builds help to freeze the scope and maintain the quality of the release. The release candidate builds will go through:
- Platform Verification
- Regression and Feature Verification Automated tests.
- Exploratory testing by QA engineers
- Strict security scanners on the container images
- Upgrade from previous releases
- Beta testing by users on issues that they are interested in.
- Dogfooding on OpenEBS workload and e2e infrastructure clusters.
If any issues are found during the above stages, they are fixed and a new release candidate builds are generated.
Once all the above tests are completed, a main release tagged image is published.
libcstor is released as a container image with a versioned tag.
Before creating a release, the repo owner needs to create a separate branch from the active branch, which is develop
. Name of the branch should follow the naming convention of v.1.9.x
if release is for v1.9.0.
Once the release branch is created, changelog from changelogs/unreleased
needs to be moved to release specific folder changelogs/v1.9.x
, if release branch is v1.10.x
then folder will be changelogs/v1.10.x
.
The format of the release tag is either "Release-Name-RC1" or "Release-Name" depending on whether the tag is a release candidate or a release. (Example: v1.9.0-RC1 is a GitHub release tag for libcstor release build. v1.9.0 is the release tag that is created after the release criteria are satisfied by the libcstor builds.)
Once the release is triggered, Travis build process has to be monitored. Once Travis build is passed images are pushed to docker hub and quay.io. Images can be verified by going through docker hub and quay.io. Also the images shouldn't have any high level vulnerabilities.
Images are published at the following location: For AMD64:
https://quay.io/repository/openebs/cstor-pool?tab=tags
https://hub.docker.com/r/openebs/cstor-pool/tags
For ARM64:
https://quay.io/repository/openebs/cstor-pool-arm64?tab=tags
https://hub.docker.com/r/openebs/cstor-pool-arm64/tags
Once a release is created, update the release description with the changelog mentioned in folder changelog/v1.9.x
. Once the changelogs are updated in the release, the repo owner needs to create a PR to develop
with the following details:
- update the changelog from folder
changelog/v1.9.x
to filelibcstor/CHANGELOG-v1.9.md
- If a release is an RC tag then PR should include the changes to remove the changelog from folder
changelog/v1.9.x
which are already mentioned inlibcstor/CHANGELOG-v1.9.md
as part of step number 1. - If a release is not an RC tag then
- PR should include the changes to remove files from
changelog/v1.9.x
folder. - PR should update the root CHANGELOG file with contents of file
libcstor/CHANGELOG-v1.9.md
- PR should include the changes to remove files from
Format of the libcstor/CHANGELOG-v1.9.md
file must be as below:
1.9.0 / 2020-04-14
========================
* added new command listsnap under zfs to list the snapshots for dataset from cache ([#49](https://github.com/openebs/libcstor/pull/49),[@vishnuitta](https://github.com/vishnuitta))
1.9.0-RC1 / 2020-04-07
========================
* added new command listsnap under zfs to list the snapshots for dataset from cache ([#49](https://github.com/openebs/libcstor/pull/49),[@vishnuitta](https://github.com/vishnuitta))