-
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
TEP-0116: Referencing Finally Task Results in Pipeline Results #5170
Conversation
Hi @vsinghai. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/hold |
6ac6eee
to
7338321
Compare
/hold waiting for tektoncd/community#746 to be merged |
/ok-to-test |
Thank you @vsinghai for you 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.
Thanks @vsinghai!
Could you please update the commit message and the PR description to be more descriptive of the changes in this commit, e.g. "Add support for finally task results in pipeline results"? Please also make sure you add a commit message, and I think it would be helpful to update the PR description as well (the sentence "this issue will track implementation..." is confusing as part of a PR description).
Lastly, could you please add examples to the documentation of how this field can be used?
7992d3a
to
ed4e11c
Compare
The following is the coverage report on the affected files.
|
/test tekton-pipeline-unit-tests |
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.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/test pull-tekton-pipeline-alpha-integration-tests |
TestPipelineRunTimeout is a known flake - #3460 /test pull-tekton-pipeline-alpha-integration-tests |
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.
thanks @vsinghai 🎉
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerop 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 |
Prior to this commit, finally tasks can emit Results but results emitted from the finally tasks can not be configured in the Pipeline Results. In this commit, we add implementation for supporting finally tasks in Pipeline results, update documentation to reflect these changes, and add examples for the users to better understand the new feature being added. References [TEP-0116](tektoncd/community#746) /kind feature /cc @jerop
The following is the coverage report on the affected files.
|
/test tekton-pipeline-unit-tests |
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
WOOO |
Feature Request
This issue will track implementation of TEP-0116: Referencing Finally Task Results in Pipeline Results.
Changes
Previously,
finally
fields could not propagateResults
to
Pipeline
, whereasPipelineTasks
in theTasks
field could.To improve the parity between
finally
field andtasks
, thisissue supports referencing
Results
fromfinally
inPipeline Results
.This PR adds
finally
to thev1beta1
const
field, updates logic,adds unit tests to allow
$(finally.<pipelinetask-name>.result.<result-name>)
to be valid, adds validation, and updates documentation.
/kind feature
/cc @jerop
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes