From 277cfc5ae451d86ff5adbcf4de6fcbebbab84c34 Mon Sep 17 00:00:00 2001 From: Simon Baird Date: Thu, 19 Dec 2024 15:16:51 -0500 Subject: [PATCH] Always run without a timeout in v-e-c task Ignore the TIMEOUT param. Mention in the param description that it's now ignored and deprecated. Ref: https://issues.redhat.com/browse/EC-1030 --- .../0.1/verify-enterprise-contract.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml index ebf738db5..07f2cd01f 100644 --- a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml +++ b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml @@ -127,8 +127,10 @@ spec: - name: TIMEOUT type: string - description: Timeout setting for `ec validate`. - default: "5m0s" + description: > + This param is deprecated and will be removed in future. Its value is ignored. EC will + be run without a timeout. (If you do want to apply a timeout use the Tekton task timeout.) + default: "" - name: WORKERS type: string @@ -224,7 +226,8 @@ spec: - "$(params.WORKERS)" # NOTE: The syntax below is required to negate boolean parameters - "--info=$(params.INFO)" - - "--timeout=$(params.TIMEOUT)" + # No timeout for EC, though Tekton may apply a timeout + - "--timeout=0" - "--strict=false" - "--show-successes" - "--effective-time=$(params.EFFECTIVE_TIME)"