Skip to content

Commit 0dfae33

Browse files
Yuval GoldbergUlysses Souza
authored andcommitted
Add file environment variable to integration-dind
Signed-off-by: Yuval Goldberg <[email protected]>
1 parent 2c522fb commit 0dfae33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ integration-dind-py2: build setup-network
5757
docker run -d --network dpy-tests --name dpy-dind-py2 --privileged\
5858
docker:${TEST_ENGINE_VERSION}-dind dockerd -H tcp://0.0.0.0:2375 --experimental
5959
docker run -t --rm --env="DOCKER_HOST=tcp://dpy-dind-py2:2375" --env="DOCKER_TEST_API_VERSION=${TEST_API_VERSION}"\
60-
--network dpy-tests docker-sdk-python py.test tests/integration
60+
--network dpy-tests docker-sdk-python py.test tests/integration/${file}
6161
docker rm -vf dpy-dind-py2
6262

6363
.PHONY: integration-dind-py3
@@ -66,7 +66,7 @@ integration-dind-py3: build-py3 setup-network
6666
docker run -d --network dpy-tests --name dpy-dind-py3 --privileged\
6767
docker:${TEST_ENGINE_VERSION}-dind dockerd -H tcp://0.0.0.0:2375 --experimental
6868
docker run -t --rm --env="DOCKER_HOST=tcp://dpy-dind-py3:2375" --env="DOCKER_TEST_API_VERSION=${TEST_API_VERSION}"\
69-
--network dpy-tests docker-sdk-python3 py.test tests/integration
69+
--network dpy-tests docker-sdk-python3 py.test tests/integration/${file}
7070
docker rm -vf dpy-dind-py3
7171

7272
.PHONY: integration-dind-ssl
@@ -81,10 +81,10 @@ integration-dind-ssl: build-dind-certs build build-py3
8181
--tlskey=/certs/server-key.pem -H tcp://0.0.0.0:2375 --experimental
8282
docker run -t --rm --volumes-from dpy-dind-ssl --env="DOCKER_HOST=tcp://docker:2375"\
8383
--env="DOCKER_TLS_VERIFY=1" --env="DOCKER_CERT_PATH=/certs" --env="DOCKER_TEST_API_VERSION=${TEST_API_VERSION}"\
84-
--network dpy-tests docker-sdk-python py.test tests/integration
84+
--network dpy-tests docker-sdk-python py.test tests/integration/${file}
8585
docker run -t --rm --volumes-from dpy-dind-ssl --env="DOCKER_HOST=tcp://docker:2375"\
8686
--env="DOCKER_TLS_VERIFY=1" --env="DOCKER_CERT_PATH=/certs" --env="DOCKER_TEST_API_VERSION=${TEST_API_VERSION}"\
87-
--network dpy-tests docker-sdk-python3 py.test tests/integration
87+
--network dpy-tests docker-sdk-python3 py.test tests/integration/${file}
8888
docker rm -vf dpy-dind-ssl dpy-dind-certs
8989

9090
.PHONY: flake8

0 commit comments

Comments
 (0)