-
Notifications
You must be signed in to change notification settings - Fork 104
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
fix: Label handling #248
fix: Label handling #248
Conversation
Hi @embano1. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
@embano1 This looks great. Thanks for the awesome work.
I will ask for one favor though:
Can you update examples/skip_flags/README.md with the examples you have on the PR that shows the complex combination that is now supported!
Signed-off-by: Michael Gasch <[email protected]>
@vladimirvivien done! Formatted and added more details to the README for clarity. Also updated the test examples to show how multiple labels can be used. |
/ok-to-test |
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.
Thanks a lot for this and the doc update.
Leaving it as comment
for now so you can see my comment on the review.
/lgtm
|
||
There are several supported flags (for more accurate list, see package `pkg/flag`): |
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.
I support this removal.
But we probably need to put it in its own doc (i.e. docs/supported_flags.md
).
Maybe for now, open a new issue to have proper argument documentations.
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.
The reason I removed it as we have this already covered in the flags
example and this one is focused on labels
. But will add tracking issue.
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.
Ok, if already documented, no need for the tracking issue.
@vladimirvivien tide is still pending? |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: embano1, vladimirvivien The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Follow-up on #194 where the logic was still not correct in all cases. The behavior is now as expected: if
--labels
is specified all keys and values specified must match a feature. This allows for arbitrary and complex combinations of multiple features within one suite.For example:
Leads to the following outcomes with different
--labels
:Passing no
--labels
of course works as expectedAlso works in combination with
--skip-labels