98897bf4de
This partially addresses #33, and allows Colmena to be used more easily on bandwidth-constrained hosts and macOS. With `deployment.buildOnTarget = true;` deployment works fine from macOS without designated builders, except when IFD is involved.
33 lines
549 B
Nix
33 lines
549 B
Nix
let
|
|
tools = import ./tools.nix {
|
|
insideVm = true;
|
|
deployers = [ "deployer" "alpha" "beta" ];
|
|
targets = [];
|
|
};
|
|
in {
|
|
meta = {
|
|
nixpkgs = tools.pkgs;
|
|
};
|
|
|
|
defaults = {
|
|
environment.etc."deployment".text = "SUCCESS";
|
|
};
|
|
|
|
deployer = tools.getStandaloneConfigFor "deployer";
|
|
|
|
alpha = {
|
|
imports = [
|
|
(tools.getStandaloneConfigFor "alpha")
|
|
];
|
|
|
|
deployment.buildOnTarget = true;
|
|
};
|
|
|
|
beta = {
|
|
imports = [
|
|
(tools.getStandaloneConfigFor "beta")
|
|
];
|
|
|
|
deployment.buildOnTarget = false;
|
|
};
|
|
}
|