From 701705a7ce91234b412ddee7a6f762f6f55b7da4 Mon Sep 17 00:00:00 2001 From: cagache Date: Wed, 20 Jun 2018 12:03:22 +0300 Subject: [PATCH 1/2] RM-6138 Create docker images for rm-enterprise-share and rm-enterprise-repo --- pom.xml | 159 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) diff --git a/pom.xml b/pom.xml index 2a45b46f49..e554aed1d1 100644 --- a/pom.xml +++ b/pom.xml @@ -327,6 +327,160 @@ + + + buildDockerImage + + + + + io.fabric8 + fabric8-maven-plugin + ${dependency.fabric8.version} + + + + ${image.name} + + ${project.basedir}/ + + + + + + + build-image + install + + build + + + + + + + + + + + internal + + + + + io.fabric8 + fabric8-maven-plugin + ${dependency.fabric8.version} + + + + ${image.name}:${image.tag} + ${image.registry} + + ${project.basedir}/ + + + + + + + build-push-image + install + + build + push + + + + + + + + + + + master + + + + + io.fabric8 + fabric8-maven-plugin + ${dependency.fabric8.version} + + + + ${image.name} + ${image.registry} + + ${project.basedir}/ + + + + ${image.name} + + ${project.basedir}/ + + + + + + + build-push-image + install + + build + push + + + + + + + + + + + release + + + + + io.fabric8 + fabric8-maven-plugin + ${dependency.fabric8.version} + + + + ${image.name}:${project.version} + ${image.registry} + + ${project.basedir}/ + + + + ${image.name}:${project.version} + + ${project.basedir}/ + + + + + + + build-push-image + deploy + + build + push + + + + + + + + @@ -381,6 +535,11 @@ src/main/properties/local ** src/test/properties/local + + 3.5.37 + imageNameNotSet + latest + quay.io From 91a64d6eb873c876a6bd8855dc92df1090fd43a4 Mon Sep 17 00:00:00 2001 From: cagache Date: Wed, 20 Jun 2018 15:32:17 +0300 Subject: [PATCH 2/2] Applied code review changes --- pom.xml | 18 ++++++++++++------ rm-community/rm-community-repo/pom.xml | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index e554aed1d1..960c830995 100644 --- a/pom.xml +++ b/pom.xml @@ -328,6 +328,7 @@ + buildDockerImage @@ -336,7 +337,7 @@ io.fabric8 fabric8-maven-plugin - ${dependency.fabric8.version} + ${fabric8.maven.version} @@ -362,6 +363,7 @@ + internal @@ -370,7 +372,7 @@ io.fabric8 fabric8-maven-plugin - ${dependency.fabric8.version} + ${fabric8.maven.version} @@ -398,6 +400,8 @@ + master @@ -406,7 +410,7 @@ io.fabric8 fabric8-maven-plugin - ${dependency.fabric8.version} + ${fabric8.maven.version} @@ -440,6 +444,8 @@ + release @@ -448,7 +454,7 @@ io.fabric8 fabric8-maven-plugin - ${dependency.fabric8.version} + ${fabric8.maven.version} @@ -509,7 +515,7 @@ 2.7 8080 - 0.25.0 + 0.25.0 1.10.19 42.2.1 5432 @@ -536,7 +542,7 @@ ** src/test/properties/local - 3.5.37 + 3.5.37 imageNameNotSet latest quay.io diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 87d41dd0bb..a8e2d02bef 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -130,7 +130,7 @@ io.fabric8 docker-maven-plugin - ${fabric8.version} + ${fabric8.docker.version}