From c191f55927899a0d436e5deaa723a18b894113dc Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Thu, 28 Jan 2016 11:46:52 +0100 Subject: Usey latest tag in Functest jjob until release tag candidate is fixed This way we use the latest docker image for each functest run from CI, and don't have to build manually the tag latest_stable Change-Id: I0c17d66fddc4c8a7c9756d29b0b00c5b25c82f4a Signed-off-by: jose.lausuch --- jjb/functest/functest-ci-jobs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'jjb/functest/functest-ci-jobs.yml') diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml index 2b91ed692..10ea72b53 100644 --- a/jjb/functest/functest-ci-jobs.yml +++ b/jjb/functest/functest-ci-jobs.yml @@ -243,13 +243,13 @@ sudo rm -rf ${dir_result}/* res_volume="-v ${dir_result}:/home/opnfv/functest/results" - docker pull opnfv/functest:latest_stable >$redirect - cmd="sudo docker run --privileged=true -id ${envs} ${labconfig} ${sshkey} ${res_volume} opnfv/functest:latest_stable /bin/bash" + docker pull opnfv/functest:latest >$redirect + cmd="sudo docker run --privileged=true -id ${envs} ${labconfig} ${sshkey} ${res_volume} opnfv/functest:latest /bin/bash" echo "Functest: Running docker run command: ${cmd}" ${cmd} docker ps -a sleep 5 - container_id=$(docker ps | grep 'opnfv/functest:latest_stable' | awk '{print $1}' | head -1) + container_id=$(docker ps | grep 'opnfv/functest:latest' | awk '{print $1}' | head -1) echo "Container ID=${container_id}" if [ -z ${container_id} ]; then echo "Cannot find opnfv/functest container ID ${container_id}. Please check if it is existing." @@ -260,7 +260,7 @@ docker start ${container_id} sleep 5 docker ps - if [ $(docker ps | grep 'opnfv/functest:latest_stable' | wc -l) == 0 ]; then + if [ $(docker ps | grep 'opnfv/functest:latest' | wc -l) == 0 ]; then echo "The container opnfv/functest with ID=${container_id} has not been properly started. Exiting..." exit 1 fi -- cgit 1.2.3-korg