You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by da...@apache.org on 2022/11/13 10:53:59 UTC

[flink-connector-aws] branch FLINK-30008 created (now 565472b)

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

dannycranmer pushed a change to branch FLINK-30008
in repository https://gitbox.apache.org/repos/asf/flink-connector-aws.git


      at 565472b  [FLINK-30008][Connectors/AWS] Upgrade to Flink 1.16.0 and add CI build profile

This branch includes the following new commits:

     new 565472b  [FLINK-30008][Connectors/AWS] Upgrade to Flink 1.16.0 and add CI build profile

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[flink-connector-aws] 01/01: [FLINK-30008][Connectors/AWS] Upgrade to Flink 1.16.0 and add CI build profile

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dannycranmer pushed a commit to branch FLINK-30008
in repository https://gitbox.apache.org/repos/asf/flink-connector-aws.git

commit 565472b130e7f416cafb2c2e3c016495c1c4dd7f
Author: Danny Cranmer <da...@apache.org>
AuthorDate: Sun Nov 13 10:51:17 2022 +0000

    [FLINK-30008][Connectors/AWS] Upgrade to Flink 1.16.0 and add CI build profile
---
 .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++--
 pom.xml                  | 13 ++-----------
 2 files changed, 39 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ff77203..6d47cbe 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,13 +19,13 @@
 name: Build flink-connector-dynamodb
 on: [push, pull_request]
 jobs:
-  compile_and_test:
+  compile_and_test_flink_1.15.2:
     runs-on: ubuntu-latest
     strategy:
       matrix:
         jdk: [8, 11]
     env:
-      MVN_COMMON_OPTIONS: -U -B --no-transfer-progress
+      MVN_COMMON_OPTIONS: -U -B --no-transfer-progress -Dflink.version=1.15.2
       MVN_CONNECTION_OPTIONS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
       FLINK_URL: https://dlcdn.apache.org/flink/flink-1.15.2/flink-1.15.2-bin-scala_2.12.tgz
       MVN_BUILD_OUTPUT_FILE: "/tmp/mvn_build_output.out"
@@ -54,6 +54,41 @@ jobs:
             -DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
             | tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
 
+  compile_and_test_flink_1.16.0:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        jdk: [ 8, 11 ]
+    env:
+      MVN_COMMON_OPTIONS: -U -B --no-transfer-progress -Dflink.version=1.16.0
+      MVN_CONNECTION_OPTIONS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
+      FLINK_URL: https://dlcdn.apache.org/flink/flink-1.16.0/flink-1.16.0-bin-scala_2.12.tgz
+      MVN_BUILD_OUTPUT_FILE: "/tmp/mvn_build_output.out"
+      MVN_VALIDATION_DIR: "/tmp/flink-validation-deployment"
+    steps:
+      - run: echo "Running CI pipeline for JDK version ${{ matrix.jdk }}"
+
+      - name: Check out repository code
+        uses: actions/checkout@v2
+
+      - name: Set JDK
+        uses: actions/setup-java@v2
+        with:
+          java-version: ${{ matrix.jdk }}
+          distribution: 'temurin'
+          cache: 'maven'
+
+      - name: Set Maven 3.8.5
+        uses: stCarolas/setup-maven@v4.2
+        with:
+          maven-version: 3.8.5
+
+      - name: Compile and test flink-connector-dynamodb
+        run: |
+          mvn clean install -Dflink.convergence.phase=install -Pcheck-convergence -U -B ${{ env.MVN_CONNECTION_OPTIONS }} \
+            -DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
+            | tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
+
       - name: Check licensing
         run: |
           mvn ${MVN_COMMON_OPTIONS} exec:java@check-licensing -N \
diff --git a/pom.xml b/pom.xml
index f5badf3..1f4ebb0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,18 +52,9 @@ under the License.
 		<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/flink-connector-aws.git</developerConnection>
 	</scm>
 
-	<pluginRepositories>
-		<pluginRepository>
-			<!-- Allows exec-maven-plugin to resolve snapshot plugin dependencies -->
-			<id>apache.snapshots.https</id>
-			<name>${distMgmtSnapshotsName}</name>
-			<url>${distMgmtSnapshotsUrl}</url>
-		</pluginRepository>
-	</pluginRepositories>
-
 	<properties>
 		<aws.sdk.version>2.17.247</aws.sdk.version>
-		<flink.version>1.15.2</flink.version>
+		<flink.version>1.16.0</flink.version>
 	</properties>
 
 	<modules>
@@ -117,7 +108,7 @@ under the License.
 					<dependency>
 						<groupId>org.apache.flink</groupId>
 						<artifactId>flink-ci-tools</artifactId>
-						<version>1.16-SNAPSHOT</version>
+						<version>${flink.version}</version>
 					</dependency>
 				</dependencies>
 			</plugin>