Ability to specify a pipeline timeout for the pipeline and not only for the pipeline-run.
#6,625 opened on May 5, 2023
Repository metrics
- Stars
- (9,013 stars)
- PR merge metrics
- (PR metrics pending)
Description
Feature request
I would like to have the ability to specify the timeout for the pipeline in the pipeline definition and not only in the pipeline run.
Use case
In my cases the runtime of a pipeline is specific to the pipeline and not to the run instance (for every run the expected runtime is the same). We start our pipelines over the OpenShift user interface and there we don't have a opportunity to set a different timeout than the default timeout. But even if we would have this opportunity, it would not help us, since we don't want to specify a different timeout for different runs of the same pipeline. We want to use the same timeout, every time when we start the pipeline.
Therefore we think it would make sense to specify the timeout on the pipeline level, not on the pipeline run level. Maybe it would make sense to have some kind of hierarchy like: PipelineRun timeout overwrites Pipeline timeout Pipeline timeout overwrites default Pipeline timeout for the Cluster