From 70fc96ee9d7785a46de6847cd8bbb54a26bff3eb Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Wed, 16 Aug 2017 15:56:17 +0800 Subject: refactor storperf scripts structure - Run qtip and storperf containers by docker-compose - Cope the current patch changes into qtip container for verification - Run the script run_storage_qpi.sh for storperf test Change-Id: Ic140fb7531d270b9c62bcd72f5dbc13917534daf Signed-off-by: zhihui wu --- .../ci/storperf/qtip-storperf-docker-compose.yaml | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 tests/ci/storperf/qtip-storperf-docker-compose.yaml (limited to 'tests/ci/storperf/qtip-storperf-docker-compose.yaml') diff --git a/tests/ci/storperf/qtip-storperf-docker-compose.yaml b/tests/ci/storperf/qtip-storperf-docker-compose.yaml new file mode 100644 index 00000000..fc837139 --- /dev/null +++ b/tests/ci/storperf/qtip-storperf-docker-compose.yaml @@ -0,0 +1,45 @@ +############################################################################## +# 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-master: + container_name: "storperf-master" + image: opnfv/storperf-master:${DOCKER_TAG} + ports: + - "8000:8000" + env_file: ${ENV_FILE} + + storperf-reporting: + container_name: "storperf-reporting" + image: opnfv/storperf-reporting:${DOCKER_TAG} + ports: + - "5080:5000" + + storperf-swaggerui: + container_name: "storperf-swaggerui" + image: "schickling/swagger-ui" + + storperf-httpfrontend: + container_name: "storperf-httpfrontend" + image: opnfv/storperf-httpfrontend:${DOCKER_TAG} + ports: + - "5000:5000" + links: + - storperf-master + - storperf-reporting + - storperf-swaggerui + + qtip: + container_name: qtip + image: opnfv/qtip:${DOCKER_TAG} + env_file: ${ENV_FILE} + links: + - storperf-httpfrontend \ No newline at end of file -- cgit 1.2.3-korg