[VOL-3227] Fixing extraParams on att-flows job
Change-Id: Ic4c4dfca63981b04993864e673181074fdc8e0eb
diff --git a/jjb/pipeline/voltha-scale-test.groovy b/jjb/pipeline/voltha-scale-test.groovy
index 8c8234e..ba9e535 100644
--- a/jjb/pipeline/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha-scale-test.groovy
@@ -150,7 +150,9 @@
sh '''
helm install -n kafka incubator/kafka --version 0.13.3 --set replicas=3 --set persistence.enabled=false --set zookeeper.replicaCount=3 --set zookeeper.persistence.enabled=false --version=0.15.3
- helm install -f $WORKSPACE/kind-voltha/minimal-values.yaml --set etcd.replicas=3 -n etcd incubator/etcd ${extraHelmFlags}
+ # the ETCD chart use "auth" for resons different than BBsim, so strip that away
+ ETCD_FLAGS=$(echo ${extraHelmFlags} | sed -e 's/--set auth=false / /g') | sed -e 's/--set auth=true / /g'
+ helm install -f $WORKSPACE/kind-voltha/minimal-values.yaml --set etcd.replicas=3 -n etcd incubator/etcd $ETCD_FLAGS
if [ ${withMonitoring} = true ] ; then
helm install -n nem-monitoring cord/nem-monitoring \
@@ -198,6 +200,9 @@
cd $WORKSPACE/kind-voltha/
./voltha up
+
+ # Forward the ETCD port onto $VOLTHA_ETCD_PORT
+ _TAG=etcd-port-forward kubectl port-forward --address 0.0.0.0 -n default service/etcd $VOLTHA_ETCD_PORT:2379&
"""
}
// bbsim-sadis server takes a while to cache the subscriber entries
@@ -247,7 +252,6 @@
fi
# Set extra openolt-adapter logs
- _TAG=etcd-port-forward kubectl port-forward --address 0.0.0.0 -n default service/etcd 9999:2379&
voltctl log level set INFO adapter-open-olt
voltctl log level set WARN adapter-open-olt#github.com/opencord/voltha-lib-go/v3/pkg/db
voltctl log level set WARN adapter-open-olt#github.com/opencord/voltha-lib-go/v3/pkg/probe