Skip to content

Commit

Permalink
sync ec-cli task definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
lcarva committed Jul 30, 2024
1 parent 91bbc56 commit fb29b77
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions tasks/verify-definition/0.1/verify-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ spec:
value: "$(params.HOMEDIR)"
steps:
- name: version
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
command: [ec]
args:
- version
- name: validate
workingDir: "$(workspaces.output.path)"
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
command: [ec]
args:
- validate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ spec:
steps:

- name: initialize-tuf
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
script: |-
set -euo pipefail
Expand All @@ -154,7 +154,7 @@ spec:
value: "$(params.TUF_MIRROR)"

- name: validate
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
onError: continue # progress even if the step fails so we can see the debug logs
command: [ec]
args:
Expand Down Expand Up @@ -209,47 +209,47 @@ spec:
memory: 2Gi

- name: report
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
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:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
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:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
onError: continue # progress even if the step fails so we can see the debug logs
command: [jq]
args:
- "."
- "$(results.TEST_OUTPUT.path)"

- name: info
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
command: [printf]
args:
- "----- DEBUG OUTPUT -----\n"

- name: version
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
command: [ec]
args:
- version

- name: debug-log
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
command: [cat]
args:
- "$(params.HOMEDIR)/debug.log"

- name: assert
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:253c893ed3cc758a55f5aa07f72f630b630f7a69f9dd179967d163e42b34b2f3
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:b6c7dc1a4b66ddd7593e073138212e0fa8587f0c4281cda40b5a5682a727bec7
command: [jq]
args:
- "--argjson"
Expand Down

0 comments on commit fb29b77

Please sign in to comment.