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

Always run terratest_log_parser and upload the artifact #896

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

jkremser
Copy link
Member

@jkremser jkremser commented Jun 2, 2022

Running the terratest_log_parser and uploading the zip with the logs makes especially sense if there is an error so that one can debug it. However currently, if there is a failure the subsequent tasks are not being run.

Other option would be having if failure() there but why not to have the nice logs even for success?

continue-on-error: true would not work because it would make the pipeline green even if there is an issue.

Example of such pipeline with an error but the logs were not processed: https://github.com/k8gb-io/k8gb/runs/6706323648?check_suite_focus=true

Signed-off-by: Jirka Kremser jiri.kremser@gmail.com

Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

Nice one

@jkremser jkremser merged commit b03258e into k8gb-io:master Jun 2, 2022
@jkremser jkremser deleted the run-terratest_log_parser-always branch June 2, 2022 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants