This is an automated email from the ASF dual-hosted git repository. snuyanzin 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 835ba96 [FLINK-33302] Allow to customize jdk version for connectors 835ba96 is described below commit 835ba9613a0f488172cf71a8fa4dfcd2ded529a5 Author: Sergey Nuyanzin <sergey.nuyan...@aiven.io> AuthorDate: Fri Dec 8 11:21:40 2023 +0100 [FLINK-33302] Allow to customize jdk version for connectors --- .github/workflows/_testing.yml | 7 +++++++ .github/workflows/ci.yml | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_testing.yml b/.github/workflows/_testing.yml index ba3bfd3..cbb9eaa 100644 --- a/.github/workflows/_testing.yml +++ b/.github/workflows/_testing.yml @@ -32,6 +32,13 @@ jobs: with: flink_version: 1.16-SNAPSHOT connector_branch: ci_utils + flink118-java17-version: + uses: ./.github/workflows/ci.yml + with: + flink_version: 1.18.0 + jdk_version: 17 + connector_branch: ci_utils + run_dependency_convergence: false disable-convergence: uses: ./.github/workflows/ci.yml with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f9a58a..cfd9752 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,11 @@ on: description: "Flink version to test against." required: true type: string + jdk_version: + description: "Jdk version to test against." + required: false + default: 8, 11 + type: string cache_flink_binary: description: "Whether to cache the Flink binary. If not set this parameter is inferred from the version parameter. Must be set if 'flink_url' is used." required: false @@ -56,7 +61,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - jdk: [8, 11] + jdk: ${{ fromJSON(format('[{0}]', inputs.jdk_version)) }} timeout-minutes: ${{ inputs.timeout_global }} env: MVN_COMMON_OPTIONS: -U -B --no-transfer-progress -Dflink.version=${{ inputs.flink_version }}