aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-09-14 10:29:27 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-09-14 10:29:58 -0700
commitbf7f159df7eb6f086a96b0cb687337ccdc8d632b (patch)
treed933732b25070f93c8412fc6edddc63bde1d3505 /kubernetes
parenta859647740e19b62c44244e256c48a8847900259 (diff)
Add portal option to ete test script
Change-Id: I42011b0dae86eb96b52764085adfccbb8e062b9d Issue-ID: PORTAL-388 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/robot/demo-k8s.sh4
-rwxr-xr-xkubernetes/robot/ete-k8s.sh3
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"