Skip to content

v1.10: tests-l4lb: Use Helm chart from local branch #20004

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

Merged
merged 1 commit into from
May 30, 2022
Merged

Conversation

jibi
Copy link
Member

@jibi jibi commented May 30, 2022

In addition to the upstream (i.e. v1.10, v1.11 and master branches)
checkouts, checkout also the pull request branch so that test.sh uses
the local Helm chart from the pull request. This ensures that any
Helm-related changes get reflected in the CI run.

This PR includes only the changes related to test/l4lb/test.sh, as the
workflow is being updated on the master PR #19953.

In addition to the upstream (i.e. v1.10, v1.11 and master branches)
checkouts, checkout also the pull request branch so that test.sh uses
the local Helm chart from the pull request. This ensures that any
Helm-related changes get reflected in the CI run.

This PR includes only the changes related to test/l4lb/test.sh, as the
workflow is being updated on the master PR #19953.

Signed-off-by: Gilberto Bertin <jibi@cilium.io>
@jibi jibi requested a review from a team as a code owner May 30, 2022 09:31
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.10 kind/backports This PR provides functionality previously merged into master. labels May 30, 2022
Copy link
Member

@tklauser tklauser left a comment

Choose a reason for hiding this comment

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

Thanks

@jibi jibi added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 30, 2022
@jibi jibi merged commit aa410e4 into v1.10 May 30, 2022
@jibi jibi deleted the pr/jibi/110-l4lb-help branch May 30, 2022 10:25
jibi added a commit that referenced this pull request May 30, 2022
Passing ${{ github.workspace }}/pull-request to the init.sh script as
path of the PR checkout is incorrect, as inside the VM the repository
will be under a different path.

Instead of that, pass the correct absolute path for the PR checkout.

Moreover, checkout first the upstream repo (under cilium/cilium) and
only after that the PR one (under cilium/cilium/pull-request), as
otherwise the upstream checkout will nuke the directory with PR one.

This PR includes only the changes related to test/l4lb/test.sh, as the
workflow is being updated on the master PR #20007.

Fixes: #20004
Signed-off-by: Gilberto Bertin <jibi@cilium.io>
jibi added a commit that referenced this pull request May 30, 2022
Passing ${{ github.workspace }}/pull-request to the init.sh script as
path of the PR checkout is incorrect, as inside the VM the repository
will be under a different path.

Instead of that, pass the correct absolute path for the PR checkout.

Moreover, checkout first the upstream repo (under cilium/cilium) and
only after that the PR one (under cilium/cilium/pull-request), as
otherwise the upstream checkout will nuke the directory with PR one.

This PR includes only the changes related to test/l4lb/test.sh, as the
workflow is being updated on the master PR #20007.

Fixes: #20004
Signed-off-by: Gilberto Bertin <jibi@cilium.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants