-
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
PipelineRun cleanup and cancelation #2452
Comments
Yes, there is an issue about creating such a CronJob in tektoncd/experimental#479 This comes up often. We could document that Tekton does not currently have functionality for this. Also related #2332 |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Issues go stale after 90d of inactivity. /lifecycle stale 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. |
To be able to cleanup old (finished) PipelineRuns, do I need to create some custom cronjob to do so? Or is there any other native way of cleaning it (some sort of PipelineRun retention policy)?
The same question is for with pipeline cancelation: a PipelineRun triggered by EventListener (let's say it's testing github PR). To cancel first PipelineRun (still running) when another PipelineRun of the same type was triggered, do I need to do it manually (eg. using kubectl from inside task using method from https://tekton.dev/docs/pipelines/pipelineruns/#cancelling-a-pipelinerun)? Or is there some native way using special parameters?
Some Pipelines need to be executed as single at a time (due to eg. shared volumes, etc.).
/kind question
/kind feature
The text was updated successfully, but these errors were encountered: