diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2018-03-15 16:07:24 +0800 |
---|---|---|
committer | zhihui wu <wu.zhihui1@zte.com.cn> | 2018-03-15 16:07:24 +0800 |
commit | 1e54a52f35d3476717b10f7e43deb0ff614bbae7 (patch) | |
tree | f24749415b715fab9f3ada1db79b523282ba3b59 /tests/ci | |
parent | 03db56111d476465e37a3e005cdd6b9e21fc945f (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.yaml | 1 | ||||
-rw-r--r-- | tests/ci/utils/start_services.sh | 1 |
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 -- \ |