diff --git a/DEPENDENCIES b/DEPENDENCIES index 7b0fdbda..62f24f95 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -1,3 +1,3 @@ -DOCKER_VERSION=1.13.1 +DOCKER_VERSION=17.06 KUBERNETES_VERSION=1.6.2 KUBERNETES_CNI_VERSION=0.5.1 diff --git a/test/600_proxy_docker_py.sh b/test/600_proxy_docker_py.sh index dee0c2b1..a849cfef 100755 --- a/test/600_proxy_docker_py.sh +++ b/test/600_proxy_docker_py.sh @@ -3,7 +3,7 @@ . "$(dirname "$0")/config.sh" -IMAGE="joffrey/docker-py:1.9.0-rc2" +IMAGE="weaveworks/docker-py:1.9.0-prime" docker_py_test() { SHARD=$1 diff --git a/test/610_proxy_wait_for_weave_test.sh b/test/610_proxy_wait_for_weave_test.sh index a701a9bb..82053b54 100755 --- a/test/610_proxy_wait_for_weave_test.sh +++ b/test/610_proxy_wait_for_weave_test.sh @@ -46,6 +46,6 @@ assert "echo $((dirs_with_proxy-3))" $dirs_sans_proxy # Check errors are returned (when docker returns an error code) assert_raises "proxy docker_on $HOST1 run -e 'WEAVE_CIDR=10.2.1.3/24' $SMALL_IMAGE foo 2>&1 | grep 'exec: \"foo\": executable file not found in \$PATH'" # Check errors still happen when no command is specified -assert_raises "proxy docker_on $HOST1 run -e 'WEAVE_CIDR=10.2.1.3/24' $SMALL_IMAGE 2>&1 | grep 'Error response from daemon: No command specified'" +assert_raises "proxy docker_on $HOST1 run -e 'WEAVE_CIDR=10.2.1.3/24' weaveworks/no-cmd 2>&1 | grep 'Error response from daemon: No command specified'" end_suite diff --git a/test/images/no-cmd/Dockerfile b/test/images/no-cmd/Dockerfile new file mode 100644 index 00000000..7b431273 --- /dev/null +++ b/test/images/no-cmd/Dockerfile @@ -0,0 +1,4 @@ +# Create a Docker image with no CMD, specifically so we can generate +# an error when we try to run it +FROM scratch +COPY Dockerfile / diff --git a/tools b/tools index 11400eaa..74dc626b 160000 --- a/tools +++ b/tools @@ -1 +1 @@ -Subproject commit 11400eaa2cea2f954fb3e5ecdf5e5d63649c25c8 +Subproject commit 74dc626b6de3ffb38591510f7cb7bc2db33743c4