kbld icon indicating copy to clipboard operation
kbld copied to clipboard

simple-app-build-local example builds the same image twice

Open benmoss opened this issue 2 years ago • 2 comments

What steps did you take:

kbld -f examples/simple-app-build-local/build.yml
simple-app | starting build (using Docker): test/e2e/assets/simple-app -> kbld:rand-1652108946742255592-1387725203109-simple-app
simple-app | starting build (using Docker): test/e2e/assets/simple-app -> kbld:rand-1652108946743073128-10522560189175-simple-app
...
resolve | final: simple-app -> kbld:simple-app-sha256-d4ca5dac9eb3959e041a367997debe1d42a8a08d2a34a885d56b65910201a611
resolve | final: simple-app2 -> kbld:simple-app-sha256-d4ca5dac9eb3959e041a367997debe1d42a8a08d2a34a885d56b65910201a611

What happened: It builds the same image twice

What did you expect: It only builds the image once

Anything else you would like to add: [Additional information that will assist in solving the issue.]

Environment:

  • kbld version (use kbld --version): v0.33.0

Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible" 👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

benmoss avatar May 09 '22 15:05 benmoss

This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

github-actions[bot] avatar Jun 19 '22 00:06 github-actions[bot]

Hello! @joaopapereira @praveenrewar . I recreated the above issue on my local system on two separate occassions and i got two different shasum's

resolve | final: simple-app -> kbld:simple-app-sha256-2d246faa9fec0e06584274d17d1336e114f2bcf3342fac699e6aa894288baee8
resolve | final: simple-app2 -> kbld:simple-app-sha256-c9e22332a5ec65dc311ff8bc41527ec16a5ef077abd4700d9fd0e12eaecdab34
resolve | final: simple-app -> kbld:simple-app-sha256-c9e22332a5ec65dc311ff8bc41527ec16a5ef077abd4700d9fd0e12eaecdab34
resolve | final: simple-app2 -> kbld:simple-app-sha256-c9e22332a5ec65dc311ff8bc41527ec16a5ef077abd4700d9fd0e12eaecdab34

the outputs are different. I think here we should have two images but both should be different at every execution, any thoughts on why it's flaking?

jignyasamishra avatar Jan 26 '24 19:01 jignyasamishra