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

17 lines
361 B
Nix

{ pkgs ? import ../nixpkgs.nix }:
let
tools = pkgs.callPackage ../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")
'';
}