core-services-01(drone-runners): prevent them to kill an auto-deployment
This commit is contained in:
parent
fb43cc15e1
commit
57172ba54c
2 changed files with 3 additions and 1 deletions
|
@ -5,9 +5,11 @@ in
|
|||
{
|
||||
services.drone-exec-runner.nix01 = {
|
||||
enable = true;
|
||||
restartIfChanged = false; # Prevent from killing itself as it is a core machine.
|
||||
env = [
|
||||
"DRONE_RUNNER_CAPACITY=${toString capacity}"
|
||||
"CLIENT_DRONE_RPC_HOST=127.0.0.1:${toString config.services.drone-server.port}"
|
||||
"DRONE_RUNNER_LABELS=nix:true,core:true" # nix-ready and runs on a core machine.
|
||||
];
|
||||
envFile = config.age.secrets.droneKeyFile.path;
|
||||
};
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"klubrz-nur": {
|
||||
"branch": "main",
|
||||
"repo": "https://git.rz.ens.wtf/Klub-RZ/nur",
|
||||
"rev": "420773149ef98de6a19ae6c551f9f4c6b60e0c1c",
|
||||
"rev": "2d9da6ab1f53af1bff116426e79aeb35408681f6",
|
||||
"type": "git"
|
||||
},
|
||||
"niv": {
|
||||
|
|
Loading…
Reference in a new issue