2021-11-22 10:52:35 +01:00
|
|
|
let
|
2021-12-05 10:14:12 +01:00
|
|
|
tools = import ../tools.nix {
|
|
|
|
targets = [];
|
|
|
|
prebuiltTarget = "deployer";
|
|
|
|
};
|
2021-11-22 10:52:35 +01:00
|
|
|
in tools.makeTest {
|
2021-11-22 22:18:28 +01:00
|
|
|
name = "colmena-apply-local";
|
2021-11-22 10:52:35 +01:00
|
|
|
|
|
|
|
bundle = ./.;
|
|
|
|
|
|
|
|
testScript = ''
|
2021-12-04 10:03:26 +01:00
|
|
|
deployer.succeed("cd /tmp/bundle && ${tools.colmenaExec} apply-local")
|
2021-11-22 10:52:35 +01:00
|
|
|
deployer.succeed("grep SUCCESS /etc/deployment")
|
|
|
|
'';
|
|
|
|
}
|