Skip to content

Apache Lucene open-source search software

ci: use faster arm runners when we don't care (#16659)

Robert Muir4e22cde9ccc5
diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml
index 3b44ea1efe5..fb00755998a 100644
--- a/.github/workflows/actions.yml
+++ b/.github/workflows/actions.yml
@@ -11,7 +11,7 @@ permissions: {}
jobs:
zizmor:
name: Run zizmor
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
timeout-minutes: 15
permissions:
security-events: write # integration with github advanced security
@@ -38,7 +38,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
- uses: github/codeql-action/upload-sarif@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
+ uses: github/codeql-action/upload-sarif@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
with:
sarif_file: results.sarif
category: zizmor
diff --git a/.github/workflows/activity-report.yml b/.github/workflows/activity-report.yml
index 2428ed48bd1..790752ab05d 100644
--- a/.github/workflows/activity-report.yml
+++ b/.github/workflows/activity-report.yml
@@ -24,7 +24,7 @@ jobs:
permissions:
issues: read # inspects issues and reports on them
pull-requests: read # inspects PRs and reports on them
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
steps:
- name: Checkout repository
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 526712d2790..a870800cd3f 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -11,7 +11,7 @@ jobs:
name: Prepare Backport Targets
if: github.event.pull_request.merged == true
timeout-minutes: 15
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
permissions:
contents: read # Reads repository workflow script and remote branch refs.
pull-requests: write # Adds comments/labels to the source pull request.
@@ -42,7 +42,7 @@ jobs:
needs: prepare
if: needs.prepare.outputs.has_targets == 'true' && needs.prepare.outputs.dry_run != 'true'
timeout-minutes: 30
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
permissions:
contents: write # Pushes generated backport branches.
pull-requests: write # Creates backport pull requests and comments on failures.
@@ -95,7 +95,7 @@ jobs:
needs: prepare
if: needs.prepare.outputs.has_targets == 'true' && needs.prepare.outputs.dry_run == 'true'
timeout-minutes: 5
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
permissions: {}
steps:
- name: Report dry-run targets
diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml
index edd56f5095b..e1ec47bec08 100644
--- a/.github/workflows/dependency-submission.yml
+++ b/.github/workflows/dependency-submission.yml
@@ -14,7 +14,7 @@ permissions: {}
jobs:
dependency-submission:
name: Submit gradle dependencies
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
timeout-minutes: 15
permissions:
contents: write # see action's documentation
diff --git a/.github/workflows/label-pull-request.yml b/.github/workflows/label-pull-request.yml
index 780a75908d4..659aaf69e52 100644
--- a/.github/workflows/label-pull-request.yml
+++ b/.github/workflows/label-pull-request.yml
@@ -2,7 +2,7 @@
# It uses the `actions/labeler` GitHub Action to achieve the same.
#
# The workflow is triggered on the `pull_request_target` event which ensures workflow is only run from the master branch.
-# The job `labeler` runs on `ubuntu-latest` and has permissions to read contents and write pull requests.
+# The job `labeler` has permissions to read contents and write pull requests.
#
# For more information on the `actions/labeler` GitHub Action, refer to https://github.com/actions/labeler
@@ -25,7 +25,7 @@ jobs:
contents: read # likely not needed for public repository
pull-requests: write # manipulate existing labels
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
timeout-minutes: 15
steps:
diff --git a/.github/workflows/mark-stale-PRs.yml b/.github/workflows/mark-stale-PRs.yml
index 29fdaf0b570..596ac19296c 100644
--- a/.github/workflows/mark-stale-PRs.yml
+++ b/.github/workflows/mark-stale-PRs.yml
@@ -15,7 +15,7 @@ permissions: {}
jobs:
stale:
name: Mark stale PRs
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
permissions:
pull-requests: write # must comment/label PRs
diff --git a/.github/workflows/run-checks-all.yml b/.github/workflows/run-checks-all.yml
index 486c747f180..fdbd14f5adb 100644
--- a/.github/workflows/run-checks-all.yml
+++ b/.github/workflows/run-checks-all.yml
@@ -69,7 +69,7 @@ jobs:
strategy:
matrix:
- os: [ ubuntu-latest ]
+ os: [ ubuntu-24.04-arm ]
java: [ '25' ]
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/run-checks-gradle-upgrade.yml b/.github/workflows/run-checks-gradle-upgrade.yml
index 4732bcb070f..de96b3da004 100644
--- a/.github/workflows/run-checks-gradle-upgrade.yml
+++ b/.github/workflows/run-checks-gradle-upgrade.yml
@@ -34,7 +34,7 @@ jobs:
gradleScriptBootstrapCheck:
name: "Check gradle bootstrap script sanity on old JVMs."
timeout-minutes: 30
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
steps:
- uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0
with:
@@ -62,7 +62,7 @@ jobs:
gradleMirrorCheck:
name: "Check gradle bootstrap from an intranet mirror (LUCENE_GRADLE_*_URL)."
timeout-minutes: 30
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -165,7 +165,7 @@ jobs:
strategy:
matrix:
- os: [ ubuntu-latest ]
+ os: [ ubuntu-24.04-arm ]
java-version: [ '25' ]
uses-alt-java: [ true, false ]
diff --git a/.github/workflows/run-checks-mod-analysis-common-hunspell.yml b/.github/workflows/run-checks-mod-analysis-common-hunspell.yml
index f1f9b83d828..c8c29a3cf1b 100644
--- a/.github/workflows/run-checks-mod-analysis-common-hunspell.yml
+++ b/.github/workflows/run-checks-mod-analysis-common-hunspell.yml
@@ -29,7 +29,7 @@ jobs:
name: Extra Hunspell regression tests
timeout-minutes: 15
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
steps:
- name: Checkout repository
diff --git a/.github/workflows/run-checks-mod-distribution.tests.yml b/.github/workflows/run-checks-mod-distribution.tests.yml
index aa910df8054..6308a0d9cba 100644
--- a/.github/workflows/run-checks-mod-distribution.tests.yml
+++ b/.github/workflows/run-checks-mod-distribution.tests.yml
@@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
- # ubuntu-latest is checked as part of run-checks-everything.yml
+ # ubuntu-latest is checked as part of run-checks-all.yml
# windows-latest is slow and sometimes flaky.
os: [ macos-latest ]
diff --git a/.github/workflows/run-checks-python.yml b/.github/workflows/run-checks-python.yml
index 3d874a9d9a8..5dedf1dbeae 100644
--- a/.github/workflows/run-checks-python.yml
+++ b/.github/workflows/run-checks-python.yml
@@ -25,7 +25,7 @@ jobs:
lint:
name: Lint python scripts
timeout-minutes: 15
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
steps:
- name: Checkout repository
diff --git a/.github/workflows/run-nightly-smoketester.yml b/.github/workflows/run-nightly-smoketester.yml
index c0940df5e05..e39253fa096 100644
--- a/.github/workflows/run-nightly-smoketester.yml
+++ b/.github/workflows/run-nightly-smoketester.yml
@@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
- os: [ ubuntu-latest ]
+ os: [ ubuntu-24.04-arm ]
java-version: [ '25' ]
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/run-scheduled-hunspell.yml b/.github/workflows/run-scheduled-hunspell.yml
index be0d98327f3..48f4f798489 100644
--- a/.github/workflows/run-scheduled-hunspell.yml
+++ b/.github/workflows/run-scheduled-hunspell.yml
@@ -17,7 +17,7 @@ jobs:
name: Hunspell regression tests against latest dictionaries
timeout-minutes: 15
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
steps:
- name: Checkout repository
diff --git a/.github/workflows/run-scheduled-spotless-groovy.yml b/.github/workflows/run-scheduled-spotless-groovy.yml
index 9e1000b1db3..b729aa9d919 100644
--- a/.github/workflows/run-scheduled-spotless-groovy.yml
+++ b/.github/workflows/run-scheduled-spotless-groovy.yml
@@ -16,7 +16,7 @@ jobs:
test:
name: Check groovy/gradle script formatting compliance
timeout-minutes: 15
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
steps:
- name: Checkout repository
diff --git a/.github/workflows/run-special-checks-sandbox.yml b/.github/workflows/run-special-checks-sandbox.yml
index 44a1cb658cb..82d69c317bf 100644
--- a/.github/workflows/run-special-checks-sandbox.yml
+++ b/.github/workflows/run-special-checks-sandbox.yml
@@ -21,6 +21,7 @@ jobs:
strategy:
matrix:
+ # works on x86 only
os: [ ubuntu-latest ]
java: [ '25' ]
faiss-version: [ '1.11.0' ]
diff --git a/.github/workflows/verify-changelog-and-set-milestone.disabled b/.github/workflows/verify-changelog-and-set-milestone.disabled
index 54ce5a1dcd5..39073e015a1 100644
--- a/.github/workflows/verify-changelog-and-set-milestone.disabled
+++ b/.github/workflows/verify-changelog-and-set-milestone.disabled
@@ -9,7 +9,7 @@ jobs:
changelog-verifier-and-milestone-setter:
name: Verify Change Log Entry and Set Milestone
timeout-minutes: 15
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04-arm
permissions:
pull-requests: write # edits PR milestones, adds comments