blob: 955d67518d4655733405e5ff59ec2ecdc85c8b5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|