-
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
Allowing for actions to be taken in failure scenarios #1376
Comments
Allowing for actions to be taken in failure scenarios, we should support this with Resources or without, so having a way to say "this step needs to be run even if the previous step failed". |
I think @dibyom expressed a desire to work on this :D 🤞 |
We should aim to get this functionality (in some form...) into 0.11, prior to the beta release going out. This is so that people can give it a try and we can work out any bad wrinkles before the beta is cut. |
Removed from milestone - @dibyom to create follow up issues for the work to implement the design :D |
I read through the comments and the design doc and I can't find a mention of how timeouts are handled. My use case: I want to (a) collect task artifacts and (b) report status to github, using Finally tasks. One common reason for pipeline failure is timeout. In the case of a PipelineRun timing out, I would like to do both (a) and (b) once the individual non-final tasks have been stopped. |
Ping? The design doc says:
I'm still not clear: will my final task run if my pipelinerun times out after 1h? |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. 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. |
I'm creating this as an Epic to generally cover being able to express behaviour that should occur in a Pipeline when some part of the Pipeline fails. At the moment we have Conditions in Pipelines, but afaik you can't express "if previous Task failed" as of yet b/c a Task failing will halt execution (correct me if I'm wrong @dibyom !).
And if a Task fails, any PipelineResource output actions that would have occurred will not happen (see #1149).
The text was updated successfully, but these errors were encountered: