You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
It would be good if we could cause a non-zero exit code if the config has errors. This would make it easy to include in CI pipelines. For example a git repo could include a github action which checks the config.
Currently it would require grepping the output to look for a string, this feels quite fragile.
My proposal, so as to keep backwards compatibility would be to have a new flag which invokes this behaviour, such as -fail-on-error which causes otel-config-validation to exit with a non-zero exit code
It would be good if we could cause a non-zero exit code if the config has errors. This would make it easy to include in CI pipelines. For example a git repo could include a github action which checks the config.
Currently it would require grepping the output to look for a string, this feels quite fragile.
My proposal, so as to keep backwards compatibility would be to have a new flag which invokes this behaviour, such as
-fail-on-error
which causes otel-config-validation to exit with a non-zero exit codeExample github workflow for validation:
The text was updated successfully, but these errors were encountered: