feat!: register runners through the Forgejo UI #5
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-gated-deploy"
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
Runners are now registered in Forgejo's web UI instead of with
forgejo-cli actions register.entrypoint.shtakesFORGEJO_RUNNER_UUIDandFORGEJO_RUNNER_TOKENas Forgejo issues them and writes them intoserver.connections.forgejo. The UUID must be 8-4-4-4-12 hex (lowercased before use); the token must be non-empty with no whitespace or control characters. The UUID is no longer derived from a shared secret.compose.yamlrequires both variables;FORGEJO_RUNNER_SECRETis removed..env.exampleand the README follow.docs/superpowers/specs/2026-09-26-ui-runner-registration-design.md,docs/superpowers/plans/2026-09-26-ui-runner-registration.md.This branch also carries the earlier CI-gated deploy design spec (
docs/superpowers/specs/2026-09-26-ci-gated-deploys-design.md, docs only).Breaking change
Before deploying, set
FORGEJO_RUNNER_UUIDandFORGEJO_RUNNER_TOKENin the Coolify resource and removeFORGEJO_RUNNER_SECRET. A deploy without the new variables fails at compose interpolation. The config inrunner-datais rewritten on start; no migration.Testing
shellcheck entrypoint.sh healthcheck.sh tests/*.sh,hadolint Dockerfile: cleansh tests/entrypoint.test.sh: 35 checks passsh tests/compose.test.sh: 16 checks pass