Skip to content

Commit df73c1e

Browse files
committed
ci: run on the homelab self-hosted runners
GitHub Actions billing is off for this account, so every job that targeted a hosted runner failed before executing a single step -- which reads as a broken build rather than an unpaid bill. Policy and runner labels: haven-router/docs/hosting.md. - docs.yml: 1 runs-on -> haven; added concurrency group - release.yml: 2 runs-on -> haven; added concurrency group - tests.yml: dropped 2 win/mac lane(s) from os; added concurrency group Concurrency groups matter here rather than being tidiness: the pool is three runners, so without them a superseded push queues behind itself instead of cancelling.
1 parent 4dc607a commit df73c1e

3 files changed

Lines changed: 20 additions & 5 deletions

File tree

.github/workflows/docs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ on:
2020
permissions:
2121
contents: write
2222

23+
concurrency:
24+
group: docs-${{ github.ref }}
25+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
26+
2327
jobs:
2428
build-and-deploy:
25-
runs-on: ubuntu-latest
29+
runs-on: [self-hosted, Linux, X64, haven]
2630
steps:
2731
- name: Checkout
2832
uses: actions/checkout@v5

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
permissions:
1313
contents: write
1414

15+
concurrency:
16+
group: release-${{ github.ref }}
17+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
18+
1519
jobs:
1620
build-windows:
1721
runs-on: windows-latest
@@ -97,7 +101,7 @@ jobs:
97101
retention-days: 90
98102

99103
build-linux:
100-
runs-on: ubuntu-latest
104+
runs-on: [self-hosted, Linux, X64, haven]
101105
steps:
102106
- uses: actions/checkout@v5
103107

@@ -159,7 +163,7 @@ jobs:
159163

160164
create-release:
161165
needs: [build-windows, build-linux]
162-
runs-on: ubuntu-latest
166+
runs-on: [self-hosted, Linux, X64, haven]
163167
steps:
164168
- uses: actions/checkout@v5
165169

.github/workflows/tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# The macOS and Windows lanes were dropped when CI moved to the homelab
2+
# runners: the pool is Linux x64 only. Whatever those lanes covered is
3+
# uncovered now -- said here rather than left silent. Restoring it needs a
4+
# Windows or macOS runner in the pool, not a change to this file.
15
name: Tests
26

37
# Opt into Node 24 for JS actions (silences the Node 20 deprecation).
@@ -10,13 +14,16 @@ on:
1014
pull_request:
1115
branches: [ main, dev ]
1216

17+
concurrency:
18+
group: tests-${{ github.ref }}
19+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
20+
1321
jobs:
1422
test:
15-
runs-on: ${{ matrix.os }}
23+
[self-hosted, Linux, X64, haven]
1624
strategy:
1725
fail-fast: false
1826
matrix:
19-
os: [ubuntu-latest, windows-latest, macos-latest]
2027
python-version: ['3.11', '3.12']
2128

2229
steps:

0 commit comments

Comments
 (0)