Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v-e-c: print debug logging at bottom of output #1791

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ spec:
- "appstudio=$(results.TEST_OUTPUT.path)"
- "--output"
- "json=$(params.HOMEDIR)/report-json.json"
- "2>"
- "debug.log"
Comment on lines +190 to +191
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't use shell redirects here, these are arguments passed to ec directly, not a shell invocation...

env:
- name: SSL_CERT_DIR
# The Tekton Operator automatically sets the SSL_CERT_DIR env to the value below but,
Expand Down Expand Up @@ -239,3 +241,9 @@ spec:
- >
.result == "SUCCESS" or .result == "WARNING" or ($strict | not)
- "$(results.TEST_OUTPUT.path)"

- name: debug
image: quay.io/enterprise-contract/ec-cli:snapshot
command: [cat]
args:
- "debug.log"
Loading