We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdf36c5 commit 9b63960Copy full SHA for 9b63960
examples/v1/pipelineruns/pipelinerun-with-task-timeout-override.yaml
@@ -21,8 +21,8 @@ spec:
21
script: |
22
#!/bin/sh
23
echo "- Pipeline task timeout: 60s (defined in pipeline spec)"
24
- echo "- TaskRunSpecs override: 20s (defined in pipelinerun spec)"
25
- echo "- Actual task duration: 10s (within 20s override timeout)"
+ echo "- TaskRunSpecs override: 40s (defined in pipelinerun spec)"
+ echo "- Actual task duration: 10s (within 40s override timeout)"
26
---
27
apiVersion: tekton.dev/v1
28
kind: Pipeline
@@ -50,4 +50,4 @@ spec:
50
name: taskrun-timeout-override
51
taskRunSpecs:
52
- pipelineTaskName: long-running-task
53
- timeout: "20s" # 20s timeout (can't actually test with a timeout lesser than 10s else the task fails)
+ timeout: "40s" # 40s timeout (accounts for image pull time + 10s sleep)
0 commit comments