[VOL-4355] Added volthaNamespace and infraNamespace as input to ROBOT_MISC_ARGS
Change-Id: I9d2f421f101b1a75521c6de7f5f94073f65dbf33
diff --git a/jjb/pipeline/voltha/master/software-upgrades.groovy b/jjb/pipeline/voltha/master/software-upgrades.groovy
index de6f8ce..42b132b 100644
--- a/jjb/pipeline/voltha/master/software-upgrades.groovy
+++ b/jjb/pipeline/voltha/master/software-upgrades.groovy
@@ -21,6 +21,8 @@
remote: 'https://gerrit.opencord.org/ci-management.git'
])
def test_software_upgrade(name) {
+ def infraNamespace = "infra"
+ def volthaNamespace = "voltha"
stage('Deploy Voltha - '+ name) {
def extraHelmFlags = extraHelmFlags.trim()
extraHelmFlags = extraHelmFlags + " --set global.log_level=DEBUG,onu=1,pon=1 --set onos-classic.replicas=3,onos-classic.atomix.replicas=3 "
@@ -112,7 +114,7 @@
fi
export VOLTCONFIG=$HOME/.volt/config-minimal
export KUBECONFIG=$HOME/.kube/kind-config-voltha-minimal
- ROBOT_MISC_ARGS+=" -v ONOS_SSH_PORT:30115 -v ONOS_REST_PORT:30120"
+ ROBOT_MISC_ARGS+=" -v ONOS_SSH_PORT:30115 -v ONOS_REST_PORT:30120 -v NAMESPACE:${volthaNamespace} -v INFRA_NAMESPACE:${infraNamespace}"
# Run the specified tests
make -C $WORKSPACE/voltha-system-tests \$TARGET || true
"""