Persisting ETCD data in voltha-scale jobs
Change-Id: I5a6a3fadb2e792bbc4eb6302c99aed639dd1b5fd
diff --git a/jjb/pipeline/voltha/master/voltha-scale-test.groovy b/jjb/pipeline/voltha/master/voltha-scale-test.groovy
index 34c6808..cb471cb 100644
--- a/jjb/pipeline/voltha/master/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha/master/voltha-scale-test.groovy
@@ -68,6 +68,9 @@
helm repo add onf https://charts.opencord.org
helm repo update
+ # remove all pv and pvc from the cluste
+ kubectl delete pvc --all
+
# remove orphaned port-forward from different namespaces
ps aux | grep port-forw | grep -v grep | awk '{print $2}' | xargs --no-run-if-empty kill -9 || true
diff --git a/jjb/voltha-scale.yaml b/jjb/voltha-scale.yaml
index ca5fc69..ac6012c 100644
--- a/jjb/voltha-scale.yaml
+++ b/jjb/voltha-scale.yaml
@@ -62,7 +62,7 @@
withEapol: true
withDhcp: true
withIgmp: false
- extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml'
+ extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml --set etcd.persistence.enabled=true,etcd.persistence.storageClass=longhorn'
onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
bbsimImg: gcgirish/bbsim:etcd
rwCoreImg: volthacore/voltha-rw-core:noflows