Update the Jenkins build platform to build only the necessary images to the run the tests. This is to prevent the Vagrant VM running out of disk space
Change-Id: I2c87edb3a2a5da7a0c48700bc4e6e11ce3ae88cc
diff --git a/Makefile b/Makefile
index bdd4009..9237434 100644
--- a/Makefile
+++ b/Makefile
@@ -95,6 +95,9 @@
production: protos prod-containers
+jenkins : protos jenkins-containers
+
+jenkins-containers: docker-base voltha chameleon ofagent netconf consul registrator
prod-containers: docker-base voltha chameleon ofagent netconf shovel dashd vcli grafana consul registrator envoy registry
@@ -182,6 +185,16 @@
distclean: clean
rm -rf ${VENVDIR}
+
+fetch-jenkins:
+ docker pull consul:latest
+ docker pull fluent/fluentd:latest
+ docker pull gliderlabs/registrator:master
+ docker pull ubuntu:xenial
+ docker pull wurstmeister/kafka:latest
+ docker pull wurstmeister/zookeeper:latest
+ docker pull zookeeper:latest
+
fetch:
docker pull consul:latest
docker pull fluent/fluentd:latest