nixos: add comin, hosts pull their configuration from main
All checks were successful
nixos / nixos (push) Successful in 3m22s
All checks were successful
nixos / nixos (push) Successful in 3m22s
Each host runs comin, which polls main of this repository every minute, builds nixosConfigurations.<hostname> on the host and switches to it. A branch testing-<hostname> on top of main is applied with `test` to that host alone. Prometheus scrapes comin over the private network, and a failing fetch, evaluation, build or switch alerts after 15 minutes. CI still deploys this commit, which starts comin; the CI deploy job and its SSH key go in the next commit, once comin runs on both hosts. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
2635b887c7
commit
9290a4e181
1 changed files with 115 additions and 0 deletions
|
|
@ -128,6 +128,10 @@ in
|
|||
job_name = "alloy";
|
||||
static_configs = perHost 12345;
|
||||
}
|
||||
{
|
||||
job_name = "comin";
|
||||
static_configs = perHost 4243;
|
||||
}
|
||||
{
|
||||
job_name = "traefik";
|
||||
static_configs = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue