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 Jan 5, 2024
1 parent 9ab1ca0 commit 24ea87f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 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: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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 24ea87f

Please sign in to comment.