-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[CLI] display issues with new deployment monitoring in the CDK CLI #8696
Comments
Originally posted by @slotnick in #8165 (comment) Encountering exactly the same here. Is there an option to disable this mode and revert to the previous display? It’s also useful to understand what happened during the build, which is lost with this update. My working model is to kick off a build, then check back after awhile to see what happened. This change makes that very difficult. |
I'm seeing a bunch of escape codes being dumped when running
Is there a way to revert to the prior display mode when running with |
I agree. While this is very pretty, it's a bit of a hit to usefulness when doing complex debugging of stacks if I can't see what was actually deployed after it's been deployed. Adds a lot of friction to the process. |
I would like to add to the request to have an option to revert to the previous behaviour. In the event of a failed deploy it gives basically no feedback as to what went wrong.
Previously I could see which components had been deployed and rolled back, now I need to login to the console to find out. For example in a verbose run I see this much more useful message
|
Agreed. In addition to providing an option for people to choose, I think non-interactive terminals (like CI) should default to the other output style. Most (all?) CI platforms set the |
I opened a PR at #9516 that detects whether the It's a minor change, so to anyone that is affected by this:
|
…ws#9516) Fixes: aws#8696 aws#8893 Detects whether the `CI` environment variable is set and reverts output to `standard` behavior. The fancy output was especially broken on CircleCI. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…9623) Since the new deployment monitoring has been problematic on environments such as CI, adding a switch called `progress` to allow users to set their deploy output display preference. Supported values are `bar` and `events`. The default deployment display mode includes the progress bar. The workaround of adding `-v` to display the stack event history includes a lot of undesired output and users have expressed that it includes a lot of noise. If the key `progress` exists in user settings (`~/.cdk.json`) or project settings (`cdk.json`), users will not need to specify it on every deploy and can set their desired default once. closes #8696 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Originally posted by @robertd in #8165 (comment)
It's not working really well on iTerm2 with zsh (using robbierussel/oh-my-zsh)?
Is there a way to use more verbose output (
for CI/CD purposes too)?.
.
.
edit: Luckily everything looks fine in Gitlab's CI/CD pipeline.
The text was updated successfully, but these errors were encountered: