forgejo: actionsFromSelf defaults to whether this host runs the swarm-controller
The controller seeds the actions/checkout mirror from its own host's mirror list, so a forge host without it got DEFAULT_ACTIONS_URL = self and no mirror. The default now follows deploy.swarm-controller.enable; the module-eval check pins forge-only (false, no warning) and forge+controller (true, mirror seeded).
This commit is contained in:
parent
80bc92fb49
commit
84347f122c
4 changed files with 45 additions and 8 deletions
|
|
@ -53,8 +53,9 @@ let
|
|||
|
||||
The runner registers as a new runner on the forge, so delete the old
|
||||
one in the forge's admin panel (Site administration, Actions, Runners).
|
||||
The forge keeps resolving `uses: actions/checkout` from itself unless
|
||||
services.hyperhive.deploy.forgejo.actionsFromSelf is false on its host.
|
||||
A forge host that runs the swarm-controller keeps resolving
|
||||
`uses: actions/checkout` from itself unless
|
||||
services.hyperhive.deploy.forgejo.actionsFromSelf is false there.
|
||||
See docs/scheduler/ci.md.
|
||||
'';
|
||||
in
|
||||
|
|
|
|||
Loading…
Reference in a new issue