VOL-1320 Allow to deploy locally built images for Voltha Test Automation
For all voltha, onos and ponsimV2 pods deployed, use locally built images

Change-Id: I32aeec87594ab13a217e08c8e01d7d4c44f00c10
diff --git a/tests/atests/build/Makefile b/tests/atests/build/Makefile
index 75cf937..fa28af3 100644
--- a/tests/atests/build/Makefile
+++ b/tests/atests/build/Makefile
@@ -88,14 +88,12 @@
 	touch $@
 
 $(M)/onos: | $(M)/kafka-running
-	cd $(HOME)/cord/helm-charts; helm upgrade --install onos onos -f configs/onos.yaml -f configs/seba-ponsim.yaml --set onosImage=voltha/voltha-onos:latest
+	cd $(HOME)/cord/helm-charts; helm upgrade --install onos onos -f configs/onos.yaml -f configs/seba-ponsim.yaml --set onosImage=voltha-onos:latest,imagePullPolicy=Never
 	touch $@
 
 $(M)/voltha: | $(M)/kafka-running $(M)/onos
 	cd $(HOME)/cord/helm-charts; helm dep up voltha
-	cd $(HOME)/cord/helm-charts; helm upgrade --install voltha -f configs/seba-ponsim.yaml \
-    	--set etcd-operator.customResources.createEtcdClusterCRD=false \
-    	voltha
+	cd $(HOME)/cord/helm-charts; helm upgrade --install voltha voltha -f configs/seba-ponsim.yaml --set vcoreImage=voltha-voltha:latest,envoyForEtcdImage=voltha-envoy:latest,netconfImage=voltha-netconf:latest,ofagentImage=voltha-ofagent:latest,vcliImage=voltha-cli:latest,etcd-operator.customResources.createEtcdClusterCRD=false,imagePullPolicy=Never
 	touch $@
 
 $(M)/etcd-operator-ready: | $(M)/voltha
@@ -112,9 +110,7 @@
 	touch $@
 
 $(M)/etcd-cluster: | $(M)/etcd-operator-ready
-	cd $(HOME)/cord/helm-charts; helm upgrade voltha -f configs/seba-ponsim.yaml \
-    	--set etcd-operator.customResources.createEtcdClusterCRD=true \
-    	voltha
+	cd $(HOME)/cord/helm-charts; helm upgrade --install voltha voltha -f configs/seba-ponsim.yaml --set vcoreImage=voltha-voltha:latest,envoyForEtcdImage=voltha-envoy:latest,netconfImage=voltha-netconf:latest,ofagentImage=voltha-ofagent:latest,vcliImage=voltha-cli:latest,etcd-operator.customResources.createEtcdClusterCRD=true,imagePullPolicy=Never
 	touch $@
 
 $(M)/voltha-running: | $(M)/etcd-cluster
@@ -124,7 +120,7 @@
 $(M)/ponsim: | $(M)/voltha-running
 	cd $(HOME)/cord/helm-charts; helm upgrade --install ponnet ponnet
 	$(HOME)/cord/helm-charts/scripts/wait_for_pods.sh kube-system
-	cd $(HOME)/cord/helm-charts; helm upgrade --install ponsimv2 ponsimv2 -f configs/seba-ponsim.yaml
+	cd $(HOME)/cord/helm-charts; helm upgrade --install ponsimv2 ponsimv2 -f configs/seba-ponsim.yaml --set images.olt.repository=voltha-ponsim,images.olt.pullPolicy=Never,images.onu.repository=voltha-ponsim,images.onu.pullPolicy=Never,images.rg.repository=voltha-tester,images.rg.pullPolicy=Never
 	touch $@
 
 $(M)/pon0_fwd: | $(M)/ponsim