From 5b9d602affd8d09d4ea39c4c1fd9ef97e6100b6f Mon Sep 17 00:00:00 2001 From: lcarva Date: Mon, 5 Aug 2024 09:01:34 +0000 Subject: [PATCH] sync ec-cli task definitions --- .../0.1/verify-definition.yaml | 4 ++-- .../0.1/verify-enterprise-contract.yaml | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tasks/verify-definition/0.1/verify-definition.yaml b/tasks/verify-definition/0.1/verify-definition.yaml index 9f3789f..2e32914 100644 --- a/tasks/verify-definition/0.1/verify-definition.yaml +++ b/tasks/verify-definition/0.1/verify-definition.yaml @@ -60,13 +60,13 @@ spec: value: "$(params.HOMEDIR)" steps: - name: version - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b command: [ec] args: - version - name: validate workingDir: "$(workspaces.output.path)" - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b command: [ec] args: - validate 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 09c4197..33535e3 100644 --- a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml +++ b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml @@ -152,7 +152,7 @@ spec: steps: - name: initialize-tuf - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b script: |- set -euo pipefail @@ -169,7 +169,7 @@ spec: value: "$(params.TUF_MIRROR)" - name: validate - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b onError: continue # progress even if the step fails so we can see the debug logs command: [ec] args: @@ -231,21 +231,21 @@ spec: readOnly: true - name: report - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b onError: continue # progress even if the step fails so we can see the debug logs command: [cat] args: - "$(params.HOMEDIR)/report.yaml" - name: report-json - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b onError: continue # progress even if the step fails so we can see the debug logs command: [cat] args: - "$(params.HOMEDIR)/report-json.json" - name: summary - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b onError: continue # progress even if the step fails so we can see the debug logs command: [jq] args: @@ -253,25 +253,25 @@ spec: - "$(results.TEST_OUTPUT.path)" - name: info - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b command: [printf] args: - "----- DEBUG OUTPUT -----\n" - name: version - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b command: [ec] args: - version - name: debug-log - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b command: [cat] args: - "$(params.HOMEDIR)/debug.log" - name: assert - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:662648a893b2403fe6604655a7c98dd561705865e29239198e18f689ee7ae242 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:39ef6bcdea8964bfc39d85bfbf60f7ba79aa9e5d65dafde9dcea7987b5b2b17b command: [jq] args: - "--argjson"