feat(meta): Switch to new naming scheme for sites
All checks were successful
build configuration / build_web02 (pull_request) Successful in 1m7s
build configuration / build_vault01 (pull_request) Successful in 1m7s
build configuration / build_storage01 (pull_request) Successful in 1m11s
build configuration / build_compute01 (pull_request) Successful in 1m14s
build configuration / build_rescue01 (pull_request) Successful in 52s
build configuration / build_web01 (pull_request) Successful in 1m32s
build configuration / build_rescue01 (push) Successful in 1m1s
build configuration / build_vault01 (push) Successful in 1m3s
build configuration / build_web02 (push) Successful in 1m4s
build configuration / build_storage01 (push) Successful in 1m7s
build configuration / build_compute01 (push) Successful in 1m12s
lint / check (push) Successful in 20s
build configuration / build_web01 (push) Successful in 1m28s

This commit is contained in:
Tom Hubrecht 2024-03-22 20:51:04 +01:00 committed by thubrecht
parent a894c3f299
commit 88859390a6
2 changed files with 19 additions and 12 deletions

View file

@ -16,6 +16,12 @@ let
"dev" = "dev.pages.codeberg.page.";
"irc" = "public.p.lahfa.xyz.";
"webmail" = "kurisu.dual.lahfa.xyz.";
# Transition to new site names
"web01.dmi01.infra" = "web01.rat01.infra";
"web02.dmi01.infra" = "web02.rat01.infra";
"compute01.par01.infra" = "compute01.pav01.infra";
"storage01.par01.infra" = "storage01.pav01.infra";
};
hosted = fuseAttrs (

View file

@ -12,14 +12,15 @@
/*
Liste des différents sites :
- dmi01 -> VM du NPSPI
- par01 -> Salle serveur sous le pavillon Pasteur
- par02 -> Local DGNum Jourdan
- par03 -> VM de Luj
- rat01 -> VM du NPSPI
- pav01 -> Salle serveur sous le pavillon Pasteur
- oik01 -> Local DGNum Jourdan
- hyp01 -> Salle serveur Hypnos 1
- luj01 -> VM de Luj
*/
{
web01 = {
site = "dmi01";
site = "rat01";
deployment.tags = [ "web" ];
@ -27,13 +28,13 @@
};
compute01 = {
site = "par01";
site = "pav01";
stateVersion = "23.05";
};
geo01 = {
site = "par02";
site = "oik01";
deployment.tags = [ "geo" ];
stateVersion = "24.05";
@ -41,7 +42,7 @@
};
geo02 = {
site = "par02";
site = "oik01";
deployment.tags = [ "geo" ];
stateVersion = "24.05";
@ -49,12 +50,12 @@
};
storage01 = {
site = "par01";
site = "pav01";
stateVersion = "23.11";
};
vault01 = {
site = "par02";
site = "hyp01";
deployment.targetHost = "vault01.dgnum";
stateVersion = "23.11";
@ -62,14 +63,14 @@
};
web02 = {
site = "dmi01";
site = "rat01";
stateVersion = "24.05";
nixpkgs = "unstable";
};
rescue01 = {
site = "par03";
site = "luj01";
stateVersion = "23.11";
};