Skip to content

Commit

Permalink
Merge pull request #1754 from ralphbean/timeout-param
Browse files Browse the repository at this point in the history
Add timeout param to ec validate tekton task
  • Loading branch information
zregvart authored Jul 9, 2024
2 parents 8849e48 + 1ea6a89 commit 0c8fa41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/modules/ROOT/pages/verify-enterprise-contract.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ paths can be provided by using the `:` separator.
+
*Default*: `now`
*EXTRA_RULE_DATA* (`string`):: Merge additional Rego variables into the policy data. Use syntax "key=value,key2=value2..."
*TIMEOUT* (`string`):: Timeout setting for `ec validate`.
+
*Default*: `5m0s`

== Results

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ spec:
description: Merge additional Rego variables into the policy data. Use syntax "key=value,key2=value2..."
default: ""

- name: TIMEOUT
type: string
description: Timeout setting for `ec validate`.
default: "5m0s"

workspaces:
- name: data
description: The workspace where the snapshot spec json file resides
Expand Down Expand Up @@ -171,6 +176,7 @@ spec:
- "--ignore-rekor=$(params.IGNORE_REKOR)"
# NOTE: The syntax below is required to negate boolean parameters
- "--info=$(params.INFO)"
- "--timeout=$(params.TIMEOUT)"
- "--strict=false"
- "--show-successes"
- "--effective-time=$(params.EFFECTIVE_TIME)"
Expand Down

0 comments on commit 0c8fa41

Please sign in to comment.