-
Notifications
You must be signed in to change notification settings - Fork 104
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
PDK should have an option to disable progress indicator to make it usable in CI #323
Comments
Seems like a reasonable option. As a temporary measure, you can redirect STDERR to null if you want to suppress the progress output right now:
|
Some work for this has been captured in https://tickets.puppetlabs.com/browse/PDK-458 and https://tickets.puppetlabs.com/browse/PDK-643 . |
Recent versions do the job. Closing. |
@alvagante Can you explain how this is done, and which those "recent versions" are? I've just tried PDK v1.5.0, and I can't see how to disable the progress indicator.
No trace of appropriate options, e.g.
😕 |
Oh, the presence of an appropriate tty is detected automatically and the redirection can simply be omitted? Nice! 😃 👍 |
Yep! Sorry we should have linked this PR to this issue: #353 |
The fancy rotating thing that is shown during pdk validate / test ( [|] [/] [-] ...] ) results in endless outputs when pdk is used in CI pipelines.
An option to disable it (or the whole removal of the fancy buy mostly useless progress indicator) would make pdk a first choice tool in CI.
The text was updated successfully, but these errors were encountered: