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

kerwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 444c9e731 [ci] Add CI for Flink CDC test running on JDK11 (#2008)
444c9e731 is described below

commit 444c9e731cd2dac060302be4f037bbeacd5d0139
Author: Jake-00 <[email protected]>
AuthorDate: Fri Sep 15 09:26:08 2023 +0800

    [ci] Add CI for Flink CDC test running on JDK11 (#2008)
---
 ...ink-cdc-tests.yml => flink-cdc-tests-jdk11.yml} | 24 +++++++++++-----------
 .github/workflows/flink-cdc-tests.yml              |  2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/flink-cdc-tests.yml 
b/.github/workflows/flink-cdc-tests-jdk11.yml
similarity index 82%
copy from .github/workflows/flink-cdc-tests.yml
copy to .github/workflows/flink-cdc-tests-jdk11.yml
index 0c2a5f4d2..d82bd2f89 100644
--- a/.github/workflows/flink-cdc-tests.yml
+++ b/.github/workflows/flink-cdc-tests-jdk11.yml
@@ -15,24 +15,24 @@
 #  See the License for the specific language governing permissions and
 # limitations under the License.
 
################################################################################
-name: Flink CDC Tests
+name: Flink CDC Tests on JDK 11
 
 on:
-  push:
-  pull_request:
-    paths-ignore:
-      - 'docs/**'
-      - '**/*.md'
+  issue_comment:
+    types: [created, edited, deleted]
 
-env:
-  JDK_VERSION: 8
+  # daily run
+  schedule:
+    - cron: "0 0 * * *"
 
-concurrency:
-  group: ${{ github.workflow }}-${{ github.event_name }}-${{ 
github.event.number || github.run_id }}
-  cancel-in-progress: true
+env:
+  JDK_VERSION: 11
 
 jobs:
   build:
+    if: |
+      github.event_name == 'schedule' ||
+      (contains(github.event.comment.html_url, '/pull/') && 
contains(github.event.comment.body, '/jdk11'))
     runs-on: ubuntu-latest
 
     steps:
@@ -52,4 +52,4 @@ jobs:
           mvn -T 1C -B clean install -DskipTests
           mvn -T 1C -B clean install -pl 'org.apache.paimon:paimon-flink-cdc' 
-Duser.timezone=$jvm_timezone
         env:
-          MAVEN_OPTS: -Xmx4096m
\ No newline at end of file
+          MAVEN_OPTS: -Xmx4096m
diff --git a/.github/workflows/flink-cdc-tests.yml 
b/.github/workflows/flink-cdc-tests.yml
index 0c2a5f4d2..3e6dbf2f3 100644
--- a/.github/workflows/flink-cdc-tests.yml
+++ b/.github/workflows/flink-cdc-tests.yml
@@ -52,4 +52,4 @@ jobs:
           mvn -T 1C -B clean install -DskipTests
           mvn -T 1C -B clean install -pl 'org.apache.paimon:paimon-flink-cdc' 
-Duser.timezone=$jvm_timezone
         env:
-          MAVEN_OPTS: -Xmx4096m
\ No newline at end of file
+          MAVEN_OPTS: -Xmx4096m

Reply via email to