Skip to content

Commit 7aa5d08

Browse files
kevinjqliuCopilot
andcommitted
CI: Use slim runners for lightweight jobs
Use ubuntu-slim for eleven validation, reporting, artifact-merging, documentation, and maintenance jobs that do not require Docker or a full VM. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent a04bb4c commit 7aa5d08

9 files changed

Lines changed: 11 additions & 11 deletions

‎.github/workflows/asf-allowlist-check.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ concurrency:
3636

3737
jobs:
3838
asf-allowlist-check:
39-
runs-on: ubuntu-24.04
39+
runs-on: ubuntu-slim
4040
steps:
4141
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4242
with:

‎.github/workflows/nightly-pypi-build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions:
3030
jobs:
3131
set-version:
3232
if: github.repository == 'apache/iceberg-python' || github.event_name == 'workflow_dispatch' # Run on schedule for apache repo, or on manual dispatch from any repo
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-slim
3434
outputs:
3535
VERSION: ${{ steps.set-version.outputs.VERSION }}
3636
steps:

‎.github/workflows/pypi-build-artifacts.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
path: ./wheelhouse/*
9696

9797
pypi-merge-artifacts:
98-
runs-on: ubuntu-latest
98+
runs-on: ubuntu-slim
9999
needs:
100100
- pypi-build-artifacts
101101
steps:

‎.github/workflows/python-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
python-ci-required:
119119
if: ${{ always() }}
120120
needs: [lint-and-unit-test, windows-unit-test, cibw-dev-env-smoke-test]
121-
runs-on: ubuntu-latest
121+
runs-on: ubuntu-slim
122122
steps:
123123
- name: Verify Python CI jobs succeeded
124124
env:

‎.github/workflows/python-integration.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
include-hidden-files: true
153153

154154
integration-coverage-report:
155-
runs-on: ubuntu-latest
155+
runs-on: ubuntu-slim
156156
needs: [integration-test, integration-test-s3, integration-test-adls, integration-test-gcs]
157157
steps:
158158
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -178,7 +178,7 @@ jobs:
178178
python-integration-required:
179179
if: ${{ always() }}
180180
needs: [integration-test, integration-test-s3, integration-test-adls, integration-test-gcs, integration-coverage-report]
181-
runs-on: ubuntu-latest
181+
runs-on: ubuntu-slim
182182
steps:
183183
- name: Verify Python integration jobs succeeded
184184
env:

‎.github/workflows/python-release-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ concurrency:
3030

3131
jobs:
3232
docs:
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-slim
3434
permissions:
3535
contents: write
3636

‎.github/workflows/python-release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ permissions:
4141

4242
jobs:
4343
validate-inputs:
44-
runs-on: ubuntu-latest
44+
runs-on: ubuntu-slim
4545
outputs:
4646
VERSION: ${{ steps.validate-inputs.outputs.VERSION }} # e.g. 0.8.0
4747
RC: ${{ steps.validate-inputs.outputs.RC }} # e.g. 1
@@ -96,7 +96,7 @@ jobs:
9696
STEPS_VALIDATE_INPUTS_OUTPUTS_RC: ${{ steps.validate-inputs.outputs.RC }}
9797

9898
validate-library-version:
99-
runs-on: ubuntu-latest
99+
runs-on: ubuntu-slim
100100
needs:
101101
- validate-inputs
102102
steps:

‎.github/workflows/stale.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions:
3030
jobs:
3131
stale:
3232
if: github.repository_owner == 'apache'
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-slim
3434
steps:
3535
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
3636
with:

‎.github/workflows/svn-build-artifacts.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
path: ./wheelhouse/*
8787

8888
svn-merge-artifacts:
89-
runs-on: ubuntu-latest
89+
runs-on: ubuntu-slim
9090
needs:
9191
- svn-build-artifacts
9292
steps:

0 commit comments

Comments
 (0)