Update docker builds to use local ci repo server 13/6513/1
authorMike Marchetti <mmarchetti@sandvine.com>
Wed, 19 Sep 2018 21:04:53 +0000 (17:04 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Wed, 19 Sep 2018 21:04:53 +0000 (17:04 -0400)
Change-Id: I86e03995ee56a62fa1e2d8063d5389dee57d57e1
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
docker/mk/Makefile.include
jenkins/ci-pipelines/ci_stage_3.groovy

index ceaacaa..a918c9f 100644 (file)
@@ -27,7 +27,7 @@ $(MKBUILD):
        $Qmkdir -p $(MKBUILD)
 
 $(MKBUILD)/.dep_%:
-       $Q$(MKINCLUDE)/get_version.sh -m $* > $@
+       $Q$(MKINCLUDE)/get_version.sh -r $(REPOSITORY) -R $(RELEASE) -k $(REPOSITORY_KEY) -u $(REPOSITORY_BASE) -m $* > $@
 
 build: $(MKBUILD) $(DEPS_TARGETS)
        $Qdocker build -t osm/$(LOWER_MDG):$(TAG) \
index fb4d565..4949df8 100644 (file)
@@ -156,7 +156,7 @@ node("${params.NODE}") {
     error = null
     if ( params.DO_BUILD ) {
         stage("Build") {
-            sh "make -j4 -C docker CMD_DOCKER_ARGS= TAG=${container_name}"
+            sh "make -j4 -C docker CMD_DOCKER_ARGS= TAG=${container_name} RELEASE=${params.RELEASE} REPOSITORY_BASE=${repo_base_url} REPOSITORY_KEY=${params.REPO_KEY_NAME} REPOSITORY=${params.REPOSITORY}"
         }
     }