Commit graph

50 commits

Author SHA1 Message Date
sinavir
75e09e73a2
feat: wip
Some checks failed
Check meta / check_meta (push) Failing after 20s
Check meta / check_dns (push) Failing after 20s
Check workflows / check_workflows (push) Successful in 23s
Run pre-commit on all files / pre-commit (push) Successful in 34s
2024-12-16 10:50:47 +01:00
3c9bf80f24
feat(netconf): use meta for access control 2024-12-16 09:26:52 +01:00
e8cdd06706
feat(netconf): toplevel rpc drv 2024-12-16 09:26:52 +01:00
9601caba4f
fix(netconf/dgn-hardware): missing parenthesis 2024-12-16 09:26:52 +01:00
sinavir
d63751578a
fix(HACK): not broken anymore 2024-12-16 09:26:52 +01:00
99ef0b76de
feat(netconf)!: wip! broken! netconf-eval 2024-12-16 09:26:52 +01:00
c5e3da3ac9
chore(meta): Split nodes into systems 2024-12-16 09:26:52 +01:00
a65e348f0e
feat(hive): Add tvix-store as a substituter 2024-12-15 22:15:56 +01:00
88d9b8c3e3
chore: Add license and copyright information
Some checks failed
Check meta / check_dns (pull_request) Successful in 19s
Check meta / check_meta (pull_request) Successful in 20s
Check workflows / check_workflows (pull_request) Successful in 24s
Build all the nodes / ap01 (pull_request) Successful in 1m15s
Build all the nodes / bridge01 (pull_request) Successful in 1m53s
Build all the nodes / geo01 (pull_request) Successful in 1m55s
Build all the nodes / geo02 (pull_request) Successful in 1m53s
Build all the nodes / compute01 (pull_request) Successful in 2m33s
Build all the nodes / rescue01 (pull_request) Successful in 2m13s
Build all the nodes / storage01 (pull_request) Successful in 1m57s
Run pre-commit on all files / check (pull_request) Successful in 30s
Build all the nodes / web02 (pull_request) Successful in 1m47s
Build all the nodes / vault01 (pull_request) Successful in 2m21s
Build all the nodes / web03 (pull_request) Successful in 1m40s
Build all the nodes / web01 (pull_request) Successful in 2m54s
Check meta / check_dns (push) Successful in 20s
Check meta / check_meta (push) Successful in 19s
Check workflows / check_workflows (push) Successful in 25s
Build all the nodes / ap01 (push) Successful in 1m16s
Build all the nodes / bridge01 (push) Successful in 1m41s
Build all the nodes / geo02 (push) Successful in 1m44s
Build all the nodes / geo01 (push) Successful in 1m53s
Build all the nodes / compute01 (push) Successful in 2m20s
Build all the nodes / rescue01 (push) Successful in 1m49s
Build all the nodes / storage01 (push) Successful in 1m46s
Build all the nodes / vault01 (push) Successful in 1m45s
Run pre-commit on all files / check (push) Successful in 30s
Build all the nodes / web02 (push) Has been cancelled
Build all the nodes / web01 (push) Has been cancelled
Build all the nodes / web03 (push) Has been cancelled
Signed-off-by: Tom Hubrecht <tom.hubrecht@dgnum.eu>
Acked-by: Ryan Lahfa <ryan.lahfa@dgnum.eu>
Acked-by: Maurice Debray <maurice.debray@dgnum.eu>
Acked-by: Lubin Bailly <lubin.bailly@dgnum.eu>
Acked-by: Jean-Marc Gailis <jean-marc.gailis@dgnum.eu> as the legal authority, at the time of writing, in DGNum.
Acked-by: Elias Coppens <elias.coppens@dgnum.eu> as a member, at the time of writing, of the DGNum executive counsel.
2024-12-13 12:41:38 +01:00
6d03c084a0
feat(hive): Add serverNodes to the arguments
All checks were successful
Check meta / check_dns (pull_request) Successful in 20s
Check meta / check_meta (pull_request) Successful in 19s
Check workflows / check_workflows (pull_request) Successful in 24s
Build all the nodes / ap01 (pull_request) Successful in 1m9s
Build all the nodes / bridge01 (pull_request) Successful in 1m56s
Build all the nodes / geo02 (pull_request) Successful in 1m49s
Build all the nodes / geo01 (pull_request) Successful in 1m54s
Build all the nodes / compute01 (pull_request) Successful in 2m35s
Build all the nodes / rescue01 (pull_request) Successful in 2m11s
Build all the nodes / storage01 (pull_request) Successful in 2m22s
Build all the nodes / vault01 (pull_request) Successful in 2m23s
Build all the nodes / web02 (pull_request) Successful in 1m51s
Build all the nodes / web03 (pull_request) Successful in 1m34s
Run pre-commit on all files / check (pull_request) Successful in 23s
Build all the nodes / web01 (pull_request) Successful in 2m49s
Check meta / check_dns (push) Successful in 18s
Check meta / check_meta (push) Successful in 28s
Build all the nodes / ap01 (push) Successful in 1m15s
Build all the nodes / bridge01 (push) Successful in 1m50s
Build all the nodes / geo01 (push) Successful in 1m57s
Build all the nodes / geo02 (push) Successful in 1m48s
Build all the nodes / compute01 (push) Successful in 2m18s
Build all the nodes / rescue01 (push) Successful in 2m2s
Build all the nodes / storage01 (push) Successful in 2m9s
Build all the nodes / web02 (push) Successful in 1m53s
Build all the nodes / vault01 (push) Successful in 2m13s
Run pre-commit on all files / check (push) Successful in 29s
Build all the nodes / web01 (push) Successful in 2m36s
Build all the nodes / web03 (push) Successful in 1m41s
2024-12-08 22:31:14 +01:00
303f53af0f
chore: Apply the abstraction to ap01 2024-12-08 17:15:45 +01:00
e94d6fd16e
fix(hive): ensure we are in hermetic evaluation
We don't want any <nixpkgs> to appear out of nowhere.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-08 15:24:40 +01:00
df6b48e2f3
feat(hive/registry): add Zyxel NWA50AX in the registry
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-08 15:24:40 +01:00
ecbad0a638
chore: Abstract machines and modules
All checks were successful
Check workflows / check_workflows (push) Successful in 21s
Run pre-commit on all files / check (push) Successful in 24s
Check meta / check_dns (pull_request) Successful in 19s
Check meta / check_meta (pull_request) Successful in 18s
Check workflows / check_workflows (pull_request) Successful in 19s
Build all the nodes / bridge01 (pull_request) Successful in 1m13s
Build all the nodes / geo01 (pull_request) Successful in 1m14s
Build all the nodes / compute01 (pull_request) Successful in 1m44s
Build all the nodes / geo02 (pull_request) Successful in 1m12s
Build all the nodes / rescue01 (pull_request) Successful in 1m30s
Build all the nodes / storage01 (pull_request) Successful in 1m29s
Build all the nodes / vault01 (pull_request) Successful in 1m26s
Build all the nodes / web02 (pull_request) Successful in 1m19s
Run pre-commit on all files / check (pull_request) Successful in 24s
Build all the nodes / web01 (pull_request) Successful in 1m56s
Build all the nodes / web03 (pull_request) Successful in 1m25s
This adds subdirectories for the different types of systems, for the
modules and the machines
2024-12-08 13:39:10 +01:00
4fa4d0bc21
feat(hive.nix): Refactor mkNixpkgsConfig
Some checks failed
Build all the nodes / bridge01 (push) Successful in 1m28s
Build all the nodes / geo01 (push) Successful in 1m27s
Build all the nodes / geo02 (push) Successful in 1m31s
Build all the nodes / rescue01 (push) Successful in 1m57s
Build all the nodes / compute01 (push) Successful in 2m8s
Build all the nodes / vault01 (push) Successful in 1m43s
Build all the nodes / storage01 (push) Successful in 1m49s
Build all the nodes / web02 (push) Successful in 1m19s
Build all the nodes / web01 (push) Successful in 2m6s
Run pre-commit on all files / check (push) Successful in 24s
Build all the nodes / web03 (push) Has been cancelled
2024-12-08 12:10:50 +01:00
3a325437b8
chore(hive.nix): Simplify system management 2024-12-08 12:04:54 +01:00
3a58ac3fdc
fix(hive.nix): Remove inifinite recursion
Some checks failed
Build all the nodes / bridge01 (push) Successful in 3m14s
Build all the nodes / geo02 (push) Successful in 3m30s
Build all the nodes / geo01 (push) Successful in 3m34s
Build all the nodes / storage01 (push) Successful in 3m55s
Build all the nodes / rescue01 (push) Successful in 3m56s
Build all the nodes / compute01 (push) Successful in 4m7s
Run pre-commit on all files / check (push) Successful in 24s
Build all the nodes / vault01 (push) Successful in 1m30s
Build all the nodes / web02 (push) Successful in 1m23s
Build all the nodes / web01 (push) Successful in 2m2s
Build all the nodes / web03 (push) Has been cancelled
2024-12-08 11:59:39 +01:00
eb5b8740a8
feat(meta): Remove default values for nixpkgs version
Some checks failed
Check meta / check_dns (push) Successful in 20s
Check meta / check_meta (push) Successful in 22s
Build all the nodes / bridge01 (push) Failing after 21s
Build all the nodes / compute01 (push) Failing after 21s
Build all the nodes / geo01 (push) Failing after 24s
Build all the nodes / geo02 (push) Failing after 23s
Build all the nodes / rescue01 (push) Failing after 22s
Build all the nodes / storage01 (push) Failing after 21s
Build all the nodes / vault01 (push) Failing after 23s
Build all the nodes / web01 (push) Failing after 23s
Build all the nodes / web02 (push) Failing after 21s
Build all the nodes / web03 (push) Failing after 21s
Run pre-commit on all files / check (push) Successful in 24s
They are considered harmful, and it simplifies the code.
2024-12-08 11:52:26 +01:00
344cc26d8e feat(meta/*): support generalized deployments
Some checks failed
Check meta / check_dns (pull_request) Successful in 18s
Run pre-commit on all files / check (push) Successful in 25s
Check meta / check_meta (pull_request) Successful in 18s
Check workflows / check_workflows (pull_request) Successful in 24s
Build all the nodes / bridge01 (pull_request) Failing after 28s
Build all the nodes / geo01 (pull_request) Failing after 25s
Build all the nodes / compute01 (pull_request) Failing after 31s
Build all the nodes / geo02 (pull_request) Failing after 25s
Build all the nodes / rescue01 (pull_request) Failing after 26s
Build all the nodes / storage01 (pull_request) Failing after 25s
Build all the nodes / vault01 (pull_request) Failing after 26s
Build all the nodes / web02 (pull_request) Failing after 26s
Build all the nodes / web01 (pull_request) Failing after 26s
Build all the nodes / web03 (pull_request) Failing after 28s
Run pre-commit on all files / check (pull_request) Successful in 24s
Our colmena knows how to deal with families of system types, e.g. NixOS
systems or Liminix-based systems.

This is a step 1 towards supporting our APs in our infrastructure.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-07 15:26:13 +01:00
1f9f56ac91
chore(lix): Use the global patch infrastructure for lix
Some checks failed
Check meta / check_meta (pull_request) Successful in 2m40s
Check meta / check_dns (pull_request) Successful in 2m43s
Check workflows / check_workflows (pull_request) Successful in 2m51s
Build all the nodes / rescue01 (pull_request) Successful in 24m13s
Build all the nodes / geo01 (pull_request) Successful in 24m44s
Build all the nodes / geo02 (pull_request) Successful in 24m53s
Build all the nodes / web02 (pull_request) Successful in 3m46s
Run pre-commit on all files / check (pull_request) Successful in 36s
Build all the nodes / vault01 (pull_request) Successful in 16m18s
Build all the nodes / bridge01 (pull_request) Successful in 1m21s
Build all the nodes / storage01 (pull_request) Successful in 38m38s
Build all the nodes / web01 (pull_request) Successful in 22m5s
Build all the nodes / geo02 (push) Successful in 57s
Build all the nodes / bridge01 (push) Successful in 1m4s
Build all the nodes / geo01 (push) Successful in 1m4s
Build all the nodes / rescue01 (push) Successful in 1m7s
Build all the nodes / storage01 (push) Successful in 1m0s
Build all the nodes / vault01 (push) Successful in 1m7s
Build all the nodes / web01 (push) Successful in 1m36s
Build all the nodes / web02 (push) Successful in 59s
Run pre-commit on all files / check (push) Successful in 26s
Build all the nodes / web03 (pull_request) Successful in 19m23s
Build all the nodes / web03 (push) Successful in 2m14s
Build all the nodes / compute01 (push) Has been cancelled
Build all the nodes / compute01 (pull_request) Successful in 17m48s
2024-11-22 12:56:39 +01:00
6c4099d369 feat(infra): Internalize nix-lib, and make keys management simpler
All checks were successful
build configuration / push_to_cache_web01 (pull_request) Successful in 2m21s
build configuration / push_to_cache_krz01 (pull_request) Successful in 2m30s
build configuration / push_to_cache_geo01 (pull_request) Successful in 1m8s
build configuration / push_to_cache_web02 (pull_request) Successful in 1m17s
Check meta / check_meta (push) Successful in 17s
Check meta / check_dns (push) Successful in 17s
build configuration / push_to_cache_geo02 (pull_request) Successful in 1m11s
build configuration / push_to_cache_bridge01 (pull_request) Successful in 1m10s
build configuration / push_to_cache_rescue01 (pull_request) Successful in 1m23s
build configuration / build_storage01 (push) Successful in 1m16s
build configuration / build_vault01 (push) Successful in 1m13s
build configuration / build_compute01 (push) Successful in 1m20s
build configuration / build_web01 (push) Successful in 1m38s
build configuration / build_krz01 (push) Successful in 1m58s
lint / check (push) Successful in 25s
build configuration / build_web02 (push) Successful in 1m9s
build configuration / build_geo01 (push) Successful in 1m9s
build configuration / build_geo02 (push) Successful in 1m10s
build configuration / build_rescue01 (push) Successful in 1m15s
build configuration / build_bridge01 (push) Successful in 1m2s
build configuration / push_to_cache_storage01 (push) Successful in 1m25s
build configuration / push_to_cache_vault01 (push) Successful in 1m37s
build configuration / push_to_cache_web02 (push) Successful in 1m21s
build configuration / push_to_cache_compute01 (push) Successful in 1m56s
build configuration / push_to_cache_web01 (push) Successful in 2m18s
build configuration / push_to_cache_geo01 (push) Successful in 1m15s
build configuration / push_to_cache_krz01 (push) Successful in 2m25s
build configuration / push_to_cache_geo02 (push) Successful in 1m8s
build configuration / push_to_cache_bridge01 (push) Successful in 1m8s
build configuration / push_to_cache_rescue01 (push) Successful in 1m23s
2024-10-09 18:58:46 +02:00
9bc651db42
chore(nix-patches): Add helper function
All checks were successful
build configuration / build_storage01 (push) Successful in 1m20s
build configuration / build_web02 (push) Successful in 1m25s
build configuration / build_vault01 (push) Successful in 1m27s
build configuration / build_compute01 (push) Successful in 1m32s
build configuration / build_krz01 (push) Successful in 1m38s
build configuration / build_web01 (push) Successful in 1m45s
lint / check (push) Successful in 24s
build configuration / build_geo01 (push) Successful in 1m7s
build configuration / build_rescue01 (push) Successful in 1m13s
build configuration / build_geo02 (push) Successful in 1m9s
build configuration / build_bridge01 (push) Successful in 1m5s
build configuration / push_to_cache_storage01 (push) Successful in 1m30s
build configuration / push_to_cache_web02 (push) Successful in 1m20s
build configuration / push_to_cache_vault01 (push) Successful in 1m35s
build configuration / push_to_cache_krz01 (push) Successful in 1m37s
build configuration / push_to_cache_compute01 (push) Successful in 2m0s
build configuration / push_to_cache_geo01 (push) Successful in 1m13s
build configuration / push_to_cache_web01 (push) Successful in 2m9s
build configuration / push_to_cache_rescue01 (push) Successful in 1m23s
build configuration / push_to_cache_geo02 (push) Successful in 1m14s
build configuration / push_to_cache_bridge01 (push) Successful in 1m13s
2024-10-08 20:49:26 +02:00
bfe4957926
feat(patches): Generalize
All checks were successful
build configuration / build_web02 (push) Successful in 1m12s
build configuration / build_storage01 (push) Successful in 1m14s
build configuration / build_vault01 (push) Successful in 1m17s
build configuration / build_krz01 (push) Successful in 1m18s
build configuration / build_compute01 (push) Successful in 1m25s
build configuration / build_web01 (push) Successful in 1m42s
lint / check (push) Successful in 24s
build configuration / build_geo02 (push) Successful in 1m3s
build configuration / build_geo01 (push) Successful in 1m12s
build configuration / build_bridge01 (push) Successful in 1m10s
build configuration / build_rescue01 (push) Successful in 1m17s
build configuration / push_to_cache_storage01 (push) Successful in 1m26s
build configuration / push_to_cache_web02 (push) Successful in 1m20s
build configuration / push_to_cache_vault01 (push) Successful in 1m39s
build configuration / push_to_cache_krz01 (push) Successful in 1m45s
build configuration / push_to_cache_geo02 (push) Successful in 1m17s
build configuration / push_to_cache_compute01 (push) Successful in 2m3s
build configuration / push_to_cache_web01 (push) Successful in 2m5s
build configuration / push_to_cache_geo01 (push) Successful in 1m11s
build configuration / push_to_cache_bridge01 (push) Successful in 1m14s
build configuration / push_to_cache_rescue01 (push) Successful in 1m12s
2024-10-08 18:37:17 +02:00
96e9f14e2d feat(infra): Switch to lix
Some checks failed
Check meta / check_meta (push) Successful in 17s
Check meta / check_meta (pull_request) Successful in 17s
Check meta / check_dns (push) Successful in 38s
Check meta / check_dns (pull_request) Successful in 35s
build configuration / build_compute01 (pull_request) Successful in 17m36s
build configuration / build_vault01 (pull_request) Successful in 17m10s
build configuration / build_web02 (pull_request) Failing after 1m32s
build configuration / build_web01 (pull_request) Successful in 1m56s
build configuration / build_rescue01 (pull_request) Successful in 1m18s
build configuration / build_storage01 (pull_request) Successful in 21m11s
build configuration / push_to_cache (pull_request) Has been skipped
build configuration / build_storage01 (push) Successful in 1m23s
build configuration / build_compute01 (push) Successful in 1m29s
build configuration / build_vault01 (push) Successful in 1m35s
build configuration / build_web01 (push) Successful in 1m51s
lint / check (push) Successful in 27s
build configuration / build_rescue01 (push) Successful in 1m12s
build configuration / build_web02 (push) Failing after 1m20s
build configuration / push_to_cache (push) Has been skipped
2024-07-05 14:39:02 +02:00
46b550781e chore(hive): Simplify path 2024-04-18 16:06:43 +02:00
cbdbed1099 feat(infra): Add nodeMeta argument 2024-04-18 15:53:20 +02:00
dd4e2c62aa feat(infra): Make the gc run weekly 2024-04-15 11:36:31 +02:00
b36b0d7d67 feat(infra): Rework nixpkgs version management
All checks were successful
Check meta / check_meta (push) Successful in 20s
Check meta / check_dns (push) Successful in 43s
build configuration / build_storage01 (push) Successful in 58s
build configuration / build_compute01 (push) Successful in 1m4s
build configuration / build_vault01 (push) Successful in 52s
build configuration / build_web02 (push) Successful in 51s
lint / check (push) Successful in 24s
build configuration / build_rescue01 (push) Successful in 47s
build configuration / build_web01 (push) Successful in 1m21s
2024-04-03 22:05:37 +02:00
sinavir
39d1d2999b feat(hive): Add function to instantiate patched nixpkgs in specialArgs 2024-04-03 19:21:40 +02:00
62d4ae298e fix(hive.nix): meta is a function now
All checks were successful
build configuration / build_vault01 (pull_request) Successful in 1m2s
build configuration / build_web02 (pull_request) Successful in 1m3s
build configuration / build_storage01 (pull_request) Successful in 1m6s
build configuration / build_compute01 (pull_request) Successful in 1m9s
build configuration / build_rescue01 (pull_request) Successful in 50s
build configuration / build_web01 (pull_request) Successful in 1m27s
build configuration / build_vault01 (push) Successful in 1m1s
build configuration / build_storage01 (push) Successful in 1m5s
build configuration / build_web02 (push) Successful in 1m5s
build configuration / build_compute01 (push) Successful in 1m11s
lint / check (push) Successful in 21s
build configuration / build_web01 (push) Successful in 1m26s
build configuration / build_rescue01 (push) Successful in 46s
2024-02-23 13:14:49 +01:00
9767dc35a0 feat(hive.nix): Directly use the source of the patched nixpkgs
All checks were successful
build configuration / build_vault01 (pull_request) Successful in 53s
build configuration / build_storage01 (pull_request) Successful in 57s
build configuration / build_compute01 (pull_request) Successful in 1m3s
build configuration / build_web02 (pull_request) Successful in 53s
build configuration / build_rescue01 (pull_request) Successful in 51s
build configuration / build_web01 (pull_request) Successful in 1m16s
build configuration / build_compute01 (push) Successful in 1m12s
build configuration / build_vault01 (push) Successful in 1m4s
build configuration / build_rescue01 (push) Successful in 1m3s
build configuration / build_web02 (push) Successful in 1m5s
build configuration / build_storage01 (push) Successful in 1m8s
lint / check (push) Successful in 20s
build configuration / build_web01 (push) Successful in 1m32s
2024-02-23 11:13:21 +01:00
82cafb5fd7 feat(meta): Rework and use a module 2024-02-23 11:13:21 +01:00
817c723135 feat(hive): Make code more compact
All checks were successful
lint / check (push) Successful in 30s
build configuration / build_vault01 (push) Successful in 57s
build configuration / build_web02 (push) Successful in 58s
build configuration / build_compute01 (push) Successful in 1m9s
build configuration / build_storage01 (push) Successful in 1m19s
build configuration / build_web01 (push) Successful in 1m26s
2024-02-21 17:20:26 +01:00
5e3819c9b2 feat(shell): Add pre-commit hooks and reformat the repo 2024-02-02 10:51:31 +01:00
5cbbdf2a08 feat(patches): Update nix-patches 2024-01-22 12:46:43 +01:00
4716f8a398 feat(modules): Replace dgn-secrets by age-secrets
All checks were successful
build configuration / build_compute01 (push) Successful in 1m6s
build configuration / build_storage01 (push) Successful in 44s
build configuration / build_web01 (push) Successful in 57s
npins update / npins_update (push) Successful in 46s
2024-01-09 14:48:33 +01:00
Tom Hubrecht
18030d22e8 fix(nix-lib): Use a version that really exists 2023-12-04 09:17:05 +01:00
Tom Hubrecht
e2d9296b9d feat(hive.nix): Optimise the store 2023-11-30 17:55:07 +01:00
Tom Hubrecht
86129fb971 feat(nix-lib): Rename dgn-lib to lib.extra 2023-10-04 09:23:48 +02:00
Tom Hubrecht
4c5a9685db feat(compute01): Deploy outline on docs.dgnum.eu 2023-09-24 15:47:29 +02:00
Tom Hubrecht
eb329666ce feat(nix-patches): Switch to upstream version 2023-09-24 13:03:23 +02:00
Tom Hubrecht
5f473104bf fix(dgn-lib): Switch to new source path 2023-09-11 11:18:15 +02:00
Tom Hubrecht
28fc16dc96 npins: Update nix-lib 2023-07-24 09:50:17 +02:00
Tom Hubrecht
9b5f39d7f2 hive.nix: Switch dgn-lib to nix-lib 2023-07-23 22:16:59 +02:00
Tom Hubrecht
8cecf0eae8 hive: Use stateVersion defined in the nodes metadata 2023-07-23 21:46:20 +02:00
Tom Hubrecht
2274668f9b modules: Setup dgn-network with configuration from metadata 2023-07-20 12:32:31 +02:00
Tom Hubrecht
660a35c7bb hive.nix: Add automatic patching of nixpkgs 2023-07-02 17:16:17 +02:00
Tom Hubrecht
12e959664f hive.nix: Add sources to arguments and add default secret sources 2023-06-30 18:38:53 +02:00
Tom Hubrecht
8949cf78dc hive.nix: Add abstraction 2023-05-22 15:08:33 +02:00
sinavir
fd95fe2c3c init colmena for web-01 2023-05-17 00:56:53 +02:00