We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b011f13 commit 38d9005Copy full SHA for 38d9005
flake.nix
@@ -101,11 +101,11 @@
101
};
102
103
deployChecks = deploy: builtins.mapAttrs (_: check: check deploy) {
104
- schema = deploy: final.runCommand "jsonschema-deploy-system" { } ''
+ deploy-schema = deploy: final.runCommand "jsonschema-deploy-system" { } ''
105
${final.python3.pkgs.jsonschema}/bin/jsonschema -i ${final.writeText "deploy.json" (builtins.toJSON deploy)} ${./interface.json} && touch $out
106
'';
107
108
- activate = deploy:
+ deploy-activate = deploy:
109
let
110
profiles = builtins.concatLists (final.lib.mapAttrsToList (nodeName: node: final.lib.mapAttrsToList (profileName: profile: [ (toString profile.path) nodeName profileName ]) node.profiles) deploy.nodes);
111
in
0 commit comments