fix(ci): check all hosts on update

This commit is contained in:
arcnmx 2024-01-15 12:12:12 -08:00
parent cb5c971ddd
commit 84e0a57bfd

View file

@ -95,8 +95,9 @@ in {
displayName = "flake update build"; displayName = "flake update build";
environment = ["CACHIX_SIGNING_KEY" "GITHUB_REF"]; environment = ["CACHIX_SIGNING_KEY" "GITHUB_REF"];
command = let command = let
filteredHosts = ["tewi"]; filteredHosts = [ "tewi" "tei" "mediabox" ];
nodeBuildString = concatMapStringsSep " && " (node: "nix build -Lf . network.nodes.${node}.system.build.toplevel -o result-${node} && nix-collect-garbage -d") filteredHosts; gcBetweenHosts = false;
nodeBuildString = concatMapStringsSep " && " (node: "nix build -Lf . network.nodes.${node}.system.build.toplevel -o result-${node}" + optionalString gcBetweenHosts " && nix-collect-garbage -d") filteredHosts;
in '' in ''
# ${toString builtins.currentTime} # ${toString builtins.currentTime}
nix flake update nix flake update