Skip to content

Commit

Permalink
Make EC verify task timeout infinite
Browse files Browse the repository at this point in the history
Before this change, users could use the TIMEOUT param to increase their
timeout up from the 5m default, but they would hit a ceiling. If they
increased their timeout past 2h, then a tekton default on timeout for
the task itself would kick in.
  • Loading branch information
ralphbean committed Dec 4, 2024
1 parent 5c6cef4 commit b7e54db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipelines/enterprise-contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ spec:
value: "$(tasks.verify.results.TEST_OUTPUT)"
tasks:
- name: verify
# Timeout 0 is unlimited. Here, rely on pipeline timeout to kill this task eventually.
timeout: 0
params:
- name: POLICY_CONFIGURATION
value: "$(params.POLICY_CONFIGURATION)"
Expand Down

0 comments on commit b7e54db

Please sign in to comment.