This is an automated email from the ASF dual-hosted git repository. jiabaosun pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/flink-connector-mongodb.git
commit a0fe686a6647cb6eba3908bbba336079569959e7 Author: gongzhongqiang <[email protected]> AuthorDate: Fri Mar 29 10:20:55 2024 +0800 [FLINK-34958][connectors/mongodb] Bump CI Flink version to include 1.19 and 1.20-SNAPSHOT --- .github/workflows/push_pr.yml | 2 ++ .github/workflows/weekly.yml | 8 ++++++++ pom.xml | 20 ++++++++++++++++++++ 3 files changed, 30 insertions(+) diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml index fdd1377..8890292 100644 --- a/.github/workflows/push_pr.yml +++ b/.github/workflows/push_pr.yml @@ -32,6 +32,8 @@ jobs: 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 }} diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 07fbae5..8d7b3dd 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -37,6 +37,10 @@ jobs: flink: 1.19-SNAPSHOT, jdk: '8, 11, 17, 21', branch: main + }, { + flink: 1.20-SNAPSHOT, + jdk: '8, 11, 17, 21', + branch: main }, { flink: 1.17.2, branch: v1.1 @@ -44,6 +48,10 @@ jobs: flink: 1.18.1, jdk: '8, 11, 17', branch: v1.1 + }, { + flink: 1.19.0, + jdk: '8, 11, 17, 21', + branch: v1.1 }] uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils with: diff --git a/pom.xml b/pom.xml index a2b5a43..b7d7c71 100644 --- a/pom.xml +++ b/pom.xml @@ -71,6 +71,7 @@ under the License. <!-- These 2 properties should be removed together with upgrade of flink-connector-parent to 1.1.x --> <flink.surefire.baseArgLine>-XX:+UseG1GC -Xms256m -XX:+IgnoreUnrecognizedVMOptions ${surefire.module.config}</flink.surefire.baseArgLine> <surefire.module.config/> + <spotless.skip>false</spotless.skip> </properties> <modules> @@ -371,6 +372,9 @@ under the License. <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> + <configuration> + <skip>${spotless.skip}</skip> + </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -398,4 +402,20 @@ under the License. </plugin> </plugins> </build> + + <profiles> + <profile> + <id>java21</id> + <activation> + <jdk>[21,)</jdk> + </activation> + <properties> + <!-- Current google format does not run on Java 21. + Don't upgrade it in this profile because it formats code differently. + Re-evaluate once support for Java 8 is dropped. --> + <spotless.skip>true</spotless.skip> + </properties> + </profile> + </profiles> + </project>
