Skip to content

Commit dc59e4b

Browse files
mikolalysenkoclaude
andcommitted
Run this branch's Linux jobs on Depot runners (#1362)
Applies #1362's runs-on mapping to this branch's ci.yml and compatibility workflows: Linux jobs map to depot-ubuntu-24.04-4 / depot-ubuntu-22.04-4 unless the repository variable DISABLE_DEPOT_RUNNERS=true. The two PRs touch the same workflow files, so carrying the mapping here lets them land back to back without a conflict eviction. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent f922436 commit dc59e4b

12 files changed

Lines changed: 70 additions & 70 deletions

‎.github/workflows/bun-compatibility.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
exclude:
117117
# macOS legs run on push to main (and nightly where scheduled), not per PR push.
118118
- os: ${{ github.event_name == 'pull_request' && 'macos-latest' || '' }}
119-
runs-on: ${{ matrix.os }}
119+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
120120
timeout-minutes: 30
121121
steps:
122122
- name: Checkout
@@ -174,7 +174,7 @@ jobs:
174174
- {os: windows-latest, bun: '1.0.36'}
175175
# macOS legs run on push to main (and nightly where scheduled), not per PR push.
176176
- os: ${{ github.event_name == 'pull_request' && 'macos-latest' || '' }}
177-
runs-on: ${{ matrix.os }}
177+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
178178
timeout-minutes: 30
179179
steps:
180180
- name: Checkout
@@ -374,7 +374,7 @@ jobs:
374374
exclude:
375375
# macOS legs run on push to main (and nightly where scheduled), not per PR push.
376376
- os: ${{ github.event_name == 'pull_request' && 'macos-latest' || '' }}
377-
runs-on: ${{ matrix.os }}
377+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
378378
timeout-minutes: 30
379379
steps:
380380
- name: Checkout

‎.github/workflows/ci.yml‎

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.

‎.github/workflows/composer-compatibility.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
- {os: windows-latest, composer: '2.2.30', php: '8.3', sha256: 8c2b4478b64f8f7cdf1574838fdb0033b29049ca821dad452db7a3dcfcdbffc2}
131131
- {os: windows-latest, composer: '2.9.8', php: '8.4', sha256: 59b2c50e10cafa0d8efc19ede9a326d782f096c674a26baf98cf042ce23de890}
132132
- {os: windows-latest, composer: '2.10.3', php: '8.5', sha256: 7a2d379d5b8ffdaa028580ef26494c36d2feef4b178d3dd1473a4dbc5e17c8d6}
133-
runs-on: ${{ matrix.os }}
133+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
134134
timeout-minutes: 60
135135
steps: &native-steps
136136
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -216,7 +216,7 @@ jobs:
216216
# all (#1210); 2.40.0 resolves the tap's formula aliases first.
217217
# Ubuntu and Windows keep the 2.10.3 / 8.5 cell.
218218
- {os: macos-latest, composer: '2.10.3', php: '8.4', sha256: 7a2d379d5b8ffdaa028580ef26494c36d2feef4b178d3dd1473a4dbc5e17c8d6}
219-
runs-on: ${{ matrix.os }}
219+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
220220
timeout-minutes: 60
221221
steps: *native-steps
222222

@@ -226,7 +226,7 @@ jobs:
226226
# Composer 1, so 1.10.28 is covered by the native legs only.
227227
name: docker composer ${{ matrix.composer }}
228228
if: github.event.pull_request.draft != true
229-
runs-on: ubuntu-latest
229+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS == 'true' && 'ubuntu-latest' || 'depot-ubuntu-24.04-4' }}
230230
timeout-minutes: 35
231231
strategy:
232232
fail-fast: false

‎.github/workflows/go-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
matrix:
7979
os: [ubuntu-latest]
8080
go: ['1.18.10', '1.21.13', '1.24.13', '1.26.3']
81-
runs-on: ${{ matrix.os }}
81+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
8282
timeout-minutes: 45
8383
steps: &go-steps
8484
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -118,6 +118,6 @@ jobs:
118118
# macOS-latest dyld refuses binaries without LC_UUID (Go < 1.24
119119
# linkers; see ci.yml's vexctl step).
120120
go: ['1.24.13', '1.26.3']
121-
runs-on: ${{ matrix.os }}
121+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
122122
timeout-minutes: 45
123123
steps: *go-steps

‎.github/workflows/gradle-compatibility.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
# Whether this run needs the ubuntu `extras`: always off pull_request, and
113113
# on a PR only when it touches Gradle code.
114114
if: github.event.pull_request.draft != true
115-
runs-on: ubuntu-latest
115+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS == 'true' && 'ubuntu-latest' || 'depot-ubuntu-24.04-4' }}
116116
timeout-minutes: 5
117117
outputs:
118118
gradle_core: ${{ steps.diff.outputs.gradle_core }}
@@ -160,7 +160,7 @@ jobs:
160160
- os: ${{ github.event_name == 'pull_request' && 'macos-latest' || '' }}
161161
# On a PR only the ubuntu `extras` use the ubuntu build.
162162
- os: ${{ github.event_name == 'pull_request' && needs.changes.outputs.gradle_core != 'true' && 'ubuntu-latest' || '' }}
163-
runs-on: ${{ matrix.os }}
163+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
164164
timeout-minutes: 60
165165
env:
166166
CARGO_PROFILE_DEV_DEBUG: '0'
@@ -240,7 +240,7 @@ jobs:
240240
# Boundary lines retain every hosted test on Windows on PRs.
241241
- {os: "${{ github.event_name == 'pull_request' && 'windows-latest' || '' }}", gradle: '7.6.6', mode: hosted}
242242
- {os: "${{ github.event_name == 'pull_request' && 'windows-latest' || '' }}", gradle: '8.14.3', mode: hosted}
243-
runs-on: ${{ matrix.os }}
243+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
244244
timeout-minutes: 60
245245
steps: &cell-steps
246246
- name: Checkout
@@ -428,7 +428,7 @@ jobs:
428428
# Only the suite that owns those tests: e2e_vendor_jvm_build has none,
429429
# and every landed suite a cell runs must run a test.
430430
- {os: ubuntu-latest, gradle: '8.14.3', java: '21', mode: vendor, label: real-central, real_central: '1', suites: 'e2e_vendor_gradle_build', test_filter: 'gradle_vendor_511 gradle_vendor_487'}
431-
runs-on: ${{ matrix.os }}
431+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
432432
timeout-minutes: 60
433433
continue-on-error: ${{ matrix.record_only == 'true' }}
434434
steps: *cell-steps

‎.github/workflows/npm-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ concurrency:
7474
jobs:
7575
build:
7676
if: github.event.pull_request.draft != true
77-
runs-on: ubuntu-latest
77+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS == 'true' && 'ubuntu-latest' || 'depot-ubuntu-24.04-4' }}
7878
timeout-minutes: 25
7979
steps:
8080
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -103,7 +103,7 @@ jobs:
103103

104104
install-proof:
105105
needs: build
106-
runs-on: ubuntu-latest
106+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS == 'true' && 'ubuntu-latest' || 'depot-ubuntu-24.04-4' }}
107107
timeout-minutes: 25
108108
strategy:
109109
fail-fast: false

‎.github/workflows/pdm-compatibility.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
exclude:
8686
# macOS legs run on push to main (and nightly where scheduled), not per PR push.
8787
- os: ${{ github.event_name == 'pull_request' && 'macos-latest' || '' }}
88-
runs-on: ${{ matrix.os }}
88+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
8989
timeout-minutes: 30
9090
steps:
9191
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -128,7 +128,7 @@ jobs:
128128
# every Windows cell skipped; backtest-pdm.py now fails such a cell.
129129
os: [ubuntu-latest]
130130
pdm: ['0.12.3', '1.15.5', '2.0.3', '2.1.5', '2.3.4', '2.6.1', '2.7.4', '2.8.2', '2.9.3', '2.10.4', '2.11.2', '2.17.3', '2.20.1', '2.22.4', '2.25.9', '2.29.2']
131-
runs-on: ${{ matrix.os }}
131+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
132132
timeout-minutes: 45
133133
steps: &native-steps
134134
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -204,7 +204,7 @@ jobs:
204204
# The ends of the range and the 2.8 lock-format boundary.
205205
os: [macos-latest]
206206
pdm: ['0.12.3', '2.8.2', '2.29.2']
207-
runs-on: ${{ matrix.os }}
207+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
208208
timeout-minutes: 45
209209
steps: *native-steps
210210

@@ -225,7 +225,7 @@ jobs:
225225
- {os: macos-latest, pdm: '2.29.2'}
226226
# macOS legs run on push to main (and nightly where scheduled), not per PR push.
227227
- os: ${{ github.event_name == 'pull_request' && 'macos-latest' || '' }}
228-
runs-on: ${{ matrix.os }}
228+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
229229
timeout-minutes: 30
230230
steps:
231231
# The binaries resolve fixtures through the build job's checkout path,

‎.github/workflows/pipenv-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
- os: ubuntu-latest
8787
versions: 2022.12.19 2026.8.0
8888
shapes: crlf marker-excluded extras category
89-
runs-on: ${{ matrix.os }}
89+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
9090
timeout-minutes: 60
9191
steps: &matrix-steps
9292
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -153,6 +153,6 @@ jobs:
153153
- os: macos-latest
154154
versions: 2018.11.26 2022.12.19 2023.12.1 2026.8.0
155155
shapes: direct
156-
runs-on: ${{ matrix.os }}
156+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
157157
timeout-minutes: 60
158158
steps: *matrix-steps

‎.github/workflows/pnpm-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ concurrency:
6060
jobs:
6161
build:
6262
if: github.event.pull_request.draft != true
63-
runs-on: ubuntu-latest
63+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS == 'true' && 'ubuntu-latest' || 'depot-ubuntu-24.04-4' }}
6464
timeout-minutes: 20
6565
steps:
6666
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -97,7 +97,7 @@ jobs:
9797
# failed the whole run. Every version still runs; a failure names it.
9898
name: install-proof (node ${{ matrix.node }})
9999
needs: build
100-
runs-on: ubuntu-latest
100+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS == 'true' && 'ubuntu-latest' || 'depot-ubuntu-24.04-4' }}
101101
timeout-minutes: 30
102102
strategy:
103103
fail-fast: false

‎.github/workflows/poetry-compatibility.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
exclude:
7070
# macOS legs run on push to main (and nightly where scheduled), not per PR push.
7171
- os: ${{ github.event_name == 'pull_request' && 'macos-latest' || '' }}
72-
runs-on: ${{ matrix.os }}
72+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
7373
timeout-minutes: 30
7474
steps:
7575
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -97,7 +97,7 @@ jobs:
9797
exclude:
9898
# macOS legs run on push to main (and nightly where scheduled), not per PR push.
9999
- os: ${{ github.event_name == 'pull_request' && 'macos-latest' || '' }}
100-
runs-on: ${{ matrix.os }}
100+
runs-on: ${{ vars.DISABLE_DEPOT_RUNNERS != 'true' && (matrix.os == 'ubuntu-latest' && 'depot-ubuntu-24.04-4' || matrix.os == 'ubuntu-22.04' && 'depot-ubuntu-22.04-4') || matrix.os }}
101101
timeout-minutes: 45
102102
steps:
103103
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)