docker-py: don't build --quiet is TESTDEBUG is set

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit ba8f4c7994)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-07-13 18:47:36 +02:00
parent 89e812a1e6
commit c3a7556f73
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -36,7 +36,8 @@ source hack/make/.integration-test-helpers
echo INFO: Building ${docker_py_image}...
(
[ -n "${TESTDEBUG}" ] && set -x
exec docker build --quiet -t ${docker_py_image} -f tests/Dockerfile "https://github.com/docker/docker-py.git#${DOCKER_PY_COMMIT}"
[ -z "${TESTDEBUG}" ] && build_opts="--quiet"
exec docker build ${build_opts} -t ${docker_py_image} -f tests/Dockerfile "https://github.com/docker/docker-py.git#${DOCKER_PY_COMMIT}"
)
fi