aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.wu@futurewei.com>2019-06-25 09:32:28 -0700
committerGary Wu <gary.wu@futurewei.com>2019-06-25 09:32:28 -0700
commitab5a0b66da6cecf466c0fcff5961f79e3c325387 (patch)
treeba4a8c6970aa9f1d5fc01c11b55952f2583dc503
parentbe781a97940c872efb381e37e19328f2f0ff2646 (diff)
Add back pkg_host variable during transition
Add back the pkg_host variable assignment until testsuite 1.5.0 is released, so that the vfwclosedloop case can continue to work in the mean time. Issue-ID: TEST-158 Signed-off-by: Gary Wu <gary.wu@futurewei.com> Change-Id: I95c147ead54baab4f1dcbf090b00b0e5dbb60c8f
-rwxr-xr-xdemo-k8s.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/demo-k8s.sh b/demo-k8s.sh
index 0f45783..eb6744b 100755
--- a/demo-k8s.sh
+++ b/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
-