You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2026/10/22 11:23:36 UTC
(arrow-rs) branch alamb/ubuntu-slim-light-jobs created (now 56c248b6a6)
This is an automated email from the ASF dual-hosted git repository.
alamb pushed a change to branch alamb/ubuntu-slim-light-jobs
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
at 56c248b6a6 ci: run lightweight jobs on ubuntu-slim to reduce runner queueing
This branch includes the following new commits:
new 56c248b6a6 ci: run lightweight jobs on ubuntu-slim to reduce runner queueing
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(arrow-rs) 01/01: ci: run lightweight jobs on ubuntu-slim to reduce runner queueing
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch alamb/ubuntu-slim-light-jobs
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
commit 56c248b6a6305f4a2086aca7b8889495d4b6ef3f
Author: Andrew Lamb <an...@nerdnetworks.org>
AuthorDate: Thu Oct 22 07:23:26 2026 -0400
ci: run lightweight jobs on ubuntu-slim to reduce runner queueing
Move jobs that only run a script, a prebuilt binary, or a gh command
onto the smaller ubuntu-slim runners so they stop waiting in the
ubuntu-latest queue behind full Rust builds.
Co-Authored-By: Claude Fable 5.1 <no...@anthropic.com>
---
.github/workflows/audit.yml | 7 +++++--
.github/workflows/ci.yml | 3 ++-
.github/workflows/dev.yml | 12 ++++++++++--
.github/workflows/docs.yml | 3 ++-
.github/workflows/release.yml | 3 ++-
5 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml
index 46bb4426cb..ec1eadd3b8 100644
--- a/.github/workflows/audit.yml
+++ b/.github/workflows/audit.yml
@@ -27,7 +27,8 @@ permissions:
jobs:
cargo-audit:
name: Audit
- runs-on: ubuntu-latest
+ # Only needs the prebuilt cargo-audit binary and Cargo.lock
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install cargo-audit
@@ -35,4 +36,6 @@ jobs:
with:
tool: cargo-audit
- name: Run audit check
- run: cargo audit
+ # ubuntu-slim has no Rust toolchain, so run the binary directly
+ # rather than as a cargo subcommand
+ run: cargo-audit audit
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dcd624568c..f3e458163a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -34,7 +34,8 @@ permissions:
jobs:
changes:
name: Select and validate CI suites
- runs-on: ubuntu-latest
+ # Only runs python scripts
+ runs-on: ubuntu-slim
outputs:
suites: ${{ steps.select.outputs.suites }}
cache-refresh-only: ${{ steps.select.outputs.cache-refresh-only }}
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 9a33f9c796..f1186d7950 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -27,13 +27,20 @@ permissions:
jobs:
rat:
name: Release Audit Tool (RAT)
- runs-on: ubuntu-latest
+ # Only runs the RAT jar and a python script
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: 3.8
+ - name: Setup Java
+ # ubuntu-slim does not ship a JDK, which run-rat.sh needs
+ uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
+ with:
+ distribution: temurin
+ java-version: "17"
- name: Audit licenses
run: ./dev/release/run-rat.sh .
@@ -52,7 +59,8 @@ jobs:
git diff --exit-code
typos:
name: Spell Check with Typos
- runs-on: ubuntu-latest
+ # Only needs the prebuilt typos binary
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# Version fixed on purpose. It uses heuristics to detect typos, so upgrading
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 9838bf6de3..2ed36798df 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -61,7 +61,8 @@ jobs:
needs: docs
permissions:
contents: write
- runs-on: ubuntu-latest
+ # Only downloads the docs artifact and pushes it to gh-pages
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Download crate docs
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bd3645778e..9084ed1746 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -30,7 +30,8 @@ env:
jobs:
publish:
name: Publish
- runs-on: ubuntu-latest
+ # Only runs `gh release create`
+ runs-on: ubuntu-slim
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1