-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add NodeSelectors to Build and BuildRun objects #1683
Add NodeSelectors to Build and BuildRun objects #1683
Conversation
bb9b45f
to
400afc1
Compare
hi @dorzel. We will check soon your PR, sorry for the delay. |
Ah, no problem and no rush at all. Looks like I have some test fixes to look into |
/kind feature |
Signed-off-by: Dylan Orzel <[email protected]>
e032fb6
to
2dc91e0
Compare
Signed-off-by: Dylan Orzel <[email protected]>
Signed-off-by: Dylan Orzel <[email protected]>
2dc91e0
to
bc98f8a
Compare
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SaschaSchwarze0 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 |
Hi @adambkaplan, would you be able to take a look now that we have tests passing? Thank you! |
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
This looks great! No blocking items from me, let's bring this in!
if len(taskRunNodeSelector) > 0 { | ||
expectedTaskRun.Spec.PodTemplate = &pod.PodTemplate{ | ||
NodeSelector: taskRunNodeSelector, | ||
} | ||
} |
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.
style nit (not blocking): we should initialize the expectedTaskRun
pod template to an empty instance earlier than here. This will help when future contributors add the other parts of SHIP-0039.
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.
👍 nice test suite!
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.
👍 nice test suite!
Changes
Allows NodeSelector to be set on Build and BuildRun objects.
Fixes #1635
Submitter Checklist
See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes