Conversation
pkg/docker/docker.go
Outdated
| } | ||
| // FIXME | ||
| exitCode := 0 | ||
| // exitCode, err := d.client.ContainerWait(context.Background(), container.ID) |
There was a problem hiding this comment.
This is the only bit that is left for me to finish it. It looks like they've changed it significantly and worst thing is that the current conditions (WaitConditionNotRunning, WaitConditionNextExit, WaitConditionRemoved) don't fit us. I was hoping the WiatConditionNextExit will, but if the container exits in between this will block until next exit, which is not quite right. I'll dig a bit more into it, and will see what's possible and what not.
|
lgtm pending resolution of the FIXME bits. |
793f795 to
3c9a105
Compare
|
@bparees I've fixed the appropriate bits, but I've noticed we're not parsing the docker image spec properly, it was silently falling on |
|
/test |
3c9a105 to
d48890a
Compare
d48890a to
731b732
Compare
|
@bparees all green, ptal |
|
with the caveat that I don't understand the ParseNormalizedNamed change, all this looks good to me. On this branch, I can repurpose #836 to deal with that if appropriate? |
Docker changed their API, significantly. This works 😉
Uhm... I thought I've picked the exact same level of deps, I'll fix that right away. |
731b732 to
de8ef59
Compare
|
Evaluated for source to image test up to de8ef59 |
|
Source To Image Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_s2i/664/) (Base Commit: 60a42d7) (PR Branch Commit: de8ef59) |
|
All fixed and green, with 2 lgtm, I'm merging. [merge] |
|
Source To Image Merge Results: Waiting: You are in the build queue at position: 1 |
|
Evaluated for source to image merge up to de8ef59 |
Fixes #833.
@openshift/sig-master fyi, this should in the end help to limit the pkg/builder vendored dirs as well