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

Improve initializer logs on k6 errors #174

Merged
merged 3 commits into from
Dec 14, 2022
Merged

Conversation

yorugac
Copy link
Collaborator

@yorugac yorugac commented Dec 9, 2022

This PR adds a CLI workaround for initializer pod so that it terminates with error exit code and error log line in case of errors logged by k6. Initializer pod is to be started only once: if there's an error from k6, then the script or setup requires fixes. Otherwise, initializer logs the JSON output of inspect command and terminates with zero exit code.

Fixes #167

@yorugac yorugac merged commit 731e368 into main Dec 14, 2022
@yorugac yorugac deleted the bug/improve-initializer-logs branch December 14, 2022 15:28
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.

gRPC Module exit code 107 fails to log an error
1 participant