Tom Hubrecht
f589be422e
All checks were successful
build configuration / push_to_cache_bridge01 (push) Successful in 1m18s
Check meta / check_dns (push) Successful in 20s
Check meta / check_meta (push) Successful in 20s
build configuration / build_vault01 (push) Successful in 1m16s
build configuration / build_compute01 (push) Successful in 1m19s
build configuration / build_storage01 (push) Successful in 1m19s
build configuration / build_web01 (push) Successful in 1m34s
lint / check (push) Successful in 24s
build configuration / build_geo01 (push) Successful in 1m2s
build configuration / build_geo02 (push) Successful in 1m5s
build configuration / build_rescue01 (push) Successful in 1m11s
build configuration / build_web02 (push) Successful in 1m17s
build configuration / build_bridge01 (push) Successful in 1m9s
build configuration / push_to_cache_geo01 (push) Successful in 1m26s
build configuration / push_to_cache_storage01 (push) Successful in 1m41s
build configuration / push_to_cache_vault01 (push) Successful in 1m58s
build configuration / push_to_cache_geo02 (push) Successful in 1m21s
build configuration / push_to_cache_compute01 (push) Successful in 2m14s
build configuration / push_to_cache_web01 (push) Successful in 2m9s
build configuration / push_to_cache_rescue01 (push) Successful in 1m30s
build configuration / push_to_cache_web02 (push) Successful in 1m36s
107 lines
2 KiB
Nix
107 lines
2 KiB
Nix
###
|
|
# File specifying all the deployement options for the nodes administrated by the dgnum.
|
|
#
|
|
# Node metadata template is:
|
|
#
|
|
# NODE_NAME = {
|
|
# adminGroups = []; # List of groups that have root access
|
|
# admins = []; # List of individuals that have root access
|
|
# deployment = {}; # Colmena deployment options
|
|
# nixpkgs = "unstable" or "22.11"; # nixpkgs version
|
|
# }
|
|
|
|
/*
|
|
Liste des différents sites :
|
|
- rat01 -> VM du NPSPI
|
|
- pav01 -> Salle serveur sous le pavillon Pasteur
|
|
- oik01 -> Local DGNum Jourdan
|
|
- hyp01 -> Salle serveur Hypnos 1
|
|
- luj01 -> VM de Luj
|
|
*/
|
|
{
|
|
bridge01 = {
|
|
site = "hyp01";
|
|
|
|
stateVersion = "24.05";
|
|
|
|
adminGroups = [ "fai" ];
|
|
|
|
deployment = {
|
|
targetHost = "fd26:baf9:d250:8000::ffff";
|
|
sshOptions = [
|
|
"-J"
|
|
"root@vault01.hyp01.infra.dgnum.eu"
|
|
];
|
|
};
|
|
};
|
|
|
|
web01 = {
|
|
site = "rat01";
|
|
|
|
deployment.tags = [ "web" ];
|
|
|
|
stateVersion = "23.05";
|
|
vm-cluster = "Hyperviseur NPS";
|
|
|
|
nixpkgs = "24.05";
|
|
};
|
|
|
|
compute01 = {
|
|
site = "pav01";
|
|
|
|
stateVersion = "23.05";
|
|
nix-modules = [ "services/stirling-pdf" ];
|
|
nixpkgs = "24.05";
|
|
};
|
|
|
|
geo01 = {
|
|
site = "oik01";
|
|
deployment.tags = [ "geo" ];
|
|
|
|
stateVersion = "24.05";
|
|
nixpkgs = "24.05";
|
|
};
|
|
|
|
geo02 = {
|
|
site = "oik01";
|
|
deployment.tags = [ "geo" ];
|
|
|
|
stateVersion = "24.05";
|
|
nixpkgs = "24.05";
|
|
};
|
|
|
|
storage01 = {
|
|
site = "pav01";
|
|
stateVersion = "23.11";
|
|
nixpkgs = "24.05";
|
|
|
|
nix-modules = [ "services/forgejo-nix-runners" ];
|
|
};
|
|
|
|
vault01 = {
|
|
site = "hyp01";
|
|
deployment.targetHost = "vault01.hyp01.infra.dgnum.eu";
|
|
|
|
stateVersion = "23.11";
|
|
nixpkgs = "24.05";
|
|
|
|
adminGroups = [ "fai" ];
|
|
};
|
|
|
|
web02 = {
|
|
site = "rat01";
|
|
|
|
stateVersion = "24.05";
|
|
nixpkgs = "24.05";
|
|
vm-cluster = "Hyperviseur NPS";
|
|
};
|
|
|
|
rescue01 = {
|
|
site = "luj01";
|
|
|
|
deployment.targetHost = "v6.rescue01.luj01.infra.dgnum.eu";
|
|
|
|
stateVersion = "23.11";
|
|
vm-cluster = "Hyperviseur Luj";
|
|
};
|
|
}
|