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 Oct 26, 2023
1 parent 16b3657 commit 16133b7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions tasks/verify-definition/0.1/verify-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
- name: POLICY_DATA
type: string
description: The source containing the policy files.
default: git::github.com/enterprise-contract/ec-policies//data
default: git::https://github.com/enterprise-contract/ec-policies//example/data
- name: HOMEDIR
type: string
description: Value for the HOME environment variable.
Expand All @@ -60,13 +60,13 @@ spec:
value: "$(params.HOMEDIR)"
steps:
- name: version
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [ec]
args:
- version
- name: validate
workingDir: "$(workspaces.output.path)"
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [ec]
args:
- validate
Expand Down
2 changes: 1 addition & 1 deletion tasks/verify-enterprise-contract/0.1/tests/ecp-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
description: My custom enterprise contract policy configuration
sources:
- data:
- quay.io/enterprise-contract/ec-policy-data:latest
- git::https://github.com/enterprise-contract/ec-policies//example/data
name: ec-policy
policy:
- quay.io/enterprise-contract/ec-release-policy:latest
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:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [ec]
args:
- version
- name: initialize-tuf
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
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:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [ec]
args:
- validate
Expand Down Expand Up @@ -188,33 +188,33 @@ spec:
- name: EC_CACHE
value: "false"
- name: report
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [cat]
args:
- "$(params.HOMEDIR)/report.yaml"
- name: data
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [cat]
args:
- "$(params.HOMEDIR)/data.yaml"
- name: attestations
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [cat]
args:
- "$(params.HOMEDIR)/attestations.jsonl"
- name: report-json
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [cat]
args:
- "$(params.HOMEDIR)/report-json.json"
- name: summary
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [jq]
args:
- "."
- "$(results.TEST_OUTPUT.path)"
- name: assert
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:dbda0839a3d013422c6f98f0e83110d7dc1eabfc1c5c1313f28dd46783295ac9
image: quay.io/enterprise-contract/ec-cli:snapshot@sha256:aad009778feda4d70993dcd0064fd5712b44752a201892f3d58356fb82af3cca
command: [jq]
args:
- "--argjson"
Expand Down

0 comments on commit 16133b7

Please sign in to comment.