From 2bf95e68a19fc3a7c1e3236a977b1d3b6db1c05c Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Fri, 8 Sep 2017 17:08:59 +0800 Subject: 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 --- tests/ci/storage/docker-compose.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/ci/storage/docker-compose.yaml (limited to 'tests/ci/storage/docker-compose.yaml') diff --git a/tests/ci/storage/docker-compose.yaml b/tests/ci/storage/docker-compose.yaml new file mode 100644 index 00000000..7ffb0364 --- /dev/null +++ b/tests/ci/storage/docker-compose.yaml @@ -0,0 +1,27 @@ +############################################################################## +# 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: + + storperf: + container_name: storage_storperf + image: opnfv/storperf:${DOCKER_TAG} + ports: + - 5000:5000 + env_file: ${ENV_FILE} + + qtip: + container_name: storage_qtip + image: opnfv/qtip:${DOCKER_TAG} + env_file: ${ENV_FILE} + volumes: + - ${SSH_CREDENTIALS}:/root/.ssh + links: + - storperf -- cgit 1.2.3-korg