aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Herzog2022-11-14 20:23:26 +0100
committerGitHub2022-11-14 20:23:26 +0100
commitbe40823735bbdc40c1f6b7725c8b74d5a85d8023 (patch)
treec5009b46089352d78cc5b28288c63a6f28203f94
parentb011f13bc577b978f52aaefde5605332f7bca7e9 (diff)
parent38d9005a7334d45749dcfecb924f7ff1444e8699 (diff)
Merge pull request #182 from serokell/philtaken/checks-unique-names
More unique names for the checks generated by deploy-rs
-rw-r--r--flake.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 66ba60b..ecb1331 100644
--- a/flake.nix
+++ b/flake.nix
@@ -101,11 +101,11 @@
};
deployChecks = deploy: builtins.mapAttrs (_: check: check deploy) {
- schema = deploy: final.runCommand "jsonschema-deploy-system" { } ''
+ deploy-schema = deploy: final.runCommand "jsonschema-deploy-system" { } ''
${final.python3.pkgs.jsonschema}/bin/jsonschema -i ${final.writeText "deploy.json" (builtins.toJSON deploy)} ${./interface.json} && touch $out
'';
- activate = deploy:
+ deploy-activate = deploy:
let
profiles = builtins.concatLists (final.lib.mapAttrsToList (nodeName: node: final.lib.mapAttrsToList (profileName: profile: [ (toString profile.path) nodeName profileName ]) node.profiles) deploy.nodes);
in