feat(meta): add disallowApplyAll options

unify meta access for machinesFile

update release note and config name
This commit is contained in:
NeverBehave 2022-06-18 00:07:16 -07:00 committed by Zhaofeng Li
parent 1b3c272b58
commit dd7a2924ca
10 changed files with 111 additions and 24 deletions

View file

@ -0,0 +1,19 @@
{ pkgs ? import ../nixpkgs.nix }:
let
tools = pkgs.callPackage ../tools.nix {
targets = [ "alpha" ];
};
in tools.makeTest {
name = "colmena-allow-apply-all";
bundle = ./.;
testScript = ''
logs = deployer.fail("cd /tmp/bundle && run-copy-stderr ${tools.colmenaExec} apply")
assert "no filter supplied" in logs
deployer.succeed("cd /tmp/bundle && run-copy-stderr ${tools.colmenaExec} apply --on @target")
'';
}