You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/08/21 11:53:03 UTC

(shardingsphere) branch master updated: Replace Spotify Docker plugin in E2E fixture (#39541)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new bb98fa33f9b Replace Spotify Docker plugin in E2E fixture (#39541)
bb98fa33f9b is described below

commit bb98fa33f9bab16a6e675115cef1513f2e925485
Author: Hongsheng Zhong <zh...@apache.org>
AuthorDate: Fri Aug 21 19:52:56 2026 +0800

    Replace Spotify Docker plugin in E2E fixture (#39541)
    
    * Replace Spotify Docker plugin in E2E fixture
    
    * Preserve Docker base image refresh in E2E fixture
---
 test/e2e/fixture/pom.xml | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

diff --git a/test/e2e/fixture/pom.xml b/test/e2e/fixture/pom.xml
index dbe0eba0162..5bd82acf93b 100644
--- a/test/e2e/fixture/pom.xml
+++ b/test/e2e/fixture/pom.xml
@@ -266,22 +266,30 @@
                         </executions>
                     </plugin>
                     <plugin>
-                        <groupId>com.spotify</groupId>
-                        <artifactId>dockerfile-maven-plugin</artifactId>
-                        <configuration>
-                            <repository>apache/shardingsphere-proxy-test</repository>
-                            <tag>${project.version}</tag>
-                            <tag>latest</tag>
-                            <buildArgs>
-                                <APP_NAME>${project.build.finalName}</APP_NAME>
-                            </buildArgs>
-                        </configuration>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <version>${exec-maven-plugin.version}</version>
                         <executions>
                             <execution>
                                 <id>shardingsphere-proxy-bin</id>
                                 <goals>
-                                    <goal>build</goal>
+                                    <goal>exec</goal>
                                 </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <executable>docker</executable>
+                                    <arguments>
+                                        <argument>build</argument>
+                                        <argument>--pull</argument>
+                                        <argument>--build-arg</argument>
+                                        <argument>APP_NAME=${project.build.finalName}</argument>
+                                        <argument>.</argument>
+                                        <argument>-t</argument>
+                                        <argument>apache/shardingsphere-proxy-test:${project.version}</argument>
+                                        <argument>-t</argument>
+                                        <argument>apache/shardingsphere-proxy-test:latest</argument>
+                                    </arguments>
+                                </configuration>
                             </execution>
                         </executions>
                     </plugin>