Skip to content

Commit

Permalink
Merge pull request #1261 from zregvart/issue/RHTAPBUGS-1027
Browse files Browse the repository at this point in the history
Remove data and attestation logs
  • Loading branch information
zregvart authored Jan 4, 2024
2 parents 7c05784 + 38313a4 commit 87ed8b5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 45 deletions.
29 changes: 0 additions & 29 deletions features/__snapshots__/task_validate_image.snap
Original file line number Diff line number Diff line change
Expand Up @@ -458,35 +458,6 @@ success: true

---

[Outputs are there:data - 1]
- null

---

[Outputs are there:attestations - 1]
{
"_type": "https://in-toto.io/Statement/v0.1",
"predicateType": "https://slsa.dev/provenance/v0.2",
"subject": [
{
"name": "acceptance/okayish",
"digest": {
"sha256": "${REGISTRY_acceptance/okayish:latest_DIGEST}"
}
}
],
"predicate": {
"builder": {
"id": "https://tekton.dev/chains/v2"
},
"buildType": "https://tekton.dev/attestations/chains/pipelinerun@v2",
"invocation": {
"configSource": {}
}
}
}
---

[Outputs are there:summary - 1]
{
"timestamp": "${TIMESTAMP}",
Expand Down
2 changes: 0 additions & 2 deletions features/task_validate_image.feature
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ Feature: Verify Enterprise Contract Tekton Tasks
Then the task should succeed
And the task logs for step "initialize-tuf" should match the snapshot
And the task logs for step "report" should match the snapshot
And the task logs for step "data" should match the snapshot
And the task logs for step "attestations" should match the snapshot
And the task logs for step "summary" should match the snapshot
And the task logs for step "assert" should match the snapshot
And the task logs for step "report-json" should match the snapshot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 Down Expand Up @@ -198,16 +194,6 @@ spec:
command: [cat]
args:
- "$(params.HOMEDIR)/report.yaml"
- name: data
image: quay.io/enterprise-contract/ec-cli:snapshot
command: [cat]
args:
- "$(params.HOMEDIR)/data.yaml"
- name: attestations
image: quay.io/enterprise-contract/ec-cli:snapshot
command: [cat]
args:
- "$(params.HOMEDIR)/attestations.jsonl"
- name: report-json
image: quay.io/enterprise-contract/ec-cli:snapshot
command: [cat]
Expand Down

0 comments on commit 87ed8b5

Please sign in to comment.