-
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
Be able to use when expressions in finally Tasks #3438
Comments
@jerop @pritidesai might be relevant to your interests! feel free to close if there is already an issue tracking this |
this is something we've been discussing as next steps after execution status and task results are supported in finally tasks but don't have an issue to track afaik, thanks for opening this...will assign myself /assign |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
actively working on this issue, wrote the WhenExpressions in Finally Tasks TEP and opened PR with the implementation of the TEP in #3738 /remove-lifecycle stale |
hey @jerop this is done, right? |
Feature request
To be able to combine when expressions with task execution status in finally tasks to be able to express when you want actions to happen in the case of the failure of another Task (without having to modify the Task to be aware of the success/failure case, e.g. use Tasks straight from the catalog).
Use case
From Andrew Johnson on slack:
For example, let's say we want to post to slack (using this slack catalog task when a certain Task in the Pipeline fails:
Andrew also describes how this has to be worked around when we do not have this feature:
This means that in order to get this functionality:
(1) and (2) would prevent a user from being able to use catalog Tasks as is for this use case
The text was updated successfully, but these errors were encountered: