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: jobs:
typecheck: typecheck:
name: TypeScript typecheck name: TypeScript typecheck
runs-on: ubuntu-latest runs-on: py3.12-node22
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
@@ -59,7 +59,7 @@ jobs:
lint: lint:
name: Python lint name: Python lint
runs-on: ubuntu-latest runs-on: py3.12-node22
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
@@ -71,7 +71,7 @@ jobs:
test: test:
name: Python tests name: Python tests
runs-on: ubuntu-latest runs-on: py3.12-node22
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
@@ -100,7 +100,7 @@ jobs:
needs: [typecheck, lint, test] needs: [typecheck, lint, test]
# Only build on branch/tag pushes — not on pull requests # Only build on branch/tag pushes — not on pull requests
if: github.event_name == 'push' if: github.event_name == 'push'
runs-on: ubuntu-latest runs-on: py3.12-node22
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
+1 -1
View File
@@ -11,7 +11,7 @@ runner:
# Maps runs-on labels to Docker images for job containers. # Maps runs-on labels to Docker images for job containers.
# Change this (and delete /data/.runner) to switch the base image. # Change this (and delete /data/.runner) to switch the base image.
labels: 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: cache:
enabled: true enabled: true
+1 -1
View File
@@ -13,7 +13,7 @@ services:
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN} - GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN}
- GITEA_RUNNER_NAME=swarm-runner - GITEA_RUNNER_NAME=swarm-runner
# Maps the runs-on: ubuntu-latest label used in workflow files to a Docker image. # 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 - CONFIG_FILE=/config/config.yml
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock