CI: rename runner label ubuntu-latest → py3.12-node22

The label now explicitly declares the dependency versions it provides
rather than using the opaque ubuntu-latest alias. All runs-on fields
in ci.yml updated to match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Van Deusen
2026-03-10 11:04:35 -04:00
parent eb7d00e114
commit 94d818e519
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -39,7 +39,7 @@ env:
jobs:
typecheck:
name: TypeScript typecheck
runs-on: ubuntu-latest
runs-on: py3.12-node22
steps:
- uses: actions/checkout@v6
@@ -59,7 +59,7 @@ jobs:
lint:
name: Python lint
runs-on: ubuntu-latest
runs-on: py3.12-node22
steps:
- uses: actions/checkout@v6
@@ -71,7 +71,7 @@ jobs:
test:
name: Python tests
runs-on: ubuntu-latest
runs-on: py3.12-node22
steps:
- uses: actions/checkout@v6
@@ -100,7 +100,7 @@ jobs:
needs: [typecheck, lint, test]
# Only build on branch/tag pushes — not on pull requests
if: github.event_name == 'push'
runs-on: ubuntu-latest
runs-on: py3.12-node22
steps:
- uses: actions/checkout@v6
+1 -1
View File
@@ -11,7 +11,7 @@ runner:
# Maps runs-on labels to Docker images for job containers.
# Change this (and delete /data/.runner) to switch the base image.
labels:
- "ubuntu-latest:docker://git.fabledsword.com/bvandeusen/runner-base:py3.12-node22"
- "py3.12-node22:docker://git.fabledsword.com/bvandeusen/runner-base:py3.12-node22"
cache:
enabled: true
+1 -1
View File
@@ -13,7 +13,7 @@ services:
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN}
- GITEA_RUNNER_NAME=swarm-runner
# Maps the runs-on: ubuntu-latest label used in workflow files to a Docker image.
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://git.fabledsword.com/bvandeusen/runner-base:py3.12-node22
- GITEA_RUNNER_LABELS=py3.12-node22:docker://git.fabledsword.com/bvandeusen/runner-base:py3.12-node22
- CONFIG_FILE=/config/config.yml
volumes:
- /var/run/docker.sock:/var/run/docker.sock