Open rtrindvg opened 5 months ago
Hi @rtrindvg, sorry for the delay! Haven't had a chance to dig into the discrepancy here yet, but I'm curious if you saw https://github.com/pulumi/pulumi-docker/issues/424#issuecomment-2077894259 and if you'd get better output using the new dockerbuild.Image
?
Hi @rtrindvg, sorry for the delay! Haven't had a chance to dig into the discrepancy here yet, but I'm curious if you saw pulumi/pulumi-docker#424 (comment) and if you'd get better output using the new
dockerbuild.Image
?
Hello, @justinvp, no worries. I did try the new provider but unfortunately the problem is basically the same. The verbosity is different, but not necessarily quieter. All the output coming from the dockerfile itself is on the output, so the scenario is basically the same on the new provider, unfortunately.
What happened?
When I use diff: true, with a large Dockerfile, I get the entirety of the docker build output. When "diff: false", I get a partial output from the command, which makes sense given how the output is shown on the CLI, but it makes the output super verbose, which in turn makes the PR comment unusable, since the important information is buried inside the output.
Is this the expected behavior?
Example
Example
Sample index.ts file:
Sample Dockerfile:
Pulumi up with diff parameter shows the output, but the "RUN echo" lines are missing, I opened the issue https://github.com/pulumi/pulumi/issues/16046 to confirm if this is the expected behavior.
This is the same execution on the CI, using pulumi/actions (with diff: true):
Same execution with diff: false, still very verbose:
I am already using suppress-progress on pulumi/actions (excerpt from my workflow file):
Output of
pulumi about
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).