Pull the image before running functest container 93/51293/1
authorLinda Wang <wangwulin@huawei.com>
Mon, 29 Jan 2018 09:59:04 +0000 (09:59 +0000)
committerLinda Wang <wangwulin@huawei.com>
Mon, 29 Jan 2018 09:59:04 +0000 (09:59 +0000)
Change-Id: Iebd8a9b558486927c25735d266d3557f91e26a15
Signed-off-by: Linda Wang <wangwulin@huawei.com>
jjb/functest/functest-alpine.sh

index 735ca6f..3ad531b 100755 (executable)
@@ -6,7 +6,10 @@ set +o pipefail
 
 check_os_deployment() {
     FUNCTEST_IMAGE=opnfv/functest-healthcheck:${DOCKER_TAG}
+    echo "Functest: Pulling Functest Docker image ${FUNCTEST_IMAGE} ..."
+    docker pull ${FUNCTEST_IMAGE}>/dev/null
     cmd="docker run --rm --privileged=true ${volumes} ${FUNCTEST_IMAGE} check_deployment"
+    echo "Checking deployment, CMD: ${cmd}"
     eval ${cmd}
     ret_value=$?
     if [ ${ret_value} != 0 ]; then