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
github: Misc improvements for the L4LB test suite #17005
Conversation
a7e0e77
to
a710680
Compare
1f8baa4
to
be5122f
Compare
Note: This has a |
@gandro Does this mean that for backports we will run the workflow from the main branch but not from a v1.10 backport branch? |
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.
Does this mean that for backports we will run the workflow from the main branch but not from a v1.10 backport branch?
Kinda both: the workflows for issue_comment
triggers must be present on the default branch (so yes, we can remove the backport label), however in the workflow itself the Set up job variables
step is responsible for fetching the actual PR where the comment was posted. The SHA of this PR is then used for retrieving the right Cilium image to run in the workflow, so it does run in the context of the backport branch :)
LGTM, some comments below! I am not familiar with bash
traps in the context of a GitHub workflow, did you try to manually fail the script while testing with the pull_request
trigger, to see if it hit the trap as expected?
be5122f
to
e2582b2
Compare
Don't trigger the job if a PR changes unrelated to the standalone L4LB files. Signed-off-by: Martynas Pumputis <m@lambda.lt>
@nbusseneau The trap will run in the context of the VM instance, so all fine here. |
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 once we fix the following 👍🏻
e2582b2
to
f6528dd
Compare
Signed-off-by: Martynas Pumputis <m@lambda.lt>
See commit msgs.
Fix #16832
Fix #16870
Fix #17002