Updating voltha-scale-multi-stack pipeline to latest keywords
Change-Id: I744107a1762ba1fe1b0361417b5e0af7834a4179
diff --git a/vars/volthaStackDeploy.groovy b/vars/volthaStackDeploy.groovy
index 9979cd9..4416ae4 100644
--- a/vars/volthaStackDeploy.groovy
+++ b/vars/volthaStackDeploy.groovy
@@ -10,6 +10,7 @@
workflow: "att",
extraHelmFlags: "",
localCharts: false,
+ onosReplica: 1,
]
if (!config) {
@@ -38,6 +39,7 @@
helm upgrade --install --create-namespace -n ${cfg.volthaNamespace} ${cfg.stackName} ${volthaStackChart} \
--set global.stack_name=${cfg.stackName} \
--set global.voltha_infra_name=voltha-infra \
+ --set voltha.onos_classic.replicas=${cfg.onosReplica} \
--set global.voltha_infra_namespace=${cfg.infraNamespace} \
${cfg.extraHelmFlags}
"""
@@ -86,6 +88,7 @@
"""
// also make sure that the ONOS config is loaded
+ // NOTE that this is only required for VOLTHA-2.8, 2.9 switched to a Deployment
println "Wait for ONOS Config loader to complete"
sh """