build icon indicating copy to clipboard operation
build copied to clipboard

SHIP-0039: Allow node selector on `Build` and `BuildRun` to be set

Open adambkaplan opened this issue 1 year ago • 7 comments

Feature

Add option to set nodeSelector on Build and BuildRun objects.

Part of implementation for SHIP-0039

adambkaplan avatar Jun 26 '24 17:06 adambkaplan

I would like to take this up and would love for any advice or resource to help with this issue.

aryan-py avatar Jul 12 '24 02:07 aryan-py

@aryan-py happy to fill in the details here!

  • Step "0" is to familiarize yourself with the Contributing Guide for writing pull requests. This will help a lot once it comes time to review your contribution.
  • Next, follow the Development guide to get your local environment set up to build and test the Build project.
  • To get started on the code, I also recommend you read the SHIP-0039 proposal to get the "big picture" of what the community wants to build. This issue covers one part (the node-selector field).
  • Once you think you're ready to get coding, I believe we'll want changes to be made in the following locations: -- pkg/apis/build/v1beta1: add the NodeSelector field to the Build and BuildRun spec objects. -- pkg/reconciler/buildrun/resources: Merge the node selectors for the Build and BuildRun object into a single map, and add them to the Tekton TaskRun generated here. Node selectors can be set on TaskRuns using the Pod Template field - they provide an example of how to do this with YAML here.

adambkaplan avatar Jul 12 '24 15:07 adambkaplan

You may also want to walk through some of the Tekton tutorials to understand how the builds are ultimately run.

adambkaplan avatar Jul 12 '24 15:07 adambkaplan

hey @adambkaplan I would be very happy to help you in this, It will help me understand more about shipwright and also help me learn more :) . @aryan-py if you're not planning to work or have been busy with any other task I would like to take this up. Thanks!

7h3-3mp7y-m4n avatar Jul 31 '24 09:07 7h3-3mp7y-m4n

Any progress on this, I would also be happy to help

giepa avatar Aug 12 '24 14:08 giepa

@aryan-py @7h3-3mp7y-m4n @giepa so far we have not received any pull requests for this feature. They are more than welcome.

Please don't wait for an explicit assignment on GitHub - go ahead and start contributing!

adambkaplan avatar Aug 12 '24 14:08 adambkaplan

Okay @adambkaplan . If I run into some problem I'll share it with you on slack, okay?

7h3-3mp7y-m4n avatar Aug 12 '24 18:08 7h3-3mp7y-m4n