You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/05/21 07:02:51 UTC

[flink-statefun] 03/08: [FLINK-17518] [e2e] Build Python SDK with -Prun-e2e-tests

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

tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git

commit ae1e4ce2811d5feaf16cc7cab0bac9f8a0b9d4e6
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Wed May 20 19:25:33 2020 +0800

    [FLINK-17518] [e2e] Build Python SDK with -Prun-e2e-tests
---
 statefun-e2e-tests/pom.xml | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/statefun-e2e-tests/pom.xml b/statefun-e2e-tests/pom.xml
index 13f2178..5fe37c1 100644
--- a/statefun-e2e-tests/pom.xml
+++ b/statefun-e2e-tests/pom.xml
@@ -63,16 +63,28 @@ under the License.
                         <version>1.6.0</version>
                         <executions>
                             <execution>
+                                <id>build-statefun-base-image</id>
+                                <goals>
+                                    <goal>exec</goal>
+                                </goals>
+                                <inherited>false</inherited>
                                 <phase>pre-integration-test</phase>
+                                <configuration>
+                                    <executable>${root.dir}/tools/docker/build-stateful-functions.sh</executable>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>build-python-sdk-packages</id>
                                 <goals>
                                     <goal>exec</goal>
                                 </goals>
                                 <inherited>false</inherited>
+                                <phase>pre-integration-test</phase>
+                                <configuration>
+                                    <executable>${root.dir}/statefun-python-sdk/build-distribution.sh</executable>
+                                </configuration>
                             </execution>
                         </executions>
-                        <configuration>
-                            <executable>${user.dir}/tools/docker/build-stateful-functions.sh</executable>
-                        </configuration>
                     </plugin>
                     <plugin>
                         <artifactId>maven-failsafe-plugin</artifactId>