summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Xu <yang.xu@futurewei.com>2019-06-25 20:32:11 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-25 20:32:11 +0000
commiteb79ce8f1424df9b4f60bde73a1fc289faa3a5d7 (patch)
tree05e1f14c53356759621d3a5c0e6247dbd2e2f209
parent422d76001f0f5832fdb89d32c5a09ea5e2d60ae5 (diff)
parent1b6664aec1846bf1c9c67890e5f81e77d053d645 (diff)
Merge "Add back pkg_host variable during transition"
-rwxr-xr-xkubernetes/robot/demo-k8s.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/kubernetes/robot/demo-k8s.sh b/kubernetes/robot/demo-k8s.sh
index 0f4578364a..eb6744b1ac 100755
--- a/kubernetes/robot/demo-k8s.sh
+++ b/kubernetes/robot/demo-k8s.sh
@@ -59,7 +59,7 @@ function usage
# Set the defaults
-echo "Number of parameters:"
+echo "Number of parameters:"
echo $#
if [ $# -lt 2 ];then
@@ -199,7 +199,7 @@ do
vfwclosedloop)
TAG="vfwclosedloop"
shift
- VARIABLES="$VARIABLES -v PACKET_GENERATOR_HOST:$1"
+ VARIABLES="$VARIABLES -v PACKET_GENERATOR_HOST:$1 -v pkg_host:$1"
shift
;;
*)
@@ -221,4 +221,3 @@ 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"
kubectl --namespace $NAMESPACE exec ${POD} -- ${ETEHOME}/runTags.sh ${VARIABLEFILES} ${VARIABLES} -d /share/logs/${OUTPUT_FOLDER} -i ${TAG} --display $DISPLAY_NUM 2> ${TAG}.out
-