Skip to content

Conversation

michi-covalent
Copy link
Collaborator

@michi-covalent michi-covalent commented May 21, 2024

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.

@michi-covalent
Copy link
Collaborator Author

@michi-covalent michi-covalent marked this pull request as ready for review May 21, 2024 22:36
@michi-covalent michi-covalent requested a review from a team as a code owner May 21, 2024 22:36
@aanm aanm self-requested a review May 22, 2024 09:35
Copy link
Member

@aanm aanm left a 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.

@michi-covalent
Copy link
Collaborator Author

moving back to draft

@michi-covalent michi-covalent marked this pull request as draft May 28, 2024 23:32
@michi-covalent michi-covalent force-pushed the pr/michi/be-kind branch 9 times, most recently from cc923e1 to 57820f2 Compare May 29, 2024 00:28
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>
@michi-covalent michi-covalent changed the title Use Kind to deploy Cilium Validate Helm chart May 29, 2024
@michi-covalent michi-covalent marked this pull request as ready for review May 29, 2024 00:45
@michi-covalent michi-covalent requested a review from aanm May 29, 2024 00:45
Copy link
Member

@aanm aanm left a 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.

@michi-covalent michi-covalent merged commit 3a7f889 into master May 29, 2024
@michi-covalent michi-covalent deleted the pr/michi/be-kind branch May 29, 2024 22:20
michi-covalent added a commit to cilium/release that referenced this pull request May 29, 2024
- 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>
michi-covalent added a commit to cilium/release that referenced this pull request May 30, 2024
- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants