From 7901ff8f89f89391a53a6116abaf50102983412d Mon Sep 17 00:00:00 2001 From: lcarva Date: Mon, 18 Sep 2023 09:01:37 +0000 Subject: [PATCH] sync ec-cli task definitions --- .../verify-definition/0.1/verify-definition.yaml | 4 ++-- .../0.1/verify-enterprise-contract.yaml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tasks/verify-definition/0.1/verify-definition.yaml b/tasks/verify-definition/0.1/verify-definition.yaml index e10468d..ef9191f 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:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f command: [ec] args: - version - name: validate workingDir: "$(workspaces.output.path)" - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f 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 a5df650..746a406 100644 --- a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml +++ b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml @@ -121,12 +121,12 @@ spec: steps: - name: version - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f command: [ec] args: - version - name: initialize-tuf - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f script: |- set -euo pipefail @@ -142,7 +142,7 @@ spec: - name: TUF_MIRROR value: "$(params.TUF_MIRROR)" - name: validate - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f command: [ec] args: - validate @@ -181,28 +181,28 @@ spec: # will contain a trailing ":" - this is ok. value: "/tekton-custom-certs:/etc/ssl/certs:/etc/pki/tls/certs:/system/etc/security/cacerts:$(params.SSL_CERT_DIR)" - name: report - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f command: [cat] args: - "$(params.HOMEDIR)/report.yaml" - name: data - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f command: [cat] args: - "$(params.HOMEDIR)/data.yaml" - name: attestations - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f command: [cat] args: - "$(params.HOMEDIR)/attestations.jsonl" - name: summary - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f command: [jq] args: - "." - "$(results.TEST_OUTPUT.path)" - name: assert - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b0467f251082d9edc5f58f24c2de38c97a73853d15dc3d11b934c84a53249850 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:f3579ad17b0998dac100681bb55b4255ecc4754689a304d70c82f9f86927698f command: [jq] args: - "--argjson"