diff options
Diffstat (limited to 'tests/ci/run_storage_qpi.sh')
-rwxr-xr-x | tests/ci/run_storage_qpi.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/ci/run_storage_qpi.sh b/tests/ci/run_storage_qpi.sh new file mode 100755 index 00000000..955d6751 --- /dev/null +++ b/tests/ci/run_storage_qpi.sh @@ -0,0 +1,26 @@ +#! /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 +############################################################################## + +script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +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 |