mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
CI: Heresy
This commit is contained in:
parent
db0d51794c
commit
f1ab64c173
3 changed files with 5 additions and 5 deletions
|
|
@ -98,7 +98,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);
|
||||||
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;
|
hostBuildString = concatMapStringsSep " && " (host: "nix build -Lf . network.nodes.${host}.deploy.system -o result-${host} && nix-collect-garbage -d") filteredHosts;
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 6e0d0ff4116d3d94d47e6a4ca46da71b50225b7e
|
Subproject commit 3914af34fe7597af88d452b7081e7af371253cd4
|
||||||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -385,11 +385,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1637534296,
|
"lastModified": 1637535555,
|
||||||
"narHash": "sha256-Z/kBY/Ckcl7ZKao/1RUrSGBCokCZVnB8aQPrzo8FMhs=",
|
"narHash": "sha256-so/DSxQGItHwiYb5V5/N2W0PL4pwzmz/WevDYp5Q3P8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "25e036ff5d2c9cd9382bbb1bbe0d929950c1449f",
|
"rev": "0f115f6c46f5428749b061aa4155e3b04742c1ae",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue