-
Notifications
You must be signed in to change notification settings - Fork 729
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
Remove string to boolean expression conversion for node's labels #1767
Conversation
This allows the use of any boolean expression (can contain other logical operators not only AND). The variables file requires the labels to be provided as boolean expressions instead of strings (space separated labels) for multiple labels. It also checks first if the NODE is passed as argument. [ci skip] Signed-off-by: Violeta Sebe <[email protected]>
@jdekonin please review |
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
@pshipton please review |
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.
Won't this require an update to all the labels in the variable file?
Perhaps we should combine the change with the change needed to update to the Adopt label schema (#1562)
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.
Ahh, nevermind, we only currently use one label so we don't have any &&
at the moment.
@pshipton ready for review, thank you! |
This allows the use of any boolean expression (can contain other logical
operators not only AND). The variables file requires the labels to be
provided as boolean expressions instead of strings (space separated
labels) for multiple labels.
It also checks first if the NODE is passed as argument.
[ci skip]
Signed-off-by: Violeta Sebe [email protected]