-
Notifications
You must be signed in to change notification settings - Fork 197
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
chore: test the helm chart in the PR #829
Conversation
krol3
commented
Nov 24, 2021
- Run the testing helm chart in the PR (only 'deploy/helm/**')
- Separate the release chart in another job.
Codecov Report
@@ Coverage Diff @@
## main #829 +/- ##
==========================================
+ Coverage 65.61% 65.72% +0.10%
==========================================
Files 58 58
Lines 6460 6460
==========================================
+ Hits 4239 4246 +7
+ Misses 1791 1789 -2
+ Partials 430 425 -5
Continue to review full report at Codecov.
|
8d3e55c
to
f3980e7
Compare
f3980e7
to
c2db10c
Compare
@danielpacak please validate the idea of test the manifest of the helm in the PR, if make sense. |
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.
Thank you for working on this @krol3 ! I think it's great idea to test the Helm chart as part of our build pipeline.
We have already grouped all checks related to pull requests in a single file called .github/worflow/build.yaml
so I'd add such job in there and run it after all integration tests passed for few reasons:
- If tests fail we gonna restart build anyway so doing all these Helm checks would be wasteful.
- Maybe not in scope of this PR but ... after creating a Helm release it would be very nice to run actual integration tests to see the the operator deployed with Helm really works (not just that Helm release was created).
- We'd like to get rid of the
workflow_dispatch
event and publish to Helm repository (and MkDocs) when the release workflow is complete.
c2db10c
to
91023c8
Compare
91023c8
to
5cef6e1
Compare
@danielpacak the "Test Helm Chart" was moved to the build job. |
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
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.
Thanks for working on this @krol3 I just slightly updated the workflow to run Helm chart tests only after integration tests passed (as suggested in my previous review) 🍀 🌏 .