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

Remove string to boolean expression conversion for node's labels #1767

Merged
merged 1 commit into from
Apr 26, 2018

Conversation

vsebe
Copy link
Contributor

@vsebe vsebe commented Apr 25, 2018

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 vsebe@ca.ibm.com

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 <vsebe@ca.ibm.com>
@vsebe
Copy link
Contributor Author

vsebe commented Apr 25, 2018

Build job
Test job

@vsebe
Copy link
Contributor Author

vsebe commented Apr 25, 2018

@jdekonin please review

Copy link
Contributor

@jdekonin jdekonin left a comment

Choose a reason for hiding this comment

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

lgtm

@vsebe
Copy link
Contributor Author

vsebe commented Apr 25, 2018

@pshipton please review

Copy link
Contributor

@AdamBrousseau AdamBrousseau left a 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)

Copy link
Contributor

@AdamBrousseau AdamBrousseau left a 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.

@vsebe
Copy link
Contributor Author

vsebe commented Apr 26, 2018

@pshipton ready for review, thank you!

@pshipton pshipton merged commit 7856008 into eclipse-openj9:master Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants