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/25 10:59:52 UTC

[flink-connector-aws] branch main updated: [hotfix][Connectors/AWS] Fix Flink configuration in CI build

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 617d02c  [hotfix][Connectors/AWS] Fix Flink configuration in CI build
617d02c is described below

commit 617d02c98e6727f781b0453d3b069d90f824fa5f
Author: Danny Cranmer <da...@apache.org>
AuthorDate: Fri Nov 25 10:38:03 2022 +0000

    [hotfix][Connectors/AWS] Fix Flink configuration in CI build
---
 .github/workflows/ci.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4717e1a..07a4473 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -25,7 +25,7 @@ jobs:
       matrix:
         jdk: [8, 11]
     env:
-      MVN_COMMON_OPTIONS: -U -B --no-transfer-progress -Dflink.version=1.15.2
+      MVN_COMMON_OPTIONS: -U -B --no-transfer-progress
       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"
@@ -50,9 +50,11 @@ jobs:
 
       - name: Compile and test flink-connector-dynamodb
         run: |
+          set -o pipefail
+          
           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 }}
+            -Dflink.version=1.15.2 | tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
 
   flink_1_16_0_compile_and_test:
     runs-on: ubuntu-latest
@@ -60,7 +62,7 @@ jobs:
       matrix:
         jdk: [ 8, 11 ]
     env:
-      MVN_COMMON_OPTIONS: -U -B --no-transfer-progress -Dflink.version=1.16.0
+      MVN_COMMON_OPTIONS: -U -B --no-transfer-progress
       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"
@@ -89,7 +91,7 @@ jobs:
           
           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 }}
+            -Dflink.version=1.16.0 | tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
 
       - name: Check licensing
         run: |