mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Do not GC host closures in CI
This commit is contained in:
parent
ab5b8ad2bb
commit
42e33c6e14
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ with lib; {
|
||||||
targets = main.deploy.targets;
|
targets = main.deploy.targets;
|
||||||
enabledTargets = filterAttrs (_: v: v.enable) main.deploy.targets;
|
enabledTargets = filterAttrs (_: v: v.enable) main.deploy.targets;
|
||||||
enabledHosts = concatLists (mapAttrsToList (targetName: target: target.nodeNames) enabledTargets);
|
enabledHosts = concatLists (mapAttrsToList (targetName: target: target.nodeNames) enabledTargets);
|
||||||
hostBuildString = concatMapStringsSep " && " (host: "nix build -Lf . network.nodes.${host}.deploy.system && nix-collect-garbage -d") enabledHosts;
|
hostBuildString = concatMapStringsSep " && " (host: "nix build -Lf . network.nodes.${host}.deploy.system -o result-${host} && nix-collect-garbage -d") enabledHosts;
|
||||||
in ''
|
in ''
|
||||||
# ${toString builtins.currentTime}
|
# ${toString builtins.currentTime}
|
||||||
if [[ -n $OPENSSH_PRIVATE_KEY ]]; then
|
if [[ -n $OPENSSH_PRIVATE_KEY ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue