You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by fl...@apache.org on 2018/06/14 15:39:27 UTC

[42/50] tinkerpop git commit: Need one execution per version to get both docker images to deploy

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/TINKERPOP-1836
Commit: 144c69801de8135ac04663da4063260378c71336
Parents: 57ac99e
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Jun 4 13:49:34 2018 -0400
Committer: Stephen Mallette <sp...@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>