You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/07/12 20:59:45 UTC

[pulsar] branch master updated: [build] `docker/publish.sh` doesn't work for pulsar-all and pulsar-standalone images (#4705)

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new d2164eb  [build] `docker/publish.sh` doesn't work for pulsar-all and pulsar-standalone images (#4705)
d2164eb is described below

commit d2164ebfe8e34e3f22d5181d90d01a3c39e0d859
Author: Sijie Guo <si...@apache.org>
AuthorDate: Fri Jul 12 13:59:38 2019 -0700

    [build] `docker/publish.sh` doesn't work for pulsar-all and pulsar-standalone images (#4705)
    
    *Motivation*
    
    pulsar-all and pulsar-standalone dont tag correct as pulsar image.
    so it fails `docker/publish.sh`
    
    *Modifications*
    
    Tag no-repo for both latest and the release version for both pulsar-all and pulsar-standalone
    
    *Verify this change*
    
    After patching this change, `docker/publish.sh` works as expected.
---
 docker/pulsar-all/pom.xml        | 20 ++++++++++++++++++++
 docker/pulsar-standalone/pom.xml | 20 ++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/docker/pulsar-all/pom.xml b/docker/pulsar-all/pom.xml
index 6755f4b..00bba50 100644
--- a/docker/pulsar-all/pom.xml
+++ b/docker/pulsar-all/pom.xml
@@ -113,6 +113,26 @@
                 </goals>
               </execution>
               <execution>
+                <id>add-no-repo-and-version</id>
+                <goals>
+                  <goal>tag</goal>
+                </goals>
+                <configuration>
+                  <repository>pulsar-all</repository>
+                  <tag>${project.version}</tag>
+                </configuration>
+              </execution>
+              <execution>
+                <id>add-no-repo-and-latest</id>
+                <goals>
+                  <goal>tag</goal>
+                </goals>
+                <configuration>
+                  <repository>pulsar-all</repository>
+                  <tag>latest</tag>
+                </configuration>
+              </execution>
+              <execution>
                 <id>tag-and-push-latest</id>
                 <goals>
                   <goal>tag</goal>
diff --git a/docker/pulsar-standalone/pom.xml b/docker/pulsar-standalone/pom.xml
index 05b39c2..2fb1073 100644
--- a/docker/pulsar-standalone/pom.xml
+++ b/docker/pulsar-standalone/pom.xml
@@ -57,6 +57,26 @@
                 </goals>
               </execution>
               <execution>
+                <id>add-no-repo-and-version</id>
+                <goals>
+                  <goal>tag</goal>
+                </goals>
+                <configuration>
+                  <repository>pulsar-standalone</repository>
+                  <tag>${project.version}</tag>
+                </configuration>
+              </execution>
+              <execution>
+                <id>add-no-repo-and-latest</id>
+                <goals>
+                  <goal>tag</goal>
+                </goals>
+                <configuration>
+                  <repository>pulsar-standalone</repository>
+                  <tag>latest</tag>
+                </configuration>
+              </execution>
+              <execution>
                 <id>tag-and-push-latest</id>
                 <goals>
                   <goal>tag</goal>