aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2018-03-15 16:07:24 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2018-03-15 16:07:24 +0800
commit1e54a52f35d3476717b10f7e43deb0ff614bbae7 (patch)
treef24749415b715fab9f3ada1db79b523282ba3b59 /tests/ci
parent03db56111d476465e37a3e005cdd6b9e21fc945f (diff)
mount a ubuntu 16.04 image into qtip container
Downloading image time can be saved. Change-Id: I71de2cd14bdc0f279a75bfeffe959a603e8a7026 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'tests/ci')
-rw-r--r--tests/ci/compute/docker-compose.yaml1
-rw-r--r--tests/ci/utils/start_services.sh1
2 files changed, 2 insertions, 0 deletions
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 -- \