From: zhihui wu Date: Thu, 15 Mar 2018 08:07:24 +0000 (+0800) Subject: mount a ubuntu 16.04 image into qtip container X-Git-Tag: opnfv-6.0.0~11^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F51%2F53851%2F1;p=qtip.git mount a ubuntu 16.04 image into qtip container Downloading image time can be saved. Change-Id: I71de2cd14bdc0f279a75bfeffe959a603e8a7026 Signed-off-by: zhihui wu --- diff --git a/tests/ci/compute/docker-compose.yaml b/tests/ci/compute/docker-compose.yaml index b6bdf13d..896908d1 100644 --- a/tests/ci/compute/docker-compose.yaml +++ b/tests/ci/compute/docker-compose.yaml @@ -16,3 +16,4 @@ services: env_file: ${ENV_FILE} volumes: - ${SSH_CREDENTIALS}:/root/.ssh + - ${IMAGE_DIR}:/tmp diff --git a/tests/ci/utils/start_services.sh b/tests/ci/utils/start_services.sh index c2129570..602a999e 100644 --- a/tests/ci/utils/start_services.sh +++ b/tests/ci/utils/start_services.sh @@ -19,6 +19,7 @@ OPNFV_RELEASE=${OPNFV_RELEASE:-} EOF export SSH_CREDENTIALS=${SSH_CREDENTIALS:-/root/.ssh} +export IMAGE_DIR=${IMAGE_DIR:-$HOME/tmp} TMPFILE=`mktemp /tmp/qtip.XXXXXX` || exit 1 curl https://git.opnfv.org/releng/plain/utils/fetch_os_creds.sh | bash -s -- \