Uh oh!
There was an error while loading. Please reload this page.
Run tests using Docker-in-Docker so we can test multiple versions - #1005
Conversation
jessfraz
commented
Feb 23, 2015
👍 |
3b2ac69 to
d36d611CompareThere was a problem hiding this comment.
I would add a tag to each of these that is the commit sha so docker-compose:$(git rev-parse --short HEAD)
There was a problem hiding this comment.
otherwise for parallel builds things are going to get tricky
jessfraz
commented
Feb 24, 2015
ping @tianon bash god, this going to be tested on jenkins |
jessfraz
commented
Feb 25, 2015
Can we also keep in mind I'm not just going to put "script/test" into Jenkins I'm going to put the docker commands because who is to say someone won't change this into something that we don't want to execute so can we try to keep it concise :) |
jessfraz
commented
Feb 25, 2015
We can also set this up next week when I am in your neck of the woods \o/ |
aanand
commented
Feb 26, 2015
OK, I've set it up so that you can kick the whole thing off with a single You should be able to just run: TAG="docker-compose:$(git rev-parse --short HEAD)"
docker build -t "$TAG".
docker run \
--rm \
--volume="/var/run/docker.sock:/var/run/docker.sock" \
-e "DOCKER_VERSIONS=all" \
-e "TAG=$TAG" \
--entrypoint="script/test-versions" \
"$TAG" \
--verbose |
jessfraz
commented
Feb 26, 2015
You rule!!!! On Thursday, February 26, 2015, Aanand Prasad notifications@github.com
|
jessfraz
commented
Feb 26, 2015
I think its hanging https://jenkins.dockerproject.com/job/Compose%20Master/7/label=ubuntu-aufs-prs/console :( I dont understand |
There was a problem hiding this comment.
This needs to be run on the same line as apt-get install otherwise it'll actually make the image bigger. (The debs are still in the layers before then this adds another layer that needs downloading.)
There was a problem hiding this comment.
It also won't actually do anything: https://github.com/docker/docker/blob/738bdec4908755761b27b7d15baeefb1a824f770/contrib/mkimage/debootstrap#L72-L95
The pattern we usually use is RUN apt-get update && apt-get install -y ... && rm -rf /var/lib/apt/lists/*.
5283db7 to
8d001a1Comparetianon
commented
Mar 9, 2015
Looks sane to me 👍 |
c11fcff to
abc1416CompareSigned-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
jessfraz
commented
Mar 13, 2015
LGTM https://jenkins.dockerproject.com/job/Compose%20Master/label=ubuntu-aufs-prs/8/console merge it and i will turn all on |
dnephin
commented
Mar 13, 2015
Nice! It would be awesome to have this run against multiple python versions as well. Even if it's only python2.6+latest docker, python2.7+latest docker. At some point we'll want to add python3.4+latest docker |
jessfraz
commented
Mar 16, 2015
merge it merge it merge it |
Run tests using Docker-in-Docker so we can test multiple versions
bfirsh
commented
Mar 17, 2015
Hells yeah |
bfirsh
commented
Mar 17, 2015
ping @jfrazelle |
bfirsh
commented
Mar 17, 2015
When we get the 1.6 RC, I wonder if we can test against that too... |
jessfraz
commented
Mar 17, 2015
You would just add t to the Dockerfile from the looks of it |
bfirsh
commented
Mar 17, 2015
Oh, yeah. Assumed that'd be in Jenkins. Nice. |
aanand
commented
Mar 17, 2015
Reactivated webhooks, rebased #1088, all looks good. |
aanand
commented
Mar 17, 2015
We're not validating the DCO any more - that's very bad. Where's the best place to do that? Presumably not inside a |
aanand
commented
Mar 17, 2015
We could mount the code directory as a volume, and then I can add a |
jessfraz
commented
Mar 18, 2015
ya totally sgtm On Tue, Mar 17, 2015 at 4:59 PM, Aanand Prasad notifications@github.com
|
aanand
commented
Mar 18, 2015
@jfrazelle Cool - see #1128. |
Run tests using Docker-in-Docker so we can test multiple versions Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>

This build will fail on Wercker because it depends on
docker build -f FILE, which isn't available in Wercker's Docker version (1.2.0).Next step: get running on Jenkins!