diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-08-24 12:38:45 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-08-24 12:41:23 +0200 |
commit | 4e3b79e688d0cd0ed8e9fde1195ac25bddcfc268 (patch) | |
tree | 5824ad88f79d503b9771c6c355027961f206eb52 /jjb | |
parent | 4975d04ccfab91e1d4f9e4e8fdb5d8f469e80782 (diff) |
yardstick: Pull the right image for master and colorado branches
Change-Id: I868b837f67d24c53ee40bbd03fb1997da4938b3b
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/yardstick/yardstick-daily.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/yardstick/yardstick-daily.sh b/jjb/yardstick/yardstick-daily.sh index 7e9a65b82..b3705415f 100755 --- a/jjb/yardstick/yardstick-daily.sh +++ b/jjb/yardstick/yardstick-daily.sh @@ -33,11 +33,12 @@ envs="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \ -e NODE_NAME=${NODE_NAME} -e EXTERNAL_NETWORK=${EXTERNAL_NETWORK} \ -e YARDSTICK_BRANCH=${GIT_BRANCH##origin/} -e DEPLOY_SCENARIO=${DEPLOY_SCENARIO}" -# Pull the latest image +# Pull the image with correct tag +echo "Yardstick: Pulling image opnfv/yardstick:${DOCKER_TAG}" docker pull opnfv/yardstick:$DOCKER_TAG >$redirect # Run docker -cmd="sudo docker run ${opts} ${envs} ${labconfig} ${sshkey} opnfv/yardstick \ +cmd="sudo docker run ${opts} ${envs} ${labconfig} ${sshkey} opnfv/yardstick:${DOCKER_TAG} \ exec_tests.sh ${YARDSTICK_DB_BACKEND} ${YARDSTICK_SCENARIO_SUITE_NAME}" echo "Yardstick: Running docker cmd: ${cmd}" ${cmd} |