This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch ci_utils
in repository
https://gitbox.apache.org/repos/asf/flink-connector-shared-utils.git
The following commit(s) were added to refs/heads/ci_utils by this push:
new 1c08ad3 [FLINK-31416][CI] Allow skipping of dependency convergence
check. This closes #9
1c08ad3 is described below
commit 1c08ad3b60f3ae8305750082c5e9714583e54d3d
Author: MartijnVisser <[email protected]>
AuthorDate: Mon Mar 13 17:20:52 2023 +0100
[FLINK-31416][CI] Allow skipping of dependency convergence check. This
closes #9
* [FLINK-31416][CI] Allow skipping of dependency convergence check
---
.github/workflows/ci.yml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 069ed3e..360dee6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -41,6 +41,11 @@ on:
required: false
type: number
default: 50
+ run_dependency_convergence:
+ description: "Whether to run the dependency convergence check"
+ required: false
+ type: boolean
+ default: true
jobs:
compile_and_test:
@@ -73,6 +78,10 @@ jobs:
with:
maven-version: 3.8.6
+ - name: "Enable dependency convergence check"
+ if: ${{ inputs.run_dependency_convergence }}
+ run: echo
"MVN_DEPENDENCY_CONVERGENCE=-Dflink.convergence.phase=install
-Pcheck-convergence" >> $GITHUB_ENV
+
- name: "Determine Flink binary url"
run: |
binary_url=${{ inputs.flink_url }}
@@ -130,7 +139,7 @@ jobs:
-DaltDeploymentRepository=validation_repository::default::file:${{
env.MVN_VALIDATION_DIR }} \
-Dscala-2.12 \
-Prun-end-to-end-tests -DdistDir=${{ env.FLINK_CACHE_DIR
}}/flink-${{ inputs.flink_version }} \
- -Dflink.convergence.phase=install -Pcheck-convergence \
+ ${{ env.MVN_DEPENDENCY_CONVERGENCE }} \
${{ env.MVN_CONNECTION_OPTIONS }} \
-Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties \
| tee ${{ env.MVN_BUILD_OUTPUT_FILE }}