From 84e0a57bfdff9fdec64c01a667ad6b4c4f2f219f Mon Sep 17 00:00:00 2001 From: arcnmx Date: Mon, 15 Jan 2024 12:12:12 -0800 Subject: [PATCH] fix(ci): check all hosts on update --- ci/flake-cron.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/flake-cron.nix b/ci/flake-cron.nix index 2e9b00c0..28a0e9eb 100644 --- a/ci/flake-cron.nix +++ b/ci/flake-cron.nix @@ -95,8 +95,9 @@ in { displayName = "flake update build"; environment = ["CACHIX_SIGNING_KEY" "GITHUB_REF"]; command = let - filteredHosts = ["tewi"]; - nodeBuildString = concatMapStringsSep " && " (node: "nix build -Lf . network.nodes.${node}.system.build.toplevel -o result-${node} && nix-collect-garbage -d") filteredHosts; + filteredHosts = [ "tewi" "tei" "mediabox" ]; + 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 '' # ${toString builtins.currentTime} nix flake update