-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 support for consuming whole array results in matrix #6603
Add support for consuming whole array results in matrix #6603
Conversation
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/assign |
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!!
Suggested release notes: "TEP-0090: Pipeline Tasks may now reference whole array results in a Matrix. See [link to docs] for more information."
ecdf383
to
4e707a2
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
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, just have the same question that Jerop does (everything else is minor). Also, the release notes formatting is a bit weird-- can you make sure the doc link is included between the backticks so it gets into the release notes?
pkg/reconciler/pipelinerun/resources/pipelinerunresolution_test.go
Outdated
Show resolved
Hide resolved
pkg/reconciler/pipelinerun/resources/pipelinerunresolution_test.go
Outdated
Show resolved
Hide resolved
4e707a2
to
4f1cdbe
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
4f1cdbe
to
7e5f686
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
7e5f686
to
97eba02
Compare
The following is the coverage report on the affected files.
|
c164f71
to
9bb9226
Compare
/unhold |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest-required |
pkg/reconciler/pipelinerun/resources/pipelinerunresolution_test.go
Outdated
Show resolved
Hide resolved
@@ -10443,6 +10600,373 @@ spec: | |||
} | |||
} | |||
|
|||
func TestReconciler_FailedPipelineTaskMatrixIdxResultsOutOfBounds(t *testing.T) { |
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.
Should this test be in this PR? 🤔
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.
5ea6147
to
b02bd60
Compare
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.
|
kind: TaskRun | ||
name: pr-echo-platforms-2 | ||
pipelineTaskName: echo-platforms | ||
provenance: |
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.
do we really need to compare the provenance/feature flags section here? Or can we ignore it in the comparison? (Otherwise, anytime we update a feature flag value we'd have to update this test making it brittle)
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.
@dibyom Added an ignoreProvenance flag
cc: @Yongxuanzhang
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom 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 |
This commit adds support for referencing whole array results produced by another PipelineTask as a matrix parameter value. This feature request is necessary before promoting Matrix to beta. For more details please see issue tektoncd#6110. This closes issue tektoncd#6602. Co-authored-by: Yongxuan Zhang <[email protected]>
b02bd60
to
f0e02ef
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.
/lgtm
Thanks!! @EmmaMunley
/meow |
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
Changes
This PR adds support for referencing whole array results produced by another PipelineTask as a matrix parameter value.
This feature request is necessary before promoting Matrix to beta.
For me details please see Issue #6110.
This closes issue #6602.
Co-authored-by: Yongxuan Zhang [email protected]
/kind feature
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