From 69135eca899c6bd99682e1be0f914f98232263cc Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Fri, 15 Jul 2016 11:40:54 +0800 Subject: Mount a local image store directory to qtip container. Use docker run with parameter -v. The image file QTIP_CentOS.qcow2 is downloaded each time. To save the execution time of CI, mount this file to a local directory of qtip container. Change-Id: I86350e4af872001a74d37d1e8d481c565be0de28 Signed-off-by: wu.zhihui --- jjb/qtip/qtip-ci-jobs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'jjb/qtip') diff --git a/jjb/qtip/qtip-ci-jobs.yml b/jjb/qtip/qtip-ci-jobs.yml index 36f026d7c..068b273f7 100644 --- a/jjb/qtip/qtip-ci-jobs.yml +++ b/jjb/qtip/qtip-ci-jobs.yml @@ -94,8 +94,10 @@ echo "Qtip: Start Docker and prepare environment" envs="INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} -e NODE_NAME=${NODE_NAME}" suite="TEST_CASE=all" + dir_imgstore="${HOME}/imgstore" + img_volume="${dir_imgstore}:/home/opnfv/imgstore" docker pull opnfv/qtip:latest - cmd=" docker run -id -e $envs -e $suite opnfv/qtip:latest /bin/bash" + cmd=" docker run -id -e $envs -e $suite -v ${img_volume} opnfv/qtip:latest /bin/bash" echo "Qtip: Running docker run command: ${cmd}" ${cmd} docker ps -a -- cgit 1.2.3-korg