tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [1/2] tinkerpop git commit: Need one execution per version to get both docker images to deploy
Date Mon, 04 Jun 2018 17:57:47 GMT
Repository: tinkerpop
Updated Branches:
  refs/heads/tp33 edc0a46d9 -> ee65d5f2b


Need one execution per version to get both docker images to deploy

Given this https://github.com/spotify/dockerfile-maven/issues/10 CTR


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/144c6980
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/144c6980
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/144c6980

Branch: refs/heads/tp33
Commit: 144c69801de8135ac04663da4063260378c71336
Parents: 57ac99e
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Mon Jun 4 13:49:34 2018 -0400
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Mon Jun 4 13:49:34 2018 -0400

----------------------------------------------------------------------
 gremlin-console/pom.xml | 13 +++++++++++++
 gremlin-server/pom.xml  | 13 +++++++++++++
 2 files changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/144c6980/gremlin-console/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-console/pom.xml b/gremlin-console/pom.xml
index 748360c..29df2a4 100644
--- a/gremlin-console/pom.xml
+++ b/gremlin-console/pom.xml
@@ -384,10 +384,23 @@ limitations under the License.
                             </execution>
                             <execution>
                                 <id>docker-image-push</id>
+                                <phase>deploy</phase>
                                 <goals>
                                     <goal>push</goal>
                                 </goals>
                                 <configuration>
+                                    <tag>${project.version}</tag>
+                                    <skip>${only.when.is.snapshot.used}</skip>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>docker-image-push-minor-version</id>
+                                <phase>deploy</phase>
+                                <goals>
+                                    <goal>push</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
                                     <skip>${only.when.is.snapshot.used}</skip>
                                 </configuration>
                             </execution>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/144c6980/gremlin-server/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-server/pom.xml b/gremlin-server/pom.xml
index 0d68e7b..a75b6c5 100644
--- a/gremlin-server/pom.xml
+++ b/gremlin-server/pom.xml
@@ -292,10 +292,23 @@ limitations under the License.
                             </execution>
                             <execution>
                                 <id>docker-image-push</id>
+                                <phase>deploy</phase>
                                 <goals>
                                     <goal>push</goal>
                                 </goals>
                                 <configuration>
+                                    <tag>${project.version}</tag>
+                                    <skip>${only.when.is.snapshot.used}</skip>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>docker-image-push-minor-version</id>
+                                <phase>deploy</phase>
+                                <goals>
+                                    <goal>push</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
                                     <skip>${only.when.is.snapshot.used}</skip>
                                 </configuration>
                             </execution>


Mime
View raw message