summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/eteHelm-k8s.sh
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-26 15:31:46 -0400
committerDR695H <dr695h@att.com>2019-07-29 13:55:16 -0400
commit100508c995ab586218a82e457d8abc07ee6f339d (patch)
tree0cd32ac58b9079168ec5e86a8df3ef51ba1f083b /kubernetes/robot/eteHelm-k8s.sh
parent26eea1475362cc24c46132d11f564af7c783c2be (diff)
removing and move to subrepo
i accounted for all changes made here but not merged (1 pull) Issue-ID: TEST-165 Change-Id: I8e0921d1a462f9fec5f838f0618980bd91b64f95 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'kubernetes/robot/eteHelm-k8s.sh')
-rwxr-xr-xkubernetes/robot/eteHelm-k8s.sh50
1 files changed, 0 insertions, 50 deletions
diff --git a/kubernetes/robot/eteHelm-k8s.sh b/kubernetes/robot/eteHelm-k8s.sh
deleted file mode 100755
index c58d8a8775..0000000000
--- a/kubernetes/robot/eteHelm-k8s.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-#!/bin/bash
-
-#
-# Run the health-check testsuites for the tags discovered by helm list
-# Please clean up logs when you are done...
-#
-if [ "$1" == "" ] ; then
- echo "Usage: eteHelm-k8s.sh [namespace]"
- echo " list projects via helm list and runs health-check with those tags except dev and dev-consul"
- exit
-fi
-
-set -x
-
-export NAMESPACE="$1"
-
-POD=$(kubectl --namespace $NAMESPACE get pods | sed 's/ .*//'| grep robot)
-
-PROJECTS=$(helm list | tail +3 | grep '-' | cut -d' ' -f1 | sed -E 's/\w+-(\w+)/health-\1/g' | grep -v consul | grep -v nfs-provision)
-
-TAGS=""
-for project in $PROJECTS ;
-do
-TAGS="$TAGS -i $project"
-done
-
-
-ETEHOME=/var/opt/ONAP
-export GLOBAL_BUILD_NUMBER=$(kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "ls -1q /share/logs/ | wc -l")
-OUTPUT_FOLDER=$(printf %04d $GLOBAL_BUILD_NUMBER)_ete_helmlist
-DISPLAY_NUM=$(($GLOBAL_BUILD_NUMBER + 90))
-
-VARIABLEFILES="-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py"
-VARIABLES="-v GLOBAL_BUILD_NUMBER:$$"
-
-kubectl --namespace $NAMESPACE exec ${POD} -- ${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/${OUTPUT_FOLDER} ${TAGS} --display $DISPLAY_NUM