colmena/integration-tests/apply-local/default.nix

18 lines
361 B
Nix
Raw Normal View History

{ pkgs ? import ../nixpkgs.nix }:
2021-11-22 10:52:35 +01:00
let
tools = pkgs.callPackage ../tools.nix {
targets = [];
prebuiltTarget = "deployer";
};
2021-11-22 10:52:35 +01:00
in tools.makeTest {
name = "colmena-apply-local";
2021-11-22 10:52:35 +01:00
bundle = ./.;
testScript = ''
deployer.succeed("cd /tmp/bundle && ${tools.colmenaExec} apply-local")
2021-11-22 10:52:35 +01:00
deployer.succeed("grep SUCCESS /etc/deployment")
'';
}