ci: switch runner label from fabledcurator-ci to python-ci
Generic python-ci runner is reusable across the family (FabledScribe, FabledSteward, NhenArchiver, StashHandler, etc.) rather than scoped to just this project. Runner image lives at CI-Runner/CI-python/ in the operator's workspace; pattern mirrors CI-Runner/CI-go and CI-Runner/CI-flutter. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-web:
|
||||
runs-on: fabledcurator-ci
|
||||
runs-on: python-ci
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
tags: ${{ steps.tag.outputs.tags }}
|
||||
|
||||
build-ml:
|
||||
runs-on: fabledcurator-ci
|
||||
runs-on: python-ci
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
@@ -8,9 +8,10 @@ on:
|
||||
|
||||
jobs:
|
||||
backend-lint-and-test:
|
||||
# Runner must have Python 3.14 + ruff installed. Provision a runner
|
||||
# labeled "fabledcurator-ci" with Python 3.14, ruff, and Node 22.
|
||||
runs-on: fabledcurator-ci
|
||||
# Runner must have Python 3.14 + ruff + Node 22 pre-installed. The
|
||||
# python-ci runner image lives at CI-Runner/CI-python/ in the operator's
|
||||
# workspace; see that Dockerfile + Makefile to roll/push the image.
|
||||
runs-on: python-ci
|
||||
services:
|
||||
postgres:
|
||||
image: pgvector/pgvector:pg16
|
||||
@@ -55,7 +56,7 @@ jobs:
|
||||
run: pytest tests/ -v
|
||||
|
||||
frontend-build:
|
||||
runs-on: fabledcurator-ci
|
||||
runs-on: python-ci
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontend
|
||||
|
||||
@@ -25,7 +25,7 @@ FabledCurator is designed to run inside a self-hosted homelab environment over p
|
||||
|
||||
The repo's workflows expect:
|
||||
|
||||
- **Runner label `fabledcurator-ci`** — a Forgejo runner with Python 3.14, ruff, and Node 22 pre-installed. Both `ci.yml` and `build.yml` use this label.
|
||||
- **Runner label `python-ci`** — a Forgejo runner with Python 3.14, ruff, and Node 22 pre-installed. Both `ci.yml` and `build.yml` use this label. The runner image (`runner-base:python-ci`) is built from `CI-Runner/CI-python/` in the operator's workspace; `make push` from that directory builds and pushes a new image when toolchain pins change.
|
||||
- **Repo secret `RELEASE_TOKEN`** — a Forgejo PAT with the following scopes:
|
||||
- `write:package` + `read:package` — for `docker push` to `git.fabledsword.com`
|
||||
- `write:release` — for future release-cutting workflows
|
||||
|
||||
Reference in New Issue
Block a user