Skip to content
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: fix clustermesh worfklows on stable branches #25089

Merged
merged 1 commit into from Apr 27, 2023

Conversation

nbusseneau
Copy link
Member

The clustermesh workflows currently fail on stable branches as they expect .github/kind-config.yaml.tmpl to be present, but this file is only present on main.

It seems the template file is the only reason we need to checkout the repository, as we do not use any other file from the repository in subsequent steps, so we fix this by removing the checkout of the current branch since we already checkout the main branch in a prior step.

Thus, the template file on main is used for all worfkows.

@nbusseneau nbusseneau added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Apr 24, 2023
@giorio94
Copy link
Member

My fault, sorry for the inconvenience. The checkout step is required to retrieve the helm chart used during installation, but it can be moved after cluster creation.

@nbusseneau
Copy link
Member Author

CI passed: https://github.com/cilium/cilium/actions/runs/4788606197
Removing temporary test commit.

@nbusseneau nbusseneau marked this pull request as ready for review April 26, 2023 12:06
@nbusseneau nbusseneau requested review from a team as code owners April 26, 2023 12:06
@nbusseneau nbusseneau added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 26, 2023
@giorio94 giorio94 removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 26, 2023
The clustermesh workflows currently fail on stable branches as they
expect `.github/kind-config.yaml.tmpl` to be present, but this file is
only present on `main`.

We still need to checkout the branch code so as to retrieve the Helm
chart that will be used in the cluster via `cilium install`. We move the
checkout part just right before we install Cilium.

Thus, the Kind template file on `main` is used for all worfkows.

Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
Copy link
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nbusseneau
Copy link
Member Author

CI passed: https://github.com/cilium/cilium/actions/runs/4809296042
Removing temporary test commit.

@nbusseneau nbusseneau added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 26, 2023
@giorio94 giorio94 linked an issue Apr 27, 2023 that may be closed by this pull request
@pchaigno pchaigno merged commit 36237c2 into main Apr 27, 2023
42 of 43 checks passed
@pchaigno pchaigno deleted the pr/fix-clustermesh-stable branch April 27, 2023 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: conformance-clustermesh-v1.13 broken
4 participants