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
feat(ci): workflow to lint and test charts #73
Conversation
https://redhat-cop.github.io/ci/linting-testing-helm-charts.html
Seems like we can add partial |
I think the most obvious one is minimal and non-minimal. Testing the different networking types could be useful, but I'm not sure if it would test any different code paths with the current test. |
Should this be a separate issue when the test is updated then? |
I'm fine with that. For now minimal & non-minimal seems good. |
Updated to include minimal and non-minimal test scenarios :)) One thing: Partial value files under |
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.
Hey @tthvo, I noticed one small thing in the workflow file. Also do you have any test CI runs for this?
I think because it targets event https://github.com/cryostatio/cryostat-helm/actions/runs/5150101449/jobs/9273872792?pr=73 |
This PR CI just failed testing once: https://github.com/cryostatio/cryostat-helm/actions/runs/5179579235/attempts/1 but passed later. Might be flanky at times... |
Oh right! So used to the |
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.
I reran the checks a few more times and never encountered a failure. Maybe something weird due to the PR. Let's merge this and deal with it if we see it happen again. Thanks @tthvo!
* chore(chart): put cryostat chart into charts directory * feat(ci): workflow to lint and test charts https://redhat-cop.github.io/ci/linting-testing-helm-charts.html * feat(ci): add partial values for test scenarios * chore(ci): use ref name without sub (cherry picked from commit adeac87)
* chore(chart): put cryostat chart into charts directory * feat(ci): workflow to lint and test charts https://redhat-cop.github.io/ci/linting-testing-helm-charts.html * feat(ci): add partial values for test scenarios * chore(ci): use ref name without sub (cherry picked from commit adeac87) Co-authored-by: Thuan Vo <thvo@redhat.com>
Fixes #72
helm.sh/hook: test
undercharts/cryostat/templates/tests
).References: