Browse code

update docker-py to 7.1.0

full diff: https://github.com/docker/docker-py/compare/7.0.0...7.1.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2024/01/18 00:36:42
Showing 1 changed files
... ...
@@ -4,7 +4,8 @@ set -e
4 4
 source hack/make/.integration-test-helpers
5 5
 
6 6
 # The commit or tag to use for testing
7
-: "${DOCKER_PY_COMMIT:=7.0.0}"
7
+# TODO(thaJeztah): remove VERSION build-arg once https://github.com/docker/docker-py/pull/3267 is merged and released.
8
+: "${DOCKER_PY_COMMIT:=7.1.0}"
8 9
 
9 10
 # custom options to pass py.test
10 11
 #
... ...
@@ -55,8 +56,9 @@ PY_TEST_OPTIONS="$PY_TEST_OPTIONS --deselect=tests/integration/api_image_test.py
55 55
 			[ -n "${TESTDEBUG}" ] && set -x
56 56
 			[ -z "${TESTDEBUG}" ] && build_opts="--quiet"
57 57
 			[ -f /.dockerenv ] || build_opts="${build_opts} --network=host"
58
+			# TODO(thaJeztah): remove VERSION build-arg once https://github.com/docker/docker-py/pull/3267 is merged and released.
58 59
 			# shellcheck disable=SC2086
59
-			exec docker build ${build_opts} -t "${docker_py_image}" -f tests/Dockerfile "https://github.com/docker/docker-py.git#${DOCKER_PY_COMMIT}"
60
+			exec docker build ${build_opts} -t "${docker_py_image}" --build-arg VERSION="${DOCKER_PY_COMMIT}" -f tests/Dockerfile "https://github.com/docker/docker-py.git#${DOCKER_PY_COMMIT}"
60 61
 		)
61 62
 	fi
62 63