forked from DGNum/colmena
feat(meta): add disallowApplyAll options
unify meta access for machinesFile update release note and config name
This commit is contained in:
parent
1b3c272b58
commit
dd7a2924ca
10 changed files with 111 additions and 24 deletions
19
integration-tests/allow-apply-all/default.nix
Normal file
19
integration-tests/allow-apply-all/default.nix
Normal 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")
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue