Refactor API build endpoint to be more compliant#7452
Refactor API build endpoint to be more compliant#7452openshift-merge-robot merged 1 commit intocontainers:masterfrom
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
edsantiago
left a comment
There was a problem hiding this comment.
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 <jhonce@redhat.com>
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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ashley-cui
left a comment
There was a problem hiding this comment.
Tested against #7602, LGTM
|
/lgtm |
rather then buffering output
Fixes #7136
Fixes #7137
Fixes #7602
Signed-off-by: Jhon Honce jhonce@redhat.com