-
Notifications
You must be signed in to change notification settings - Fork 1.8k
PodTemplate param substitution on TaskRunSpecs to enable multi-arch builds with Matrix #8599
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
Conversation
/kind feature |
The following is the coverage report on the affected files.
|
/assign |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
Ok, I pushed up some updates to this for tests as well as param substitution on all podTemplate fields (at least where it made sense. Bool and Int fields I have left out). Not sure if I covered all the needed areas for testing, let me know. @chmouel @waveywaves Would you be able to take another look at this? |
The following is the coverage report on the affected files.
|
e2e tests passed except for an error with my example pipeline where it (assumedly) needed to be in the beta folder. Waiting on retest to confirm that worked |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
thanks @waveywaves, that retest didn't seem to work for some reason however |
/retest |
1 similar comment
/retest |
/ok-to-test |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afrittoli, vdemeester 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 |
@waveywaves I'll let you lgtm since you requested changes on the PR 🙏 |
/lgtm |
Changes
This PR originally aimed to enable simpler multi-arch builds with Matrix by adding PodTemplate to Tasks (originally prompted by #6742). After some discussion, it now aims to do the same thing by adding param substitution on nodeSelector fields in TaskRunSpecs in a PipelineRun.
The current changes do work to accomplish this goal, with an example PipelineRun as below working:
Feedback appreciated, thanks!
Fixes #6742
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes