From 94d818e519d46068eca1728e27152b8ee46c417b Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 10 Mar 2026 11:04:35 -0400 Subject: [PATCH] =?UTF-8?q?CI:=20rename=20runner=20label=20ubuntu-latest?= =?UTF-8?q?=20=E2=86=92=20py3.12-node22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .forgejo/workflows/ci.yml | 8 ++++---- infra/act-runner-config.yml | 2 +- infra/runner-compose.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 2c5fe99..c4b0cb9 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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 diff --git a/infra/act-runner-config.yml b/infra/act-runner-config.yml index 59636ed..b35b31c 100644 --- a/infra/act-runner-config.yml +++ b/infra/act-runner-config.yml @@ -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 diff --git a/infra/runner-compose.yml b/infra/runner-compose.yml index 1554ec1..d953288 100644 --- a/infra/runner-compose.yml +++ b/infra/runner-compose.yml @@ -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