aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/compute
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-09-08 17:08:59 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-09-13 15:48:48 +0800
commit2bf95e68a19fc3a7c1e3236a977b1d3b6db1c05c (patch)
treec533c1182ffa2314c95c82edf44b9475f8e7f294 /tests/ci/compute
parent4154a75853f6ba004de775194ebffbe00b591012 (diff)
Refactor CI scripts
- Move scripts executed inside container to qtip/scripts - tests/ci is limited to setup the environment and start services Change-Id: I454c715890601c6c6472006c2f0f6131695c2f51 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/ci/compute')
-rw-r--r--tests/ci/compute/docker-compose.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ci/compute/docker-compose.yaml b/tests/ci/compute/docker-compose.yaml
new file mode 100644
index 00000000..f21190e9
--- /dev/null
+++ b/tests/ci/compute/docker-compose.yaml
@@ -0,0 +1,17 @@
+##############################################################################
+# Copyright (c) 2017 Dell EMC, ZTE and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+version: '2'
+services:
+
+ qtip:
+ container_name: compute_qtip
+ image: opnfv/qtip:${DOCKER_TAG}
+ env_file: ${ENV_FILE}
+ volumes: ${SSH_CREDENTIALS}:/root/.ssh