-
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
Refactor API build endpoint to be more compliant #7452
Conversation
Can you either add tests or turn on remote tests to guarantee the two referenced issues, are permanently fixed. |
There are lots of disabled tests in $ PODMAN=$(pwd)/bin/podman-remote bats test/system/070-build.bats (setting up a system service is left as an exercise for the reader). As of this writing, the tests all fail. One common factor is that the new code is not spitting out a |
Lint is not your friend atm @jwhonce |
afdc2c3
to
560c01e
Compare
@rhatdan @edsantiago Remote tests restored. |
Tests are unhappy. I'm seeing a spurious |
ok this is eerie. The string How can that be interfering with a |
6b31a76
to
9a7ca23
Compare
9a7ca23
to
1cfb877
Compare
1cfb877
to
cae9e94
Compare
873fdf7
to
d166442
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.
Spelling nit, and two suggestions for tests
* Refactor/Rename channel.WriteCloser() to encapsulate the channel * Refactor build endpoint to "live" stream buildah output channels over API rather then buffering output * Refactor bindings/tunnel build because endpoint changes * building tar file now in bindings rather then depending on caller * Cleanup initiating extra image engine * Remove setting fields to zero values (less noise in code) * Update tests to support remote builds Fixes containers#7136 Fixes containers#7137 Signed-off-by: Jhon Honce <[email protected]>
d166442
to
146c68f
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago, jwhonce 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 |
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.
Tested against #7602, LGTM
/lgtm |
rather then buffering output
Fixes #7136
Fixes #7137
Fixes #7602
Signed-off-by: Jhon Honce [email protected]