fix(#981): enable Forgejo Actions so runner registration token API works
Without [actions] ENABLED = true in forgejo's config, the GET /api/v1/admin/runners/registration-token endpoint returns "runner registration token not found" regardless of token scopes, causing hive-ci-register.service to fail on first boot.
This commit is contained in:
parent
4d934748f7
commit
fe62db8917
1 changed files with 6 additions and 0 deletions
|
|
@ -312,6 +312,12 @@ in
|
|||
SIGNING_KEY = "default";
|
||||
GNUPGHOME = "/var/lib/forgejo/.gnupg";
|
||||
};
|
||||
# Enable Forgejo Actions so the runner registration token
|
||||
# API endpoint is available. Without this the endpoint
|
||||
# returns "runner registration token not found" regardless
|
||||
# of token scopes. Required by `hive-ci-register.service`
|
||||
# in the hive-ci container.
|
||||
actions.ENABLED = true;
|
||||
# F3 (federation) computes its data dir relative to the
|
||||
# forgejo binary, which lands in the read-only nix
|
||||
# store and crashes anything that touches the F3
|
||||
|
|
|
|||
Loading…
Reference in a new issue