-
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
Not necessary to require all three pipelinerun.spec.timeouts fields #5849
Comments
Thanks for filing @marniks7! I think this is intended behavior. If you'd like for your timeout to apply only to the "tasks" section of the pipeline and for your finally tasks to never time out, you can use:
|
Hi @lbernick , Despite docs and your example
This works, however I don't know what will be in case of timeouts.tasks >
Based on
Config which doesn't work:
and config which works. What is the use case for such difference to exist?
|
Thanks for following up! In #5460, we added the ability to specify only timeouts.finally or timeouts.tasks, and this is available as of v0.40.0. Thanks for pointing out the yaml I provided doesn't quite work, sorry about that. Here's what does (just tried it out):
However I think if we support this syntax we also should support this:
so I'll reopen (and retitle). I also agree with you that you shouldn't necessarily have to specify I also opened #6171 to update our docs. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
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. |
Expected Behavior
I expect for
finally
block to be executed whenPipelineRunTimeout
From the docs
timeout is error scenario
Actual Behavior
finally
block is NOT executedSteps to Reproduce the Problem
Additional Info
The text was updated successfully, but these errors were encountered: