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

Make the Cookbook Checker script spit out more useful information #173

Open
digitaldogsbody opened this issue Mar 10, 2023 · 0 comments
Open
Assignees
Labels
infrastructure Infrastructure Work

Comments

@digitaldogsbody
Copy link
Member

Currently the CI for the cookbook script a) fails immediately after the first error, and b) doesn't output the actual error with the particular bit of code.

A is an easy fix, because I already wrote in a --fail-fast option, and we can just take that out
B requires a bit of thinking, because it happens due to a limitation of the way we run the scripts. It might be as simple as catching/printing STDERR.

At the same time, we should probably enable a better printing of success messages, rather than just silently returning with a 0 exit code, as positive affirmation is better for logs (and what actual testing tools do). Probably the best way to do this is to add that behaviour as default, and allow it to be disabled with a --silent flag.

@digitaldogsbody digitaldogsbody self-assigned this Mar 10, 2023
@digitaldogsbody digitaldogsbody added the infrastructure Infrastructure Work label Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Infrastructure Work
Projects
None yet
Development

No branches or pull requests

1 participant