@cryptotaxi247 / infra / commits / d1977eed

eris: more 'resources' expansion + webserver removal

Pierre Bourdon committed Jan 12, 2024 at 03:23 UTC d1977eed7fddc73935afcc85b3f59dc2d7a92823
1 file changed +12 -3
delft/eris.nix
+12 -3
@@ -307,13 +307,22 @@ in
307 job_name = "nixos";
308 static_configs = [
309 {
310 - targets = flip mapAttrsToList resources.machines (machine: v: "${v.networking.hostName}:9300");
310 + targets = [
311 + "rhea:9300"
312 + ];
313 + labels.role = "hydra";
314 }
315 {
316 targets = [
314 - "webserver:9300"
317 + "eris:9300"
318 ];
316 - labels.role = "webserver";
319 + labels.role = "monitoring";
320 + }
321 + {
322 + targets = [
323 + "haumea:9300"
324 + ];
325 + labels.role = "database";
326 }
327 {
328 targets = [