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

allow ci to collect logs on failure #58

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

rajatjindal
Copy link
Member

on failure, it will be nice to collect some debug logs that can help in debugging further. e.g. I am trying to debug this failure

I saw that we collect some info in workloads.sh, but that won't be collected if the script fails before that.

Signed-off-by: Rajat Jindal <rajatjindal83@gmail.com>
Copy link
Collaborator

@kate-goldenring kate-goldenring left a comment

Choose a reason for hiding this comment

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

@rajatjindal have to tested this with a failing workflow to make sure the log file is uploaded with the expected format?

@rajatjindal
Copy link
Member Author

yeah, it helped me debug the issue in my other PR:

https://github.com/spinkube/containerd-shim-spin/actions/runs/8523555191

Copy link
Contributor

@jsturtevant jsturtevant left a comment

Choose a reason for hiding this comment

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

LGTM

@jsturtevant jsturtevant merged commit 9d377d6 into spinkube:main Apr 2, 2024
9 checks passed
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