colmena/integration-tests/apply-local/hive.nix
Zhaofeng Li f849a757d2 integration-tests: Allow configuring the presence of nodes
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.
2021-12-05 01:14:12 -08:00

23 lines
381 B
Nix

let
tools = import ./tools.nix {
insideVm = true;
targets = [];
prebuiltTarget = "deployer";
};
in {
meta = {
nixpkgs = tools.pkgs;
};
deployer = { lib, ... }: {
imports = [
(tools.getStandaloneConfigFor "deployer")
];
deployment = {
allowLocalDeployment = true;
};
environment.etc."deployment".text = "SUCCESS";
};
}