From 73d7812dc520b406de1caf639cef321346b2f60c Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 7 Jun 2016 13:23:12 +0100 Subject: [PATCH] Check that latest version of weave image exists The smoke-tests are meant to be run in a context where you have just uploaded a build. If that upload failed and we don't do this check then we will download the 'latest' images from DockerHub. --- test/sanity_check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/sanity_check.sh b/test/sanity_check.sh index 592a6b77..a9c02745 100755 --- a/test/sanity_check.sh +++ b/test/sanity_check.sh @@ -22,5 +22,6 @@ for host in $HOSTS; do echo "# docker info" docker_on $host info echo "# weave version" + docker inspect -f {{.Created}} weaveworks/weave:${WEAVE_VERSION:-latest} weave_on $host version done