Change for CI not to build medicine on cron

This commit is contained in:
kat witch 2022-01-04 05:26:10 +00:00 committed by kat
parent 5759e8a498
commit 984fd2f69c
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -94,7 +94,7 @@ with lib; {
targets = main.deploy.targets;
enabledTargets = filterAttrs (_: v: v.enable) main.deploy.targets;
enabledHosts = concatLists (mapAttrsToList (targetName: target: target.nodeNames) enabledTargets);
filteredHosts = subtractLists [ "daiyousei" "shinmyoumaru" ] enabledHosts;
filteredHosts = subtractLists [ "daiyousei" "shinmyoumaru" "medicine" ] enabledHosts;
hostBuildString = concatMapStringsSep " && " (host: "nix build -Lf . network.nodes.${host}.deploy.system -o result-${host} && nix-collect-garbage -d") filteredHosts;
in
''