hydra: wire up new builders #47

Merged
raito merged 5 commits from hydra-wire-up into main 2024-07-09 23:00:31 +00:00
Showing only changes of commit 90e54d7292 - Show all commits

View file

@ -1,6 +1,6 @@
{ lib, config, ... }:
let
inherit (lib) mkEnableOption mkIf tf;
inherit (lib) mkEnableOption mkIf tf genList;
cfg = config.bagel.gandi;
in
{
@ -43,7 +43,7 @@ in
};
}) records);
in forkosRecords [
in forkosRecords ([
# (record "@" 3600 "A" ["163.172.69.160"])
(record "@" 3600 "AAAA" ["2001:bc8:38ee:100:1000::20"])
@ -67,6 +67,9 @@ in
(record "loki" 3600 "CNAME" ["meta01.infra"])
(record "mimir" 3600 "CNAME" ["meta01.infra"])
(record "matrix" 3600 "CNAME" ["meta01.infra"])
];
(record "vpn-gw.wob01.infra" 3600 "AAAA" [ "2a01:584:11::2" ])
# TODO: do not hardcode, just reuse the Colmena hive module outputs to generate all the required details.
] ++ map (index: record "builder-${toString index}.wob01.infra" 3600 "AAAA" [ "2a01:584:11::1:${toString index}" ]) (genList lib.id 12));
};
}