Watch
0
0
Fork
You've already forked hyperhive
0

module-eval: give the forgejo-mirror fixtures deploy.forgejo.enable

#4708 defaulted deploy.forgejo.enable to false, and the hive-forge module's
whole config block (including the mirror-declared-without-a-controller
warning) now hangs off it. controllerWithMirrors and mirrorsNoController
both relied on the old always-on default to reach that warning path.
This commit is contained in:
atlas 2026-09-25 02:01:48 +02:00
commit afde9f380f

View file

@ -69,10 +69,14 @@ let
}; };
controllerWithMirrors = hive { controllerWithMirrors = hive {
deploy.swarm-controller.enable = true; deploy.swarm-controller.enable = true;
deploy.forgejo.enable = true;
deploy.forgejo.mirrors = [ aMirror ]; deploy.forgejo.mirrors = [ aMirror ];
c0re.orgAvatarPng = "/etc/marker-avatar.png"; c0re.orgAvatarPng = "/etc/marker-avatar.png";
}; };
mirrorsNoController = hive { deploy.forgejo.mirrors = [ aMirror ]; }; mirrorsNoController = hive {
deploy.forgejo.enable = true;
deploy.forgejo.mirrors = [ aMirror ];
};
cases = [ cases = [
{ {
# `lib.all` over an empty set holds vacuously, so the roster is counted # `lib.all` over an empty set holds vacuously, so the roster is counted