PipelineRuns Cleanup

PipelineRuns Cleanups #

There can be many PipelineRuns into a user namespace and Pipelines-as-Code has the ability to only keep several PipelineRuns that matches an event.

For example if the PipelineRun has this annotation :

pipelinesascode.tekton.dev/max-keep-runs: "maxNumber"

Pipelines-as-Code sees this and will start cleaning up right after it finishes a successful execution keeping only the maxNumber of PipelineRuns.

It will skip the Running PipelineRuns but will not skip the PipelineRuns with Unknown status.

Calendar February 15, 2024
Edit Edit this page