-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: enhance pull_request workflow #557
ci: enhance pull_request workflow #557
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #557 +/- ##
========================================
Coverage 99.53% 99.53%
========================================
Files 1 1
Lines 431 431
========================================
Hits 429 429
Misses 1 1
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify the chart version, it should be of the format x.y+1.0-develop. If it’s anything else, the workflow fails. From now on any change to the helm chart in the PR would not need a helm version change. Users are not supposed to change the chart version in their PRs, even if it’s a helm change.
Just a few question on above : You mentioned the format should be "x.y+1.0-develop"
a) That means we will not be releasing any patch versions ?
b) Why do we have to even increment y (y+1) ?
Yes we would be releasing patch versions.
Once a release is made, develop becomes the vNext. The patch releases are done from release/x.y branches. Now whenever a release let's say |
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
410d5bc
to
3bf61bc
Compare
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
e2593dd
to
d25fa76
Compare
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
d25fa76
to
09c6dfb
Compare
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
b4989b3
to
a7db2b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The chart-release workflow might run as soon as this PR is merged, due to the helm chart change. We might want to disable that workflow. Temporarily removing the on
YAML body (with a comment) could be enough.
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
Done. Also wondering would it be a good idea to disable the build.yml workflow. |
IMO we should let the build workflow run because there's WIP PRs and contributions coming in and contributors might want to work with their built develop branch images. |
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
* ci: enhance pull_request workflow Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: use ct via nix-shell, Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: add the csi-driver step Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * fix: the release regex Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: remove test.test binary Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: add gitignore entry for .test files Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * fix: remove redundant die method Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * fix: set analytics to be disabled on ci Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * fix: shebang, condition check, script input Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: move zfs env setup inside nix Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: get IMAGE_TAG from chart Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * ci: disable the chart releaser workflow temporarily Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: don't use yq for extracting version in Makefile Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> --------- Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
* ci: enhance pull_request workflow (#557) * ci: enhance pull_request workflow Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: use ct via nix-shell, Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: add the csi-driver step Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * fix: the release regex Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: remove test.test binary Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: add gitignore entry for .test files Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * fix: remove redundant die method Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * fix: set analytics to be disabled on ci Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * fix: shebang, condition check, script input Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: move zfs env setup inside nix Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: get IMAGE_TAG from chart Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * ci: disable the chart releaser workflow temporarily Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: don't use yq for extracting version in Makefile Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> --------- Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: replace CRD with auto-generated copy (#564) Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> * ci: enhance build.yml workflow Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * ci: add branch preparation and release CI changes (#567) Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: cleanup unused scripts, update make manifests (#569) * chore: cleanup unused scripts, update make manifets Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: generate operator from helm template Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * ci: add manifests and codegen validation in pull request Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: add comments on the generate-manifests script Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: generate zfs-operator by disabling helm labels Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> --------- Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> * chore: set version to prerelease Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> --------- Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com> Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> Co-authored-by: Niladri Halder <niladri.halder26@gmail.com>
Workflow in detail