aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/run_storage_qpi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ci/run_storage_qpi.sh')
-rwxr-xr-xtests/ci/run_storage_qpi.sh18
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