diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-24 17:07:50 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-26 02:24:07 +0000 |
commit | 9eb2005c087a6c064fd2880edd253028e3ea1513 (patch) | |
tree | f08671811e0c70e5c29173ea4ef4ea2aea37332b /tests/ci/run_storage_qpi.sh | |
parent | 73f6ca735e00902f9b71a9110eb97c7b008d8e94 (diff) |
Refactor storperf testing scripts into ansible role
Change-Id: Ifbfe0818a528dbd9b2c176acf39450ca480e931a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/ci/run_storage_qpi.sh')
-rwxr-xr-x | tests/ci/run_storage_qpi.sh | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tests/ci/run_storage_qpi.sh b/tests/ci/run_storage_qpi.sh index d4859d56..955d6751 100755 --- a/tests/ci/run_storage_qpi.sh +++ b/tests/ci/run_storage_qpi.sh @@ -7,8 +7,20 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -#TODO: These will be replaced by qtip cli script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -$script_dir/storperf/prepare.sh -$script_dir/storperf/start_job.sh
\ No newline at end of file +cd /home/opnfv + +qtip create --project-template storage --pod-name ${NODE_NAME} --installer-type ${INSTALLER_TYPE} \ +--installer-host ${INSTALLER_IP} --scenario ${SCENARIO} workspace + +cd /home/opnfv/workspace/ + +qtip setup +eval `ssh-agent` +if [[ -z $testapi_url ]];then + qtip run -vv +else + qtip run --extra-vars "testapi_url=${TESTAPI_URL}" +fi +qtip teardown |