-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fixes #12063 Add docker compatible output after image build. #12091
Fixes #12063 Add docker compatible output after image build. #12091
Conversation
7e7bca7
to
cf6d4fe
Compare
@jwhonce PTAL |
@ananthb Few doubts and comment
Overall LGTM ( could we add a test ? ) |
|
On my side, I am only interested in the final built image id. So this fix will fit my needs and to confirm @flouthoc message it will not break the docker SDK. |
So @flouthoc if we must print per stage ids, then that's a change in buildah. Podman doesn't get that info from buildah currently, so we'd have to figure out a way of passing that over. |
@ananthb Since @stac47 confirmed that it does not breaks SDK. I think we should be okay without it as of now. PR looks good to me. I'd request adding a test and would also request @jwhonce to give a quick glimpse since its an API output change. |
@flouthoc where would I add a test for this? Would test/system/ dir work? |
@ananthb It should go here and test should be restricted to remote only. There are other tests which are restricted to remote-only for help. https://github.com/containers/podman/blob/main/test/e2e/build_test.go |
Friendly ping. |
@ananthb Still working on this? |
@rhatdan yep I'll have tests up in a day or two. |
8ced5e1
to
3f4af5a
Compare
@flouthoc the HTTP API response isn't available in the podman test session. How do I read that in my test? |
@ananthb where are you checking that ? it should be available but anyways the first thing your tests are failing because of a different error. It should be |
@ananthb You can get |
985ca7d
to
d26fa9f
Compare
@flouthoc am I reading the test output right? It looks like some other test failed. |
d26fa9f
to
3b52ed1
Compare
@ananthb LGTM. Could you please squash the commit , there are two additional commit for a single test. |
56bbc36
to
671a9d0
Compare
/lgtm |
671a9d0
to
0cde50f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Major concerns with the tests. I'm still looking into them, trying to understand the problems, but for now I'm afraid I need to ask for changes and clarification. I'm sorry not to have caught these earlier.
Signed-off-by: Ananth Bhaskararaman <[email protected]>
0cde50f
to
52b12fe
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ananthb, edsantiago, flouthoc, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm Thank you @ananthb ! |
What this PR does / why we need it:
Adds docker compatible output after an image is built.
How to verify it
Building against podman and docker should offer compatible output.
Which issue(s) this PR fixes:
Fixes #12063
Special notes for your reviewer: