From: Linda Wang Date: Mon, 29 Jan 2018 09:59:04 +0000 (+0000) Subject: Pull the image before running functest container X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=6bd0cba3d3546f4017efb708519e59a4e2b45f44 Pull the image before running functest container Change-Id: Iebd8a9b558486927c25735d266d3557f91e26a15 Signed-off-by: Linda Wang --- 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