mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-09-11 02:35:39 +03:00
Replace jsonschema-cli with check-jsonschema
jsonschema-cli is deprecated and will be removed in the future. The recommended replacement is check-jsonschema.
This commit is contained in:
parent
31c32fb295
commit
b5625de9c9
@ -118,7 +118,7 @@
|
||||
|
||||
deployChecks = deploy: builtins.mapAttrs (_: check: check deploy) {
|
||||
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
|
||||
${final.check-jsonschema}/bin/check-jsonschema --schemafile ${./interface.json} ${final.writeText "deploy.json" (builtins.toJSON deploy)} && touch $out
|
||||
'';
|
||||
|
||||
deploy-activate = deploy:
|
||||
|
Loading…
Reference in New Issue
Block a user