summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2018-01-29 09:59:04 +0000
committerLinda Wang <wangwulin@huawei.com>2018-01-29 09:59:04 +0000
commit6bd0cba3d3546f4017efb708519e59a4e2b45f44 (patch)
treece7382fbb8b2ff0e707308d973ad579b3c3e8a44
parent4a77332a9be0ee8af444d32e4a8867ede73ade58 (diff)
Pull the image before running functest container
Change-Id: Iebd8a9b558486927c25735d266d3557f91e26a15 Signed-off-by: Linda Wang <wangwulin@huawei.com>
-rwxr-xr-xjjb/functest/functest-alpine.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh
index 735ca6f7f..3ad531b85 100755
--- a/jjb/functest/functest-alpine.sh
+++ b/jjb/functest/functest-alpine.sh
@@ -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