You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sn...@apache.org on 2024/04/15 14:33:41 UTC

(flink-connector-gcp-pubsub) 03/03: [hotfix] Add jdk 17, 21 to ci, use dedicated name for ci

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

snuyanzin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-gcp-pubsub.git

commit 952f296f2d609c2bbf54328ef55cb9e5280a4c2c
Author: Sergey Nuyanzin <sn...@gmail.com>
AuthorDate: Mon Apr 15 11:27:59 2024 +0200

    [hotfix] Add jdk 17, 21 to ci, use dedicated name for ci
---
 .github/workflows/push_pr.yml | 16 ++++++++++++++--
 .github/workflows/weekly.yml  | 11 ++++++++++-
 2 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml
index 8b34274..66fd4ec 100644
--- a/.github/workflows/push_pr.yml
+++ b/.github/workflows/push_pr.yml
@@ -16,7 +16,10 @@
 # limitations under the License.
 ################################################################################
 
-name: CI
+# We need to specify repo related information here since Apache INFRA doesn't differentiate
+# between several workflows with the same names while preparing a report for GHA usage
+# https://infra-reports.apache.org/#ghactions
+name: Flink Connector GCP PubSub CI
 on: [push, pull_request]
 concurrency:
   group: ${{ github.workflow }}-${{ github.ref }}
@@ -25,7 +28,16 @@ jobs:
   compile_and_test:
     strategy:
       matrix:
-        flink: [1.17-SNAPSHOT, 1.18-SNAPSHOT, 1.19-SNAPSHOT, 1.20-SNAPSHOT]
+          flink: [ 1.17-SNAPSHOT ]
+          jdk: [ '8, 11' ]
+          include:
+            - flink: 1.18-SNAPSHOT
+              jdk: '8, 11, 17'
+            - flink: 1.19-SNAPSHOT
+              jdk: '8, 11, 17, 21'
+            - flink: 1.20-SNAPSHOT
+              jdk: '8, 11, 17, 21'
     uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
     with:
       flink_version: ${{ matrix.flink }}
+      jdk_version: ${{ matrix.jdk }}
diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml
index 9581677..90897a5 100644
--- a/.github/workflows/weekly.yml
+++ b/.github/workflows/weekly.yml
@@ -16,7 +16,10 @@
 # limitations under the License.
 ################################################################################
 
-name: Nightly
+# We need to specify repo related information here since Apache INFRA doesn't differentiate
+# between several workflows with the same names while preparing a report for GHA usage
+# https://infra-reports.apache.org/#ghactions
+name: Weekly Flink Connector GCP PubSub
 on:
   schedule:
     - cron: "0 0 * * 0"
@@ -28,21 +31,26 @@ jobs:
       matrix:
         flink_branches: [{
           flink: 1.20-SNAPSHOT,
+          jdk: '8, 11, 17, 21',
           branch: main
         }, {
           flink: 1.19-SNAPSHOT,
+          jdk: '8, 11, 17, 21',
           branch: main
         }, {
           flink: 1.17-SNAPSHOT,
           branch: main
         }, {
           flink: 1.18-SNAPSHOT,
+          jdk: '8, 11, 17',
           branch: main
         }, {
           flink: 1.19.0,
+          jdk: '8, 11, 17, 21',
           branch: v3.0
         }, {
           flink: 1.18.1,
+          jdk: '8, 11, 17',
           branch: v3.0
         }, {
           flink: 1.17.2,
@@ -51,5 +59,6 @@ jobs:
     uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
     with:
       flink_version: ${{ matrix.flink_branches.flink }}
+      jdk_version: ${{ matrix.flink_branches.jdk || '8, 11' }}
       connector_branch: ${{ matrix.flink_branches.branch }}
       run_dependency_convergence: false