glue: forge's controller-dependent settings move out of the forge module
This commit is contained in:
parent
9407db69b5
commit
4a3f21fc2b
6 changed files with 59 additions and 18 deletions
|
|
@ -564,6 +564,13 @@ let
|
|||
!forgeOnly.services.hyperhive.deploy.forgejo.actionsFromSelf
|
||||
&& actionsUrlOf forgeOnly == null
|
||||
&& forgeOnly.warnings == [ ]
|
||||
&& !(
|
||||
(forgeOnly.systemd.services.swarm-controller.environment or { }) ? SWARM_CONTROLLER_FORGE_MIRRORS
|
||||
)
|
||||
&& !(
|
||||
(mirrorsNoController.systemd.services.swarm-controller.environment or { })
|
||||
? SWARM_CONTROLLER_FORGE_MIRRORS
|
||||
)
|
||||
&& forgeWithController.services.hyperhive.deploy.forgejo.actionsFromSelf
|
||||
&& actionsUrlOf forgeWithController == "self"
|
||||
&& lib.elem "actions/checkout" (map (m: m.dest) (mirrorsOf forgeWithController));
|
||||
|
|
|
|||
Loading…
Reference in a new issue