I have a problem where i need to trigger multiple Pipelinerun's at same time where the runs will take longer the 1 hour. The global timeout for the PipelineRun is 1 hours by default so it fails. The team managing the Openshift cluster does not want to change the global timeout so I have to override it in some way.
The resources I am using is an EventListener, TriggerBinding, TriggerTemplate, Pipeline and PipelineRun.
I have tried to set a timeout on the Pipeline tasks like:
runAfter:
- fetch-repository
taskRef:
kind: ClusterTask
name: buildah
timeout: "3h0m0s"
but the PipelineRun timeout seems to have precedence so it does not work.
- Openshift version: 4.9.35
- K8s version: v1.22.8
- Tekton seems to be installed with Openshift and cannot find which version but probably very new.
Any ideas?