From 3b440fba4ca0781bcf1283baaa5c44704d745017 Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Wed, 9 Aug 2017 16:34:30 +0800 Subject: refactor: run storperf scripts in qtip container The preious storperf scripts can only be run based on the host. This patch will make them run in qtip container. JIRA: QTIP-248 README.md will tell you how to use these scripts. Change-Id: I4d2d51f859499e6e56ae8692d880cbde27297b82 Signed-off-by: zhihui wu --- integration/storperf/run_ci.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 integration/storperf/run_ci.sh (limited to 'integration/storperf/run_ci.sh') diff --git a/integration/storperf/run_ci.sh b/integration/storperf/run_ci.sh new file mode 100755 index 00000000..ca67ac62 --- /dev/null +++ b/integration/storperf/run_ci.sh @@ -0,0 +1,21 @@ +#! /bin/bash +############################################################################## +# Copyright (c) 2017 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 +############################################################################## + + +source $WORKSPACE/integration/storperf/launch_containers.sh -t $INSTALLER_TYPE -n $NODE_NAME + +docker exec qtip bash -c "/home/opnfv/repos/qtip/integration/storperf/prepare.sh" + +docker exec qtip bash -c "/home/opnfv/repos/qtip/integration/storperf/start_job.sh" + +docker exec qtip bash -c "/home/opnfv/repos/qtip/integration/storperf/cleanup.sh" + +exit 0 + + -- cgit 1.2.3-korg