From d3c6221817f909e30cf0c60a17b4963a039f0e99 Mon Sep 17 00:00:00 2001 From: lcarva Date: Thu, 17 Oct 2024 09:01:41 +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 dc51ac8..761e73a 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:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59@sha256:0b782a231665a0dd56e089b352dac00fff1367fbec73de6ac64496c0ea316af7@sha256:813060069514b8397467d3a4ff4ba01c63592e852607773693d6863a150a0c7b@sha256:813060069514b8397467d3a4ff4ba01c63592e852607773693d6863a150a0c7b@sha256:8eef3fd7d36692b630c85d6a491b8eb051bdcb2d33c9ead242814650e5edb1ff@sha256:8eef3fd7d36692b630c85d6a491b8eb051bdcb2d33c9ead242814650e5edb1ff@sha256:85645b346280393b17f89f49773eb88ca15d323c66bbb9be7233959c57330775@sha256:e01246eb815dc690b52859125283f79327153ad3ffe1eea510e9c83aa105094d@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:2504d9c7a6af1a744a6a5673c6e98bb50442f04a614dcac14c9c3ced066aadc4@sha256:5a95a09dbeb6f8195fb254a73f7f91a9a7dd687aeb09bab22ebe7a1788a0abcc@sha256:89f07353036aa0799d81adafcb1cab6895fd22e9ce8bdb7121f9fd3f8c0d1d3a + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98@sha256:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59@sha256:0b782a231665a0dd56e089b352dac00fff1367fbec73de6ac64496c0ea316af7@sha256:813060069514b8397467d3a4ff4ba01c63592e852607773693d6863a150a0c7b@sha256:813060069514b8397467d3a4ff4ba01c63592e852607773693d6863a150a0c7b@sha256:8eef3fd7d36692b630c85d6a491b8eb051bdcb2d33c9ead242814650e5edb1ff@sha256:8eef3fd7d36692b630c85d6a491b8eb051bdcb2d33c9ead242814650e5edb1ff@sha256:85645b346280393b17f89f49773eb88ca15d323c66bbb9be7233959c57330775@sha256:e01246eb815dc690b52859125283f79327153ad3ffe1eea510e9c83aa105094d@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:2504d9c7a6af1a744a6a5673c6e98bb50442f04a614dcac14c9c3ced066aadc4@sha256:5a95a09dbeb6f8195fb254a73f7f91a9a7dd687aeb09bab22ebe7a1788a0abcc@sha256:89f07353036aa0799d81adafcb1cab6895fd22e9ce8bdb7121f9fd3f8c0d1d3a command: [ec] args: - version - name: validate workingDir: "$(workspaces.output.path)" - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59@sha256:0b782a231665a0dd56e089b352dac00fff1367fbec73de6ac64496c0ea316af7@sha256:813060069514b8397467d3a4ff4ba01c63592e852607773693d6863a150a0c7b@sha256:813060069514b8397467d3a4ff4ba01c63592e852607773693d6863a150a0c7b@sha256:8eef3fd7d36692b630c85d6a491b8eb051bdcb2d33c9ead242814650e5edb1ff@sha256:8eef3fd7d36692b630c85d6a491b8eb051bdcb2d33c9ead242814650e5edb1ff@sha256:85645b346280393b17f89f49773eb88ca15d323c66bbb9be7233959c57330775@sha256:e01246eb815dc690b52859125283f79327153ad3ffe1eea510e9c83aa105094d@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:2504d9c7a6af1a744a6a5673c6e98bb50442f04a614dcac14c9c3ced066aadc4@sha256:5a95a09dbeb6f8195fb254a73f7f91a9a7dd687aeb09bab22ebe7a1788a0abcc@sha256:89f07353036aa0799d81adafcb1cab6895fd22e9ce8bdb7121f9fd3f8c0d1d3a + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98@sha256:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59@sha256:0b782a231665a0dd56e089b352dac00fff1367fbec73de6ac64496c0ea316af7@sha256:813060069514b8397467d3a4ff4ba01c63592e852607773693d6863a150a0c7b@sha256:813060069514b8397467d3a4ff4ba01c63592e852607773693d6863a150a0c7b@sha256:8eef3fd7d36692b630c85d6a491b8eb051bdcb2d33c9ead242814650e5edb1ff@sha256:8eef3fd7d36692b630c85d6a491b8eb051bdcb2d33c9ead242814650e5edb1ff@sha256:85645b346280393b17f89f49773eb88ca15d323c66bbb9be7233959c57330775@sha256:e01246eb815dc690b52859125283f79327153ad3ffe1eea510e9c83aa105094d@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:fc3d267aa00b073be380b4bf4669e1f2f35bdf01ce72604809871712eba4db91@sha256:2504d9c7a6af1a744a6a5673c6e98bb50442f04a614dcac14c9c3ced066aadc4@sha256:5a95a09dbeb6f8195fb254a73f7f91a9a7dd687aeb09bab22ebe7a1788a0abcc@sha256:89f07353036aa0799d81adafcb1cab6895fd22e9ce8bdb7121f9fd3f8c0d1d3a 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 c1e0d41..b860c59 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:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 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:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 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:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 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:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 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:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 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:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 command: [printf] args: - "----- DEBUG OUTPUT -----\n" - name: version - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 command: [ec] args: - version - name: debug-log - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 command: [cat] args: - "$(params.HOMEDIR)/debug.log" - name: assert - image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:996b9c6600aedb06d781490fd0692518eaf589becddc82b583770d9b80bc2a59 + image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:65daf80143adf3e797e447fc35515f37c13345735f253a246273210506514a98 command: [jq] args: - "--argjson"