Skip to content

Commit e1fdb50

Browse files
peterphitranclaude
andcommitted
[IcebergIO] Run IcebergIO CI workflows on Java 17
Iceberg 1.11.0 dropped Java 11 support and this branch raised the iceberg module floor to Java 17 (requireJavaVersion VERSION_17). The IO_Iceberg_* workflows call setup-environment-action without a java-version, which defaults to Java 11, so the module would fail to build or be disabled on CI. Pin these workflows to Java 17, matching the Delta and Debezium IO workflows. For #38925 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d22449b commit e1fdb50

5 files changed

Lines changed: 10 additions & 0 deletions

.github/workflows/IO_Iceberg_Integration_Tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
7373
- name: Setup environment
7474
uses: ./.github/actions/setup-environment-action
75+
with:
76+
java-version: 17
7577
- name: Run IcebergIO Integration Test
7678
uses: ./.github/actions/gradle-command-self-hosted-action
7779
with:

.github/workflows/IO_Iceberg_Integration_Tests_Dataflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
7373
- name: Setup environment
7474
uses: ./.github/actions/setup-environment-action
75+
with:
76+
java-version: 17
7577
- name: Run IcebergIO Integration Tests on Dataflow
7678
uses: ./.github/actions/gradle-command-self-hosted-action
7779
with:

.github/workflows/IO_Iceberg_Managed_Integration_Tests_Dataflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
7373
- name: Setup environment
7474
uses: ./.github/actions/setup-environment-action
75+
with:
76+
java-version: 17
7577
- name: Run IcebergIO Managed Integration Tests on Dataflow
7678
uses: ./.github/actions/gradle-command-self-hosted-action
7779
with:

.github/workflows/IO_Iceberg_Performance_Tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
7373
- name: Setup environment
7474
uses: ./.github/actions/setup-environment-action
75+
with:
76+
java-version: 17
7577
- name: Run IcebergIO Performance Test
7678
uses: ./.github/actions/gradle-command-self-hosted-action
7779
with:

.github/workflows/IO_Iceberg_Unit_Tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ jobs:
9191
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
9292
- name: Setup environment
9393
uses: ./.github/actions/setup-environment-action
94+
with:
95+
java-version: 17
9496
- name: run IcebergIO build script
9597
uses: ./.github/actions/gradle-command-self-hosted-action
9698
with:

0 commit comments

Comments
 (0)