mirror of https://github.com/docker/compose.git
Add image affinity to test script
This will allow tests to be run on a Swarm. This is being fixed in Swarm 0.4: https://github.com/docker/swarm/issues/743 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
a6bd1d22a0
commit
ac222140e7
|
@ -11,6 +11,7 @@ docker run \
|
|||
--volume="/var/run/docker.sock:/var/run/docker.sock" \
|
||||
-e DOCKER_VERSIONS \
|
||||
-e "TAG=$TAG" \
|
||||
-e "affinity:image==$TAG" \
|
||||
--entrypoint="script/test-versions" \
|
||||
"$TAG" \
|
||||
"$@"
|
||||
|
|
Loading…
Reference in New Issue