CI: Heresy

This commit is contained in:
kat witch 2021-11-21 23:14:49 +00:00 committed by kat
parent db0d51794c
commit f1ab64c173
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
3 changed files with 5 additions and 5 deletions

View file

@ -98,7 +98,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 enabledHosts [ "daiyousei" "shinmyoumaru" ];
filteredHosts = subtractLists [ "daiyousei" "shinmyoumaru" ] enabledHosts;
hostBuildString = concatMapStringsSep " && " (host: "nix build -Lf . network.nodes.${host}.deploy.system -o result-${host} && nix-collect-garbage -d") filteredHosts;
in
''