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

Add :silent option to each task #81

Merged
merged 7 commits into from
Oct 2, 2020
Merged

Add :silent option to each task #81

merged 7 commits into from
Oct 2, 2020

Conversation

greglook
Copy link
Collaborator

This change adds a new :silent option to the each task. When set, the output of projects is captured instead of streamed to the standard out and error streams. If a project fails, the output is then printed in full. This has two nice properties; first, in large CI builds users often only care about failing project output, but one failing project out of two hundred can be difficult to find. Second, this change introduces an output lock, so multiple concurrent project failures will not be interleaved.

This functionality is orthogonal to the :output <dir> option; successful project output is still logged to the output file even if it is suppressed with :silent.

Fixes #37

@greglook greglook requested a review from a team September 30, 2020 23:36
Copy link
Contributor

@drewinglis drewinglis left a comment

Choose a reason for hiding this comment

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

🎉

@greglook greglook merged commit fb0fc64 into master Oct 2, 2020
@greglook greglook deleted the each-silent-option branch October 2, 2020 20:31
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.

Support suppressing stdout of each subtasks
2 participants