From bf7f159df7eb6f086a96b0cb687337ccdc8d632b Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Fri, 14 Sep 2018 10:29:27 -0700 Subject: Add portal option to ete test script Change-Id: I42011b0dae86eb96b52764085adfccbb8e062b9d Issue-ID: PORTAL-388 Signed-off-by: Gary Wu --- kubernetes/robot/demo-k8s.sh | 4 +++- kubernetes/robot/ete-k8s.sh | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kubernetes/robot/demo-k8s.sh b/kubernetes/robot/demo-k8s.sh index 5e8ba3331b..c4124c2ad4 100755 --- a/kubernetes/robot/demo-k8s.sh +++ b/kubernetes/robot/demo-k8s.sh @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/bin/bash -x +#!/bin/bash # # Execute tags built to support the hands on demo, @@ -166,6 +166,8 @@ do esac done +set -x + ETEHOME=/var/opt/OpenECOMP_ETE VARIABLEFILES="-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py" POD=$(kubectl --namespace $NAMESPACE get pods | sed 's/ .*//'| grep robot) diff --git a/kubernetes/robot/ete-k8s.sh b/kubernetes/robot/ete-k8s.sh index befe142311..22b83e8545 100755 --- a/kubernetes/robot/ete-k8s.sh +++ b/kubernetes/robot/ete-k8s.sh @@ -20,10 +20,11 @@ # Note: Do not run multiple concurrent ete.sh as the --display is not parameterized and tests will collide # if [ "$1" == "" ] || [ "$2" == "" ]; then - echo "Usage: ete-k8s.sh [namespace] [ health | ete | closedloop | instantiate | distribute ]" + echo "Usage: ete-k8s.sh [namespace] [ health | ete | closedloop | instantiate | distribute | portal ]" exit fi +set -x export NAMESPACE="$1" -- cgit 1.2.3-korg