Colmena: Add deployment tags and block deploy all
This commit is contained in:
parent
6210804f59
commit
17ed07993d
1 changed files with 2 additions and 0 deletions
|
@ -51,11 +51,13 @@
|
|||
};
|
||||
|
||||
colmena = {
|
||||
meta.allowApplyAll = false;
|
||||
meta.nixpkgs = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
defaults = { name, ... }: {
|
||||
deployment = {
|
||||
tags = if name == "shirley" then [ "prod" ] else [ "dev" ];
|
||||
# TODO: It'd probably be nice to derive that from the host-configured fqdn
|
||||
targetHost = "${name}.net.chaos.jetzt";
|
||||
targetUser = null;
|
||||
|
|
Loading…
Reference in a new issue