diff options
author | 2017-08-16 15:56:17 +0800 | |
---|---|---|
committer | 2017-08-18 16:01:39 +0800 | |
commit | 70fc96ee9d7785a46de6847cd8bbb54a26bff3eb (patch) | |
tree | da9fedcebcffc48a9ea7373deb228f1d6c02f835 /tests/ci/storperf/qtip-storperf-docker-compose.yaml | |
parent | 84ea7388ecb34034f7c6886886c46b00afc82c2c (diff) |
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 <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'tests/ci/storperf/qtip-storperf-docker-compose.yaml')
-rw-r--r-- | tests/ci/storperf/qtip-storperf-docker-compose.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
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 |