INB-33: provision second self-hosted Gitea Actions runner (gitea-runner-2) #3
Reference in New Issue
Block a user
Delete Branch "inb-33-runner-2-clean"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a second self-hosted Gitea Actions runner (
gitea-runner-2) with the same label set asgitea-runnerso the live-pipeline cron and historical-pipelineworkflow_dispatchcan run in parallel on the same host. Removes the single-runner contention that was leaving historical runs queued indefinitely while the every-5-min live pipeline was in flight.Cherry-picked cleanly off PR #2 (which had been polluted by INB-27.a and INB-35 commits in the same branch). Only the 4 files from the original INB-33 commit are touched here.
Files (4 files, +86/-6)
docker/docker-compose.yml— newgitea-runner-2service +gitea-runner-2-datanamed volume; mirrorsgitea-runner(same image, label setself-hosted,linux,x64,gitea-runner:docker, same network, docker socket mount). Differentcontainer_name, separate registration-token env, separate data volume..env.example— newGITEA_RUNNER_REGISTRATION_TOKEN_2placeholder with the rationale that each runner needs its own one-time token.docs/gitea-actions.md— new §2a registration walkthrough, updated topology diagram, updated rollback table.pipelines/README.md— operational note that two runners are registered and links back to INB-33 / the docs.Why the rebase
PR #2 had a non-trivial merge conflict on
pipelines/common.pybecause the same branch had also accumulated the INB-27.a (Papra dry-run) and INB-35 (operations runbook) commits. The clean rebase isolates just the INB-33 change for merge review and unblocks the operator-side deploy without dragging in unrelated diff.Deploy steps (post-merge, on host)
GITEA_RUNNER_REGISTRATION_TOKEN_2=<token>to.envon the host.docker compose -f docker/docker-compose.yml up -d gitea-runner-2historical-pipeline.ymlwhile live cron is in flight; expect ~30s start.Approval
Board approval 393864d4 covers the original PR #2; this rebase is a clean presentation of the same approved change.
Resolves INB-33. Unblocks INB-7 and INB-32.