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

When "diff: false", the progress from pulumi/docker@v4 build command is still shown #1157

Open
rtrindvg opened this issue Apr 24, 2024 · 2 comments
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@rtrindvg
Copy link

rtrindvg commented Apr 24, 2024

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:

import * as pulumi from "@pulumi/pulumi";
import * as docker from "@pulumi/docker";

const demoImage = new docker.Image("demo-image", {
    build: {
        context: ".",
        dockerfile: "Dockerfile",
        platform: "linux/amd64",
    },
    imageName: "local/demo-verbose-dockerfile:latest",
    skipPush: true,
});
export const imageName = demoImage.imageName;

Sample Dockerfile:

FROM alpine:latest
RUN for i in $(seq 1 1000); do echo "This is a verbose output: line $i"; done

Pulumi up with diff parameter shows the output, but the "RUN echo" lines are missing, I opened the issue pulumi/pulumi#16046 to confirm if this is the expected behavior.

❯ pulumi up --diff -f
Updating (temp-stage):
  pulumi:pulumi:Stack: (same)
    [urn=urn:pulumi:temp-stage::pulumi::pulumi:pulumi:Stack::pulumi-temp-stage]
    ~ docker:index/image:Image: (update)
        [id=local/demo-verbose-dockerfile:latest]
        [urn=urn:pulumi:temp-stage::pulumi::docker:index/image:Image::demo-image]
        [provider=urn:pulumi:temp-stage::pulumi::pulumi:providers:docker::default_4_5_3::e3b8ed63-8c00-45e7-ad5f-9f37857620b2]
      + build: {
          + context      : "."
          + contextDigest: "06df9819d5e98abc5508a37291c43e2571b15504a8f865a972b08dcefd43d564"
          + dockerfile   : "Dockerfile"
          + platform     : "linux/amd64"
        }
Starting Docker build
digest: sha256:bc7d86e8ed6e2ea2c3e5c58427a68b17ec9a344cff43e93bba78100f7c452aa8
[internal] load remote build context
digest: sha256:bc7d86e8ed6e2ea2c3e5c58427a68b17ec9a344cff43e93bba78100f7c452aa8
[internal] load remote build context
digest: sha256:bc7d86e8ed6e2ea2c3e5c58427a68b17ec9a344cff43e93bba78100f7c452aa8
[internal] load remote build context
digest: sha256:bc7d86e8ed6e2ea2c3e5c58427a68b17ec9a344cff43e93bba78100f7c452aa8
[internal] load remote build context
digest: sha256:b3997bdf0efd40151cdfb63a5b1c84cd89f5cfca69d79cf152696cdc63c2074c
copy /context /
digest: sha256:b3997bdf0efd40151cdfb63a5b1c84cd89f5cfca69d79cf152696cdc63c2074c
copy /context /
digest: sha256:b3997bdf0efd40151cdfb63a5b1c84cd89f5cfca69d79cf152696cdc63c2074c
copy /context /
digest: sha256:038fafa2e280d24ac22549b7cef4c77fc469b484de8826b26b10bc92efa2f54d
[internal] load metadata for docker.io/library/alpine:latest
digest: sha256:038fafa2e280d24ac22549b7cef4c77fc469b484de8826b26b10bc92efa2f54d
[internal] load metadata for docker.io/library/alpine:latest
digest: sha256:86959bee9189c6af7dc145e532ec0ba6bab7a0c67d9675b42acbc89fe1df1bf7
[2/2] RUN for i in $(seq 1 1000); do echo "This is a verbose output: line $i"; done
digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
[1/2] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
[1/2] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
digest: sha256:86959bee9189c6af7dc145e532ec0ba6bab7a0c67d9675b42acbc89fe1df1bf7
[2/2] RUN for i in $(seq 1 1000); do echo "This is a verbose output: line $i"; done
digest: sha256:42f35dcbdcf8c4f6184d5f8823401b03fe416f8864cd88b7b145ab9427a4669c
exporting to image
exporting layers
writing image sha256:bbbe99bfe0ec6aff64100950a62c57f864739459142a5e404c9ce2255741368f
writing image sha256:bbbe99bfe0ec6aff64100950a62c57f864739459142a5e404c9ce2255741368f
naming to docker.io/local/demo-verbose-dockerfile:latest
naming to docker.io/local/demo-verbose-dockerfile:latest
digest: sha256:42f35dcbdcf8c4f6184d5f8823401b03fe416f8864cd88b7b145ab9427a4669c
exporting to image
Built image with ID sha256:bbbe99bfe0ec6aff64100950a62c57f864739459142a5e404c9ce2255741368f
Built image with local id "sha256:bbbe99bfe0ec6aff64100950a62c57f864739459142a5e404c9ce2255741368f", polling image store for image
Image built successfully, local id "sha256:bbbe99bfe0ec6aff64100950a62c57f864739459142a5e404c9ce2255741368f"
        --outputs:--
      ~ repoDigest    : "sha256:ad161c6c986f7f462700ec43dca223d5e23d35685173322f42ef87194fe8754e" => "sha256:bbbe99bfe0ec6aff64100950a62c57f864739459142a5e404c9ce2255741368f"
    --outputs:--
    imageName: "local/demo-verbose-dockerfile:latest"
Resources:
    ~ 1 updated
    1 unchanged

Duration: 6s

This is the same execution on the CI, using pulumi/actions (with diff: true):

pulumi up on temp-stage
  Updating (temp-stage):
  
    pulumi:pulumi:Stack: (same)
      [urn=urn:pulumi:temp-stage::pulumi::pulumi:pulumi:Stack::pulumi-temp-stage]
  
      ~ docker:index/image:Image: (update)
          [id=local/demo-verbose-dockerfile:latest]
          [urn=urn:pulumi:temp-stage::pulumi::docker:index/image:Image::demo-image]
          [provider=urn:pulumi:temp-stage::pulumi::pulumi:providers:docker::default_4_5_3::e3b8ed63-8c00-45e7-ad5f-9f37857620b2]
        + build: {
            + context      : "."
            + contextDigest: "c62efd5d3930b3d15060cac4257a8935eec0acc895e08e0de3e5dde8ff8da669"
            + dockerfile   : "Dockerfile"
            + platform     : "linux/amd64"
          }
  
  Starting Docker build
  
  digest: sha256:3c349566976773845862abb6848c2fbd7542538581cca0d3a485f73b57c47bc5
  [internal] load remote build context
  
  digest: sha256:3c349566976773845862abb6848c2fbd7542538581cca0d3a485f73b57c47bc5
  [internal] load remote build context
  
  digest: sha256:3c349566976773845862abb6848c2fbd7542538581cca0d3a485f73b57c47bc5
  [internal] load remote build context
  
  digest: sha256:3c349566976773845862abb6848c2fbd7542538581cca0d3a485f73b57c47bc5
  [internal] load remote build context
  
  digest: sha256:716142e0bc6cb7d8c05f15a25af9318ad32cf96431bf08f931556292701341cb
  copy /context /
  
  digest: sha256:716142e0bc6cb7d8c05f15a25af9318ad32cf96431bf08f931556292701341cb
  copy /context /
  
  digest: sha256:716142e0bc6cb7d8c05f15a25af9318ad32cf96431bf08f931556292701341cb
  copy /context /
  
  digest: sha256:d4fb25f5b5c00defc20ce26f2efc4e288de8834ed5aa59dff877b495ba88fda6
  [internal] load metadata for docker.io/library/alpine:latest
  
  digest: sha256:d4fb25f5b5c00defc20ce26f2efc4e288de8834ed5aa59dff877b495ba88fda6
  [internal] load metadata for docker.io/library/alpine:latest
  
  digest: sha256:86959bee9189c6af7dc145e532ec0ba6bab7a0c67d9675b42acbc89fe1df1bf7
  [2/2] RUN for i in $(seq 1 1000); do echo "This is a verbose output: line $i"; done
  digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  [1/2] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
  digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  [1/2] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  [1/2] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
  resolve docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
  resolve docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
  digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  [1/2] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
  digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  [1/2] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
  sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  sha256:6457d53fb065d6f250e1504b9bc42d5b6c65941d57532c072d929dd0628977d0
  sha256:05455a08881ea9cf0e752bc48e61bbd71a34c029bb13df01e40e3e70e0d007bd
  
  digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  [1/2] FROM docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
  digest: sha256:86959bee9189c6af7dc145e532ec0ba6bab7a0c67d9675b42acbc89fe1df1bf7
  [2/2] RUN for i in $(seq 1 1000); do echo "This is a verbose output: line $i"; done
  
  This is a verbose output: line 1
  
  This is a verbose output: line 2
  This is a verbose output: line 3
  This is a verbose output: line 4
... <cut for brevity> ...
  This is a verbose output: line 998
  This is a verbose output: line 999
  This is a verbose output: line 1000
  
  digest: sha256:86959bee9189c6af7dc145e532ec0ba6bab7a0c67d9675b42acbc89fe1df1bf7
  [2/2] RUN for i in $(seq 1 1000); do echo "This is a verbose output: line $i"; done
  
  digest: sha256:86f50521e51c3b2bab702287bad76a1a78e381a965e20c8b641d08a6cc2d18b8
  exporting to image
  exporting layers
  
  exporting layers
  
  writing image sha256:ad161c6c986f7f462700ec43dca223d5e23d35685173322f42ef87194fe8754e
  writing image sha256:ad161c6c986f7f462700ec43dca223d5e23d35685173322f42ef87194fe8754e
  naming to docker.io/local/demo-verbose-dockerfile:latest
  
  digest: sha256:86f50521e51c3b2bab702287bad76a1a78e381a965e20c8b641d08a6cc2d18b8
  exporting to image
  naming to docker.io/local/demo-verbose-dockerfile:latest
  
  Built image with ID sha256:ad161c6c986f7f462700ec43dca223d5e23d35685173322f42ef87194fe8754e
  
  Built image with local id "sha256:ad161c6c986f7f462700ec43dca223d5e23d35685173322f42ef87194fe8754e", polling image store for image
  
  Image built successfully, local id "sha256:ad161c6c986f7f462700ec43dca223d5e23d35685173322f42ef87194fe8754e"
  
          --outputs:--
        ~ repoDigest    : "sha256:e385eeb5c8043e094168b13a3b6feac765d19e4a57f1f84ac34220de18c4b255" => "sha256:ad161c6c986f7f462700ec43dca223d5e23d35685173322f42ef87194fe8754e"
  
      --outputs:--
      imageName: "local/demo-verbose-dockerfile:latest"
  
  Resources:
      ~ 1 updated
      1 unchanged
  
  Duration: 8s

Same execution with diff: false, still very verbose:

pulumi up on temp-stage
  Updating (temp-stage):
  
  
  
      pulumi:pulumi:Stack pulumi-temp-stage running 
  
   ~  docker:index:Image demo-image updating (0s) [diff: ~build]
  
   ~  docker:index:Image demo-image updating (0s) [diff: ~build]; Starting Docker build
  
   ~  docker:index:Image demo-image updating (0s) [diff: ~build]; digest: sha256:426e7f1b4791ef9aaddabf8c62b15184c6945da080b8207b7c2a84f791c5b273
  
   ~  docker:index:Image demo-image updating (0s) [diff: ~build]; digest: sha256:426e7f1b4791ef9aaddabf8c62b15184c6945da080b8207b7c2a84f791c5b273
  
   ~  docker:index:Image demo-image updating (0s) [diff: ~build]; digest: sha256:426e7f1b4791ef9aaddabf8c62b15184c6945da080b8207b7c2a84f791c5b273
  
   ~  docker:index:Image demo-image updating (0s) [diff: ~build]; digest: sha256:426e7f1b4791ef9aaddabf8c62b15184c6945da080b8207b7c2a84f791c5b273
  
   ~  docker:index:Image demo-image updating (0s) [diff: ~build]; digest: sha256:3cdec11ab05d96670ce11e206b0f7b0ec34eb947d74feb337161ae102a6274fe
  
   ~  docker:index:Image demo-image updating (0s) [diff: ~build]; digest: sha256:3cdec11ab05d96670ce11e206b0f7b0ec34eb947d74feb337161ae102a6274fe
  
   ~  docker:index:Image demo-image updating (1s) [diff: ~build]; digest: sha256:3cdec11ab05d96670ce11e206b0f7b0ec34eb947d74feb337161ae102a6274fe
  
   ~  docker:index:Image demo-image updating (1s) [diff: ~build]; digest: sha256:d4fb25f5b5c00defc20ce26f2efc4e288de8834ed5aa59dff877b495ba88fda6
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; digest: sha256:d4fb25f5b5c00defc20ce26f2efc4e288de8834ed5aa59dff877b495ba88fda6
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; digest: sha256:86959bee9189c6af7dc145e532ec0ba6bab7a0c67d9675b42acbc89fe1df1bf7
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; resolve docker.io/library/alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; digest: sha256:faa2314417184f0f81e21fe46ef9c04da17b8fc0d629ac5f017dd02a596697bb
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; digest: sha256:86959bee9189c6af7dc145e532ec0ba6bab7a0c67d9675b42acbc89fe1df1bf7
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 1
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 3
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 27
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 34
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 38
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 42
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 48
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 51
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 53
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 58
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 66
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 70
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 75
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 80
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 84
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 89
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 92
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 94
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 101
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 137
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 178
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 187
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 233
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 242
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 284
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 323
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 334
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 374
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 412
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 422
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 459
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 465
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 499
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 542
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 552
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 593
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 622
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 631
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 673
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 691
  
   ~  docker:index:Image demo-image updating (2s) [diff: ~build]; This is a verbose output: line 738
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; digest: sha256:86959bee9189c6af7dc145e532ec0ba6bab7a0c67d9675b42acbc89fe1df1bf7
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; digest: sha256:e7aebe2d8fbfef621b9a4901ad9b5490eb67b477264bd48a0fac928efe3aed93
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; exporting layers
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; writing image sha256:d1e3baaa05cb378327d95d861e5daa798d6b20f0adc89edf09916138161282b4
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; writing image sha256:d1e3baaa05cb378327d95d861e5daa798d6b20f0adc89edf09916138161282b4
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; digest: sha256:e7aebe2d8fbfef621b9a4901ad9b5490eb67b477264bd48a0fac928efe3aed93
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; Built image with ID sha256:d1e3baaa05cb378327d95d861e5daa798d6b20f0adc89edf09916138161282b4
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; Built image with local id "sha256:d1e3baaa05cb378327d95d861e5daa798d6b20f0adc89edf09916138161282b4", polling image store for image
  
   ~  docker:index:Image demo-image updating (3s) [diff: ~build]; Image built successfully, local id "sha256:d1e3baaa05cb378327d95d861e5daa798d6b20f0adc89edf09916138161282b4"
  
   ~  docker:index:Image demo-image updated (3s) [diff: ~build]; Image built successfully, local id "sha256:d1e3baaa05cb378327d95d861e5daa798d6b20f0adc89edf09916138161282b4"
  
      pulumi:pulumi:Stack pulumi-temp-stage  
  Outputs:
      imageName: "local/demo-verbose-dockerfile:latest"
  
  Resources:
      ~ 1 updated
      1 unchanged

I am already using suppress-progress on pulumi/actions (excerpt from my workflow file):

... cut for brevity ...
    - name: Pulumi Command
      id: pulumi
      uses: pulumi/[email protected]
      with:
        command: up
        stack-name: ${{ inputs.PULUMI_STACK_NAME }}
        work-dir: ${{ inputs.WORKING_DIR }}
        cloud-url: azblob://pulumi-state?storage_account=<redacted>
        comment-on-pr: true
        edit-pr-comment: false
        diff: ${{ inputs.DIFF }}
        upsert: true
        secrets-provider: azurekeyvault://<redacted>
        suppress-progress: true
      env:
        ARM_USE_OIDC: true
        ARM_CLIENT_ID: ${{ inputs.AZURE_CLIENT_ID }}
        ARM_TENANT_ID: ${{ inputs.AZURE_TENANT_ID }}
        ARM_SUBSCRIPTION_ID: ${{ inputs.AZURE_SUBSCRIPTION_ID }}
        AZURE_KEYVAULT_AUTH_VIA_CLI: true

Output of pulumi about

❯ pulumi about
CLI          
Version      3.113.2
Go Version   go1.22.2
Go Compiler  gc

Plugins
NAME    VERSION
docker  4.5.3
nodejs  unknown

Host     
OS       ubuntu
Version  22.04
Arch     x86_64

This project is written in nodejs: executable='/home/rtrind/.nvm/versions/node/v20.12.2/bin/node' version='v20.12.2'

Current Stack: organization/pulumi/temp-stage

TYPE                      URN
pulumi:pulumi:Stack       urn:pulumi:temp-stage::pulumi::pulumi:pulumi:Stack::pulumi-temp-stage
pulumi:providers:docker   urn:pulumi:temp-stage::pulumi::pulumi:providers:docker::default_4_5_3
docker:index/image:Image  urn:pulumi:temp-stage::pulumi::docker:index/image:Image::demo-image


Found no pending operations associated with temp-stage

Backend        
Name           linux-Trindade
URL            azblob://pulumi-state?storage_account=<redacted>
User           rtrind
Organizations  
Token type     personal

Dependencies:
NAME            VERSION
@pulumi/pulumi  3.113.3
@types/node     20.12.7
typescript      5.4.5
@pulumi/docker  4.5.3

Pulumi locates its logs in /tmp by default

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).

@rtrindvg rtrindvg added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Apr 24, 2024
@rtrindvg rtrindvg changed the title When "diff: false", the progress from pulumi/docker@v4 is still shown When "diff: false", the progress from pulumi/docker@v4 build command is still shown Apr 24, 2024
@justinvp
Copy link
Member

justinvp commented May 6, 2024

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?

@justinvp justinvp removed the needs-triage Needs attention from the triage team label May 6, 2024
@rtrindvg
Copy link
Author

rtrindvg commented May 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

2 participants