f849a757d2
For example, there's no need to spin up any target nodes when we just want to test `colmena apply-local` on the deployer node.
15 lines
316 B
Nix
15 lines
316 B
Nix
let
|
|
tools = import ../tools.nix {
|
|
targets = [];
|
|
prebuiltTarget = "deployer";
|
|
};
|
|
in tools.makeTest {
|
|
name = "colmena-apply-local";
|
|
|
|
bundle = ./.;
|
|
|
|
testScript = ''
|
|
deployer.succeed("cd /tmp/bundle && ${tools.colmenaExec} apply-local")
|
|
deployer.succeed("grep SUCCESS /etc/deployment")
|
|
'';
|
|
}
|