Skip to content

Commit 2f812c7

Browse files
committed
ci: allow temporary Linux runner override
1 parent a991f79 commit 2f812c7

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
jobs:
1414
validate:
15-
runs-on: ubuntu-latest
15+
runs-on: ${{ vars.AGENTBOOT_LINUX_RUNNER || 'ubuntu-latest' }}
1616
steps:
1717
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
1818
with:
@@ -28,7 +28,7 @@ jobs:
2828
node --check cloudflare/worker.js
2929
3030
online:
31-
runs-on: ubuntu-latest
31+
runs-on: ${{ vars.AGENTBOOT_LINUX_RUNNER || 'ubuntu-latest' }}
3232
steps:
3333
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
3434
with:
@@ -49,7 +49,7 @@ jobs:
4949
pages/VERSION
5050
5151
offline-linux:
52-
runs-on: ubuntu-latest
52+
runs-on: ${{ vars.AGENTBOOT_LINUX_RUNNER || 'ubuntu-latest' }}
5353
steps:
5454
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
5555
with:
@@ -129,7 +129,7 @@ jobs:
129129
publish:
130130
needs: [validate, online, offline-linux, offline-windows, macos-smoke]
131131
if: github.ref_type == 'tag'
132-
runs-on: ubuntu-latest
132+
runs-on: ${{ vars.AGENTBOOT_LINUX_RUNNER || 'ubuntu-latest' }}
133133
environment: release-production
134134
permissions:
135135
contents: write

tests/test_release_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def test_release_supports_prerelease_dry_run_and_tag_only_publish(self):
3333
self.assertIn("install-offline.ps1\" -Agents codex", text)
3434
self.assertIn("runs-on: macos-15-intel", text)
3535
self.assertIn("PLATFORMS=darwin-x64", text)
36+
self.assertIn("vars.AGENTBOOT_LINUX_RUNNER || 'ubuntu-latest'", text)
3637

3738
def test_live_verifier_covers_primary_and_mirror(self):
3839
text = (ROOT / "scripts/verify-live-release.py").read_text(encoding="utf-8")

0 commit comments

Comments
 (0)