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

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new f58c2fd8b [Improve][CI] Split integration test to 5 (#4065)
f58c2fd8b is described below

commit f58c2fd8b720c04ad312fd470ebc3fd66d4ef117
Author: Tyrantlucifer <[email protected]>
AuthorDate: Mon Feb 6 14:08:37 2023 +0800

    [Improve][CI] Split integration test to 5 (#4065)
---
 .github/workflows/backend.yml | 37 +++++++++++++++++++++++++++++++++----
 1 file changed, 33 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 70df79f9e..207949140 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -409,7 +409,7 @@ jobs:
           ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-spark-connector-v2-e2e >> /tmp/sub_module.txt
           ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-connector-v2-e2e >> /tmp/sub_module.txt
           sub_modules=`python 
tools/update_modules_check/update_modules_check.py sub /tmp/sub_module.txt`
-          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 4 
0`
+          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 5 
0`
           ./mvnw -T 1C -B verify -DskipUT=true -DskipIT=false 
-D"checkstyle.skip"=true -D"license.skipAddThirdParty"=true 
--no-snapshot-updates -pl $run_it_modules -am -Pci
         env:
           MAVEN_OPTS: -Xmx4096m
@@ -438,7 +438,7 @@ jobs:
           ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-spark-connector-v2-e2e >> /tmp/sub_module.txt
           ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-connector-v2-e2e >> /tmp/sub_module.txt
           sub_modules=`python 
tools/update_modules_check/update_modules_check.py sub /tmp/sub_module.txt`
-          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 4 
1`
+          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 5 
1`
           ./mvnw -T 1C -B verify -DskipUT=true -DskipIT=false 
-D"checkstyle.skip"=true -D"license.skipAddThirdParty"=true 
--no-snapshot-updates -pl $run_it_modules -am -Pci
         env:
           MAVEN_OPTS: -Xmx4096m
@@ -467,7 +467,7 @@ jobs:
           ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-spark-connector-v2-e2e >> /tmp/sub_module.txt
           ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-connector-v2-e2e >> /tmp/sub_module.txt
           sub_modules=`python 
tools/update_modules_check/update_modules_check.py sub /tmp/sub_module.txt`
-          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 4 
2`
+          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 5 
2`
           ./mvnw -T 1C -B verify -DskipUT=true -DskipIT=false 
-D"checkstyle.skip"=true -D"license.skipAddThirdParty"=true 
--no-snapshot-updates -pl $run_it_modules -am -Pci
         env:
           MAVEN_OPTS: -Xmx4096m
@@ -496,7 +496,36 @@ jobs:
           ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-spark-connector-v2-e2e >> /tmp/sub_module.txt
           ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-connector-v2-e2e >> /tmp/sub_module.txt
           sub_modules=`python 
tools/update_modules_check/update_modules_check.py sub /tmp/sub_module.txt`
-          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 4 
3`
+          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 5 
3`
+          ./mvnw -T 1C -B verify -DskipUT=true -DskipIT=false 
-D"checkstyle.skip"=true -D"license.skipAddThirdParty"=true 
--no-snapshot-updates -pl $run_it_modules -am -Pci
+        env:
+          MAVEN_OPTS: -Xmx4096m
+
+  all-connectors-it-5:
+    needs: [ changes, sanity-check ]
+    if: needs.changes.outputs.api == 'true'
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        java: [ '8', '11' ]
+        os: [ 'ubuntu-latest' ]
+    timeout-minutes: 90
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up JDK ${{ matrix.java }}
+        uses: actions/setup-java@v3
+        with:
+          java-version: ${{ matrix.java }}
+          distribution: 'temurin'
+          cache: 'maven'
+      - name: run some modules integration test
+        if: needs.changes.outputs.api == 'true'
+        run: |
+          ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-flink-connector-v2-e2e > /tmp/sub_module.txt
+          ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-spark-connector-v2-e2e >> /tmp/sub_module.txt
+          ./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout 
-pl :seatunnel-connector-v2-e2e >> /tmp/sub_module.txt
+          sub_modules=`python 
tools/update_modules_check/update_modules_check.py sub /tmp/sub_module.txt`
+          run_it_modules=`python 
tools/update_modules_check/update_modules_check.py sub_it_module $sub_modules 5 
4`
           ./mvnw -T 1C -B verify -DskipUT=true -DskipIT=false 
-D"checkstyle.skip"=true -D"license.skipAddThirdParty"=true 
--no-snapshot-updates -pl $run_it_modules -am -Pci
         env:
           MAVEN_OPTS: -Xmx4096m

Reply via email to