-
Notifications
You must be signed in to change notification settings - Fork 222
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-0045: When Expressions in Finally Tasks #317
Conversation
/assign @pritidesai |
16c6333
to
5e5ff7c
Compare
5e5ff7c
to
56b6b0b
Compare
56b6b0b
to
bee880c
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.
Adding this feature makes sense to me and composes well with the existing access Finally tasks get to results and status. 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbwsg 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 |
thanks @jerop This looks good in proposed state. Please add more design details while making it implementable.
This also makes me think |
bee880c
to
262ce4c
Compare
e4abd7d
to
bf680b7
Compare
thanks for the reviews @sbwsg & @pritidesai!! 🙏🏾
I've added more details about using
Yes, in both scenarios, they'd be skipped and added to the community/teps/0045-reusability-and-guarding-of-tasks-finally.md Lines 232 to 234 in bf680b7
@pritidesai, what do you think of I'd say the same argument about |
Users can guard execution of `Tasks` using `WhenExpressions`, but that is not supported in `Finally Tasks`. This TEP describes the need for supporting `WhenExpressions` in `Finally Tasks` not only to provide efficient guarded execution but also to improve the reusability of `Tasks`. Given we've recently added support for `Results` and `Status` in `Finally Tasks`, this is an opportune time to enable `WhenExpressions` in `Finally Tasks`.
bf680b7
to
9cefbba
Compare
thanks @jerop, we could add more relevant examples for using task results and params with when expressions but its not blocking this proposal. Thanks for all the updates 🙏 /lgtm |
…ntable We proposed supporting WhenExpressions in Finally Tasks in tektoncd#317, and the TEP has a proposed status now TEP: https://github.com/tektoncd/community/blob/master/teps/0045-whenexpressions-in-finally-tasks.md In this PR, we want to change TEP status to implementable and provide modify the examples provided for using `Results` and `Parameters`
…ntable We proposed supporting WhenExpressions in Finally Tasks in tektoncd#317, and the TEP has a proposed status now TEP: https://github.com/tektoncd/community/blob/master/teps/0045-whenexpressions-in-finally-tasks.md In this PR, we want to change TEP status to implementable and update the examples provided for using `Results` and `Parameters`
…ntable We proposed supporting WhenExpressions in Finally Tasks in tektoncd#317, and the TEP has a proposed status now TEP: https://github.com/tektoncd/community/blob/master/teps/0045-whenexpressions-in-finally-tasks.md In this PR, we want to change TEP status to implementable and update the examples provided for using `Execution Status`, `Results` and `Parameters`
…ntable We proposed supporting WhenExpressions in Finally Tasks in tektoncd#317, and the TEP has a proposed status now TEP: https://github.com/tektoncd/community/blob/master/teps/0045-whenexpressions-in-finally-tasks.md In this PR, we want to change TEP status to implementable and update the examples provided for using `Execution Status`, `Results` and `Parameters`
…ntable We proposed supporting WhenExpressions in Finally Tasks in #317, and the TEP has a proposed status now TEP: https://github.com/tektoncd/community/blob/master/teps/0045-whenexpressions-in-finally-tasks.md In this PR, we want to change TEP status to implementable and update the examples provided for using `Execution Status`, `Results` and `Parameters`
Users can guard execution of
Tasks
usingWhenExpressions
,but that is not supported in
Finally Tasks
.This TEP describes the need for supporting
WhenExpressions
inFinally Tasks
not only to provide efficient guarded executionbut also to improve the reusability of
Tasks
.Given we've recently added support for
Results
andStatus
inFinally Tasks
, this is an opportune time to enableWhenExpressions
in
Finally Tasks
./kind tep
/cc @pritidesai @bobcatfish @sbwsg