diff --git a/tasks/verify-definition/0.1/verify-definition.yaml b/tasks/verify-definition/0.1/verify-definition.yaml index 04dcdcf..2bd02d0 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:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 command: [ec] args: - version - name: validate workingDir: "$(workspaces.output.path)" - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 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 02d3f20..9fa7b7b 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:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 command: [ec] args: - version - name: initialize-tuf - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 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:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 command: [ec] args: - validate @@ -167,10 +167,6 @@ spec: - "--output" - "appstudio=$(results.TEST_OUTPUT.path)" - "--output" - - "data=$(params.HOMEDIR)/data.yaml" - - "--output" - - "attestation=$(params.HOMEDIR)/attestations.jsonl" - - "--output" - "json=$(params.HOMEDIR)/report-json.json" env: - name: SSL_CERT_DIR @@ -194,33 +190,23 @@ spec: limits: memory: 2Gi - name: report - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 command: [cat] args: - "$(params.HOMEDIR)/report.yaml" - - name: data - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 - command: [cat] - args: - - "$(params.HOMEDIR)/data.yaml" - - name: attestations - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 - command: [cat] - args: - - "$(params.HOMEDIR)/attestations.jsonl" - name: report-json - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 command: [cat] args: - "$(params.HOMEDIR)/report-json.json" - name: summary - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 command: [jq] args: - "." - "$(results.TEST_OUTPUT.path)" - name: assert - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b989393918be0784651d2a7795894a505fae12f6936e88ed9669786720ec9876 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:33be4031a3316a46db3559a4d8566bc22f9d4d491d262d699614f32f35b45b67 command: [jq] args: - "--argjson"