mirror of https://github.com/docker/compose.git
On a test failure only show the last 100 lines of daemon output.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
1b5b407619
commit
abde64d610
|
@ -8,7 +8,7 @@ VENV=/code/.tox/py27
|
|||
mkdir -p `pwd`/dist
|
||||
chmod 777 `pwd`/dist
|
||||
|
||||
$VENV/bin/pip install -r requirements-build.txt
|
||||
$VENV/bin/pip install -q -r requirements-build.txt
|
||||
su -c "$VENV/bin/pyinstaller docker-compose.spec" user
|
||||
mv dist/docker-compose $TARGET
|
||||
$TARGET version
|
||||
|
|
|
@ -31,7 +31,7 @@ for version in $DOCKER_VERSIONS; do
|
|||
|
||||
function on_exit() {
|
||||
if [[ "$?" != "0" ]]; then
|
||||
docker logs "$daemon_container"
|
||||
docker logs "$daemon_container" 2>&1 | tail -n 100
|
||||
fi
|
||||
docker rm -vf "$daemon_container"
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ for version in $DOCKER_VERSIONS; do
|
|||
--volume="/var/lib/docker" \
|
||||
dockerswarm/dind:$version \
|
||||
docker daemon -H tcp://0.0.0.0:2375 $DOCKER_DAEMON_ARGS \
|
||||
2>&1 | tail -n 10
|
||||
|
||||
docker run \
|
||||
--rm \
|
||||
|
|
Loading…
Reference in New Issue