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.
23 lines
381 B
Nix
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";
|
|
};
|
|
}
|