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:
|
jobs:
|
||||||
build-web:
|
build-web:
|
||||||
runs-on: fabledcurator-ci
|
runs-on: python-ci
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
tags: ${{ steps.tag.outputs.tags }}
|
tags: ${{ steps.tag.outputs.tags }}
|
||||||
|
|
||||||
build-ml:
|
build-ml:
|
||||||
runs-on: fabledcurator-ci
|
runs-on: python-ci
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,10 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backend-lint-and-test:
|
backend-lint-and-test:
|
||||||
# Runner must have Python 3.14 + ruff installed. Provision a runner
|
# Runner must have Python 3.14 + ruff + Node 22 pre-installed. The
|
||||||
# labeled "fabledcurator-ci" with Python 3.14, ruff, and Node 22.
|
# python-ci runner image lives at CI-Runner/CI-python/ in the operator's
|
||||||
runs-on: fabledcurator-ci
|
# workspace; see that Dockerfile + Makefile to roll/push the image.
|
||||||
|
runs-on: python-ci
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: pgvector/pgvector:pg16
|
image: pgvector/pgvector:pg16
|
||||||
@@ -55,7 +56,7 @@ jobs:
|
|||||||
run: pytest tests/ -v
|
run: pytest tests/ -v
|
||||||
|
|
||||||
frontend-build:
|
frontend-build:
|
||||||
runs-on: fabledcurator-ci
|
runs-on: python-ci
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: frontend
|
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:
|
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:
|
- **Repo secret `RELEASE_TOKEN`** — a Forgejo PAT with the following scopes:
|
||||||
- `write:package` + `read:package` — for `docker push` to `git.fabledsword.com`
|
- `write:package` + `read:package` — for `docker push` to `git.fabledsword.com`
|
||||||
- `write:release` — for future release-cutting workflows
|
- `write:release` — for future release-cutting workflows
|
||||||
|
|||||||
Reference in New Issue
Block a user