-
Notifications
You must be signed in to change notification settings - Fork 20
Validate Helm chart #125
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
Validate Helm chart #125
Conversation
51cbdf6
to
c584393
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.
As discussed offline, we only need a e2e to test if the helm charts are available. Thus, something as:
helm repo update
helm cilium/cilium --version X.Y.Z
helm template ... | grep <image sha that was released>
should be sufficent.
moving back to draft |
cc923e1
to
57820f2
Compare
Running cilium connectivity test is a bit of an overkill for Helm chart validation at this point. Let's do this instead: - For pull request trigger, validate that relevant image tags in the new chart match the chart version. I think this is a good sanity check to run before publishing the chart. - For push trigger, download the published chart from helm.cilium.io and run the same validation. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
57820f2
to
915c3cc
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.
LGTM, the suggestion from Joe makes sense to me.
- Point to RELEASE.md instead of generate_helm_release.sh. RELEASE.md contains instructions for using the script. - conformance-gke.yaml has been replaced by validate-cilium-chart.yaml. Ref: cilium/charts#114 Ref: cilium/charts#125 Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
- Point to RELEASE.md instead of generate_helm_release.sh. RELEASE.md contains instructions for using the script. - conformance-gke.yaml has been replaced by validate-cilium-chart.yaml. Ref: cilium/charts#114 Ref: cilium/charts#125 Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Running cilium connectivity test is a bit of an overkill for Helm chart
validation at this point. Let's do this instead:
chart match the chart version. I think this is a good sanity check to
run before publishing the chart.
run the same validation.