NXD lib/tasks/gitlab/check: Exit with non-zero code, if something failed in a check task
This is handy for monitoring tools, which could e.g. periodically call check tasks and instead of parsing output, rely on exit code. The way we detect if something failed is via hooking into String#red, and if anything was ever printed in red - that's an error.
Showing
-
mentioned in commit nexedi/slapos@74d4ea62
-
mentioned in commit tiwariayush/slapos@74d4ea62
-
mentioned in commit rafael/slapos@74d4ea62
-
mentioned in commit slapos@74d4ea62
Please register or sign in to comment