This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hudi-rs.git
The following commit(s) were added to refs/heads/main by this push:
new be88e88a ci: pin ubuntu-latest runners to ubuntu-24.04 (#838)
be88e88a is described below
commit be88e88aef9761693625f98d65c7a195816cc02f
Author: Y Ethan Guo <[email protected]>
AuthorDate: Fri Oct 23 08:16:02 2026 -0700
ci: pin ubuntu-latest runners to ubuntu-24.04 (#838)
---
.github/workflows/asf-allowlist-check.yml | 2 +-
.github/workflows/ci.yml | 18 +++++++++++-------
.github/workflows/code.yml | 2 +-
.github/workflows/pr.yml | 2 +-
.github/workflows/release.yml | 8 ++++----
5 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/asf-allowlist-check.yml
b/.github/workflows/asf-allowlist-check.yml
index a01e194d..55fc6e38 100644
--- a/.github/workflows/asf-allowlist-check.yml
+++ b/.github/workflows/asf-allowlist-check.yml
@@ -37,7 +37,7 @@ permissions:
jobs:
asf-allowlist-check:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
with:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index eea77c79..95dc9f38 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -89,13 +89,15 @@ jobs:
# Python wheel) has a configuration to use. Nothing else in CI compiles it,
so
# without this job it would break silently.
rust-tests-no-spill-backend:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Cache dependencies
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 #
v2.9.2
with:
- key: no-spill-backend
+ # The image is part of the key: a target cache built on another
Ubuntu
+ # release carries that image's system-library link decisions.
+ key: no-spill-backend-ubuntu-24.04
# Deliberately no clang/libclang: if a change makes the default-off build
# pull rocksdb back in, this job fails to compile rather than quietly
# reintroducing the native dependency.
@@ -157,7 +159,7 @@ jobs:
# compiles with the MSRV that Cargo.toml declares (read at run time so it
# follows bumps), keeping the declared floor buildable once the two diverge.
msrv-check:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Install system dependencies
@@ -174,7 +176,9 @@ jobs:
- name: Cache dependencies
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 #
v2.9.2
with:
- key: msrv
+ # The image is part of the key: a target cache built on another
Ubuntu
+ # release carries that image's system-library link decisions.
+ key: msrv-ubuntu-24.04
- name: Check the workspace on the MSRV
run: cargo +"$MSRV" check --workspace --all-targets --all-features
@@ -274,7 +278,7 @@ jobs:
fail-fast: false
matrix:
app-path: [ 'datafusion', 'hudi-file-group-api/cpp',
'hudi-table-api/rust' , 'hudi-table-api/python' ]
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Set up Docker Buildx
@@ -314,7 +318,7 @@ jobs:
fail-fast: false
matrix:
include:
- - runner: ubuntu-latest
+ - runner: ubuntu-24.04
target: x86_64-unknown-linux-gnu
- runner: ubuntu-22.04-arm
target: aarch64-unknown-linux-gnu
@@ -353,7 +357,7 @@ jobs:
publish-coverage:
name: Publish coverage reports to codecov.io
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
needs: [ rust-tests, python-tests ]
if: github.event.pull_request.user.login != 'dependabot[bot]'
steps:
diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml
index 8296666a..421b186d 100644
--- a/.github/workflows/code.yml
+++ b/.github/workflows/code.yml
@@ -28,7 +28,7 @@ on:
jobs:
check-code:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 934ea420..1fdc5125 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -28,7 +28,7 @@ permissions:
jobs:
check-pr:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c88991eb..0378c921 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -25,7 +25,7 @@ on:
jobs:
validate-release-tag:
name: Validate git tag
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: compare git tag with cargo metadata
@@ -103,7 +103,7 @@ jobs:
fail-fast: false
matrix:
include:
- - runner: ubuntu-latest
+ - runner: ubuntu-24.04
target: x86_64-unknown-linux-gnu
- runner: ubuntu-22.04-arm
target: aarch64-unknown-linux-gnu
@@ -138,7 +138,7 @@ jobs:
publish-pypi:
name: Publish to PyPI
needs: [ build-mac, build-windows, build-manylinux ]
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/download-artifact@v8
with:
@@ -159,7 +159,7 @@ jobs:
publish-crates:
name: Publish to crates.io
needs: [ build-mac, build-windows, build-manylinux ]
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7