From b9a7706d62187cff4a9c1fbffd78cfe161e35dae Mon Sep 17 00:00:00 2001 From: lcarva Date: Wed, 25 Sep 2024 09:01:42 +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 5cee091..9b88a3a 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:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba command: [ec] args: - version - name: validate workingDir: "$(workspaces.output.path)" - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba 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 5ba4d4d..9e59981 100644 --- a/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml +++ b/tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml @@ -171,7 +171,7 @@ spec: steps: - name: initialize-tuf - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba script: |- set -euo pipefail @@ -199,12 +199,12 @@ spec: value: $(params.SINGLE_COMPONENT_CUSTOM_RESOURCE_NS) - name: SNAPSHOT_PATH value: $(params.HOMEDIR)/snapshot.json - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba onError: continue # progress even if the step fails so we can see the debug logs command: [reduce-snapshot.sh] - name: validate - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba onError: continue # progress even if the step fails so we can see the debug logs command: [ec] args: @@ -264,14 +264,14 @@ spec: readOnly: true - name: report-json - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba 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:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba onError: continue # progress even if the step fails so we can see the debug logs command: [jq] args: @@ -279,25 +279,25 @@ spec: - "$(results.TEST_OUTPUT.path)" - name: info - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba command: [printf] args: - "----- DEBUG OUTPUT -----\n" - name: version - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba command: [ec] args: - version - name: debug-log - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba command: [cat] args: - "$(params.HOMEDIR)/debug.log" - name: assert - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:90e7bb4bf9b1eedcbd84874a79c591bfce3a9d07162946b76575757da0cffb0e + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:fbd1ecaab74470aed8ef70521482ad5d8593137f0aeba42f293014fc4663beba command: [jq] args: - "--argjson"