Commit graph

26 commits

Author SHA1 Message Date
f3cc7bda86 feat(scripts/liminix): add a basic liminix rebuild
This script requires manual efforts on the operator end not to fuck up
too hard.

This adds min-copy-closure and min-garbage-collect to the development
shell.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-09 01:29:45 +01:00
d915875a25 feat(scripts/liminix): make it easy to extract the firmware part of the Zyxel NWA FIT image
This is useful when reflashing the system from scratch in the levitation
mode.

Note that doing this will reset the UBI counter to zero, this is bad for
wear leveling.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-09 01:29:45 +01:00
25eee32a22 feat(scripts): introduce manual push script
All checks were successful
Check meta / check_dns (push) Successful in 19s
Check meta / check_meta (push) Successful in 20s
Check meta / check_dns (pull_request) Successful in 21s
Check meta / check_meta (pull_request) Successful in 20s
Check workflows / check_workflows (pull_request) Successful in 25s
Run pre-commit on all files / check (push) Successful in 27s
Build all the nodes / bridge01 (pull_request) Successful in 1m56s
Build all the nodes / geo02 (pull_request) Successful in 1m52s
Build all the nodes / geo01 (pull_request) Successful in 1m59s
Build all the nodes / compute01 (pull_request) Successful in 2m21s
Build all the nodes / storage01 (pull_request) Successful in 1m56s
Build all the nodes / rescue01 (pull_request) Successful in 2m2s
Build all the nodes / vault01 (pull_request) Successful in 2m8s
Run pre-commit on all files / check (pull_request) Successful in 34s
Build all the nodes / web01 (pull_request) Successful in 2m24s
Build all the nodes / web02 (pull_request) Successful in 1m39s
Build all the nodes / web03 (pull_request) Successful in 1m47s
Build all the nodes / ap01 (pull_request) Successful in 1h14m57s
This way, we can send some closures if some of our members build them on
more powerful machines.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-08 21:14:28 +01:00
e89ed2d0e7
feat(hive): ensure purity of cache-node.sh
Some checks failed
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) Failing after 20s
Check workflows / check_workflows (pull_request) Successful in 26s
Build all the nodes / ap01 (pull_request) Failing after 1m6s
Build all the nodes / bridge01 (pull_request) Successful in 1m33s
Build all the nodes / vault01 (pull_request) Has been cancelled
Build all the nodes / web01 (pull_request) Has been cancelled
Build all the nodes / web02 (pull_request) Has been cancelled
Build all the nodes / web03 (pull_request) Has been cancelled
Build all the nodes / geo01 (pull_request) Has been cancelled
Build all the nodes / storage01 (pull_request) Has been cancelled
Build all the nodes / geo02 (pull_request) Has been cancelled
Build all the nodes / rescue01 (pull_request) Has been cancelled
Build all the nodes / compute01 (pull_request) Has been cancelled
Run pre-commit on all files / check (pull_request) Successful in 23s
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-08 15:24:40 +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
6ca347ee51
Revert "chore(HACK): open a tmate session in the CI"
This reverts commit 5907ba80e1.
2024-12-08 15:24:40 +01:00
a12b180592
chore(HACK): open a tmate session in the CI
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-08 15:24:40 +01:00
104d64f23f
feat(scripts/cache-node): support non-NixOS systems
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-08 15:24:40 +01:00
4fabadccb4 feat(scripts/): use our own colmena
All checks were successful
Check meta / check_dns (pull_request) Successful in 20s
Check meta / check_meta (pull_request) Successful in 21s
Check workflows / check_workflows (pull_request) Successful in 27s
Build all the nodes / geo02 (pull_request) Successful in 3m44s
Build all the nodes / geo01 (pull_request) Successful in 3m50s
Build all the nodes / bridge01 (pull_request) Successful in 4m12s
Build all the nodes / rescue01 (pull_request) Successful in 4m5s
Build all the nodes / storage01 (pull_request) Successful in 4m2s
Build all the nodes / compute01 (pull_request) Successful in 4m45s
Run pre-commit on all files / check (pull_request) Successful in 32s
Build all the nodes / vault01 (pull_request) Successful in 1m24s
Build all the nodes / web02 (pull_request) Successful in 1m18s
Build all the nodes / web03 (pull_request) Successful in 1m18s
Build all the nodes / web01 (pull_request) Successful in 1m54s
Check meta / check_meta (push) Successful in 26s
Check meta / check_dns (push) Successful in 26s
Build all the nodes / geo01 (push) Successful in 1m21s
Build all the nodes / bridge01 (push) Successful in 1m21s
Build all the nodes / geo02 (push) Successful in 1m4s
Build all the nodes / compute01 (push) Successful in 1m48s
Build all the nodes / storage01 (push) Successful in 1m42s
Build all the nodes / rescue01 (push) Successful in 1m44s
Build all the nodes / vault01 (push) Successful in 1m36s
Run pre-commit on all files / check (push) Successful in 24s
Build all the nodes / web01 (push) Successful in 1m53s
Build all the nodes / web02 (push) Successful in 1m19s
Build all the nodes / web03 (push) Successful in 1m20s
In the future, we should not have to do this.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-07 15:30:42 +01:00
bf06d2573b
feat(nix): Use passthru for shells and return to importing the scripts
All checks were successful
Check workflows / check_workflows (push) Successful in 23s
Build all the nodes / bridge01 (push) Successful in 1m7s
Build all the nodes / geo02 (push) Successful in 1m6s
Build all the nodes / geo01 (push) Successful in 1m8s
Build all the nodes / rescue01 (push) Successful in 1m13s
Build all the nodes / compute01 (push) Successful in 1m29s
Build all the nodes / storage01 (push) Successful in 1m9s
Run pre-commit on all files / check (push) Successful in 24s
Build all the nodes / vault01 (push) Successful in 1m13s
Build all the nodes / web02 (push) Successful in 1m12s
Build all the nodes / web03 (push) Successful in 1m17s
Build all the nodes / web01 (push) Successful in 1m49s
2024-11-14 22:18:40 +01:00
6fbda40e5e
feat(scripts): Unify behaviour and improve generation
All checks were successful
Build all the nodes / bridge01 (push) Successful in 1m17s
Build all the nodes / geo01 (push) Successful in 1m16s
Build all the nodes / geo02 (push) Successful in 1m22s
Build all the nodes / compute01 (push) Successful in 1m38s
Build all the nodes / storage01 (push) Successful in 1m13s
Build all the nodes / rescue01 (push) Successful in 1m22s
Build all the nodes / vault01 (push) Successful in 1m20s
Run pre-commit on all files / check (push) Successful in 24s
Build all the nodes / web01 (push) Successful in 1m46s
Build all the nodes / web02 (push) Successful in 1m6s
Build all the nodes / web03 (push) Successful in 1m9s
2024-11-14 22:01:58 +01:00
aa3d83ca06
fix(scripts): Don't try to upload to the cache if no password is present
All checks were successful
Check meta / check_meta (push) Successful in 18s
Check meta / check_dns (push) Successful in 19s
build configuration / build_and_cache_storage01 (push) Successful in 1m14s
build configuration / build_and_cache_geo02 (push) Successful in 1m2s
build configuration / build_and_cache_rescue01 (push) Successful in 1m11s
build configuration / build_and_cache_geo01 (push) Successful in 1m10s
build configuration / build_and_cache_compute01 (push) Successful in 1m38s
lint / check (push) Successful in 23s
build configuration / build_and_cache_krz01 (push) Successful in 2m7s
build configuration / build_and_cache_vault01 (push) Successful in 1m19s
build configuration / build_and_cache_bridge01 (push) Successful in 1m11s
build configuration / build_and_cache_web02 (push) Successful in 1m17s
build configuration / build_and_cache_web01 (push) Successful in 1m45s
2024-10-11 14:53:00 +02:00
7bdc70632c
chore(scripts): Cleanup of old caching script
All checks were successful
build configuration / build_and_cache_geo01 (push) Successful in 1m13s
build configuration / build_and_cache_geo02 (push) Successful in 1m17s
build configuration / build_and_cache_rescue01 (push) Successful in 1m26s
build configuration / build_and_cache_storage01 (push) Successful in 1m29s
build configuration / build_and_cache_compute01 (push) Successful in 1m37s
lint / check (push) Successful in 24s
build configuration / build_and_cache_krz01 (push) Successful in 2m13s
build configuration / build_and_cache_vault01 (push) Successful in 1m17s
build configuration / build_and_cache_bridge01 (push) Successful in 1m3s
build configuration / build_and_cache_web02 (push) Successful in 1m11s
build configuration / build_and_cache_web01 (push) Successful in 1m41s
2024-10-10 01:04:16 +02:00
6b23df6b54
feat(workflows/eval): Try to build and upload in one fell swoop
Some checks failed
build configuration / build_web01 (push) Has been cancelled
build configuration / build_rescue01 (push) Has been cancelled
build configuration / build_storage01 (push) Has been cancelled
build configuration / build_compute01 (push) Has been cancelled
build configuration / build_geo01 (push) Has been cancelled
build configuration / build_web02 (push) Has been cancelled
build configuration / build_vault01 (push) Has been cancelled
build configuration / build_geo02 (push) Has been cancelled
build configuration / build_bridge01 (push) Has been cancelled
build configuration / push_to_cache_krz01 (push) Has been cancelled
build configuration / push_to_cache_compute01 (push) Has been cancelled
build configuration / push_to_cache_storage01 (push) Has been cancelled
build configuration / push_to_cache_rescue01 (push) Has been cancelled
build configuration / push_to_cache_geo01 (push) Has been cancelled
build configuration / push_to_cache_geo02 (push) Has been cancelled
build configuration / push_to_cache_vault01 (push) Has been cancelled
build configuration / push_to_cache_web01 (push) Has been cancelled
build configuration / push_to_cache_web02 (push) Has been cancelled
build configuration / push_to_cache_bridge01 (push) Has been cancelled
lint / check (push) Successful in 25s
2024-10-09 21:32:38 +02:00
sinavir
38231eb6e0 feat(attic): Bye bye attic
All checks were successful
build configuration / build_web02 (push) Successful in 1m16s
build configuration / build_vault01 (push) Successful in 1m19s
build configuration / build_compute01 (push) Successful in 1m26s
build configuration / build_storage01 (push) Successful in 1m29s
build configuration / build_web01 (push) Successful in 1m42s
lint / check (push) Successful in 24s
build configuration / build_geo01 (push) Successful in 1m5s
build configuration / build_geo02 (push) Successful in 1m10s
build configuration / build_bridge01 (push) Successful in 1m5s
build configuration / build_rescue01 (push) Successful in 1m19s
build configuration / push_to_cache_web02 (push) Successful in 1m16s
build configuration / push_to_cache_vault01 (push) Successful in 1m22s
build configuration / push_to_cache_geo01 (push) Successful in 1m21s
build configuration / push_to_cache_storage01 (push) Successful in 1m44s
build configuration / push_to_cache_geo02 (push) Successful in 1m17s
build configuration / push_to_cache_compute01 (push) Successful in 2m4s
build configuration / push_to_cache_bridge01 (push) Successful in 1m12s
build configuration / push_to_cache_web01 (push) Successful in 2m12s
build configuration / push_to_cache_rescue01 (push) Successful in 1m16s
2024-10-06 18:33:04 +02:00
sinavir
60267b4ff6 feat: Update CI to use tvix-store
All checks were successful
build configuration / build_storage01 (pull_request) Successful in 1m46s
build configuration / build_rescue01 (pull_request) Successful in 1m37s
build configuration / build_web01 (pull_request) Successful in 2m6s
build configuration / build_geo01 (pull_request) Successful in 1m7s
build configuration / build_geo02 (pull_request) Successful in 1m14s
build configuration / push_to_cache_rescue01 (pull_request) Successful in 1m35s
build configuration / push_to_cache_storage01 (pull_request) Successful in 1m50s
build configuration / push_to_cache_geo01 (pull_request) Successful in 1m10s
build configuration / push_to_cache_geo02 (pull_request) Successful in 1m13s
build configuration / push_to_cache_web01 (pull_request) Successful in 4m38s
build configuration / push_to_cache_web02 (pull_request) Successful in 1m23s
build configuration / push_to_cache_compute01 (pull_request) Successful in 1m38s
Check meta / check_meta (push) Successful in 23s
Check meta / check_dns (push) Successful in 40s
build configuration / build_storage01 (push) Successful in 1m21s
build configuration / build_compute01 (push) Successful in 1m28s
build configuration / build_vault01 (push) Successful in 1m29s
lint / check (push) Successful in 25s
build configuration / build_web01 (push) Successful in 1m42s
build configuration / build_web02 (push) Successful in 1m17s
build configuration / build_geo01 (push) Successful in 1m19s
build configuration / build_rescue01 (push) Successful in 1m24s
build configuration / build_geo02 (push) Successful in 1m20s
build configuration / push_to_cache_storage01 (push) Successful in 1m40s
build configuration / push_to_cache_compute01 (push) Successful in 1m49s
build configuration / push_to_cache_geo01 (push) Successful in 1m25s
build configuration / push_to_cache_web02 (push) Successful in 1m39s
build configuration / push_to_cache_rescue01 (push) Successful in 1m37s
build configuration / push_to_cache_web01 (push) Successful in 2m10s
build configuration / push_to_cache_geo02 (push) Successful in 1m19s
2024-07-29 14:31:42 +02:00
sinavir
9826a7d8a3 fix(cache): Fix weird message when using cache command
All checks were successful
build configuration / build_vault01 (push) Successful in 1m8s
build configuration / build_rescue01 (push) Successful in 1m6s
build configuration / build_web02 (push) Successful in 1m6s
build configuration / build_storage01 (push) Successful in 1m10s
build configuration / build_compute01 (push) Successful in 1m18s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 1m34s
build configuration / push_to_cache (push) Successful in 2m8s
2024-04-12 22:59:46 +02:00
sinavir
9f2165abc8 feat(ci): Cache CI results
All checks were successful
build configuration / build_web02 (pull_request) Successful in 1m1s
build configuration / build_vault01 (pull_request) Successful in 1m0s
build configuration / build_compute01 (pull_request) Successful in 1m11s
build configuration / build_rescue01 (pull_request) Successful in 48s
build configuration / build_storage01 (pull_request) Successful in 1m25s
build configuration / build_web01 (pull_request) Successful in 1m27s
build configuration / push_to_cache (pull_request) Successful in 2m10s
build configuration / build_rescue01 (push) Successful in 1m1s
build configuration / build_vault01 (push) Successful in 1m2s
build configuration / build_storage01 (push) Successful in 1m5s
build configuration / build_compute01 (push) Successful in 1m10s
build configuration / build_web02 (push) Successful in 1m2s
lint / check (push) Successful in 22s
build configuration / build_web01 (push) Successful in 1m42s
build configuration / push_to_cache (push) Successful in 2m7s
2024-04-12 22:14:20 +02:00
sinavir
d55faceefb fix(check-deployment): add some error handling and fix the "one-node" mode
All checks were successful
build configuration / build_web02 (push) Successful in 1m5s
build configuration / build_rescue01 (push) Successful in 1m5s
build configuration / build_vault01 (push) Successful in 1m7s
build configuration / build_storage01 (push) Successful in 1m11s
build configuration / build_compute01 (push) Successful in 1m16s
lint / check (push) Successful in 21s
build configuration / build_web01 (push) Successful in 1m31s
2024-02-23 17:35:25 +01:00
3ad40c734f feat(shell): Add list-nodes script
All checks were successful
lint / check (push) Successful in 25s
build configuration / build_vault01 (push) Successful in 1m0s
build configuration / build_web02 (push) Successful in 59s
build configuration / build_storage01 (push) Successful in 1m3s
build configuration / build_compute01 (push) Successful in 1m6s
build configuration / build_web01 (push) Successful in 1m24s
2024-02-19 23:14:27 +01:00
5e3819c9b2 feat(shell): Add pre-commit hooks and reformat the repo 2024-02-02 10:51:31 +01:00
ce0dfe5431 chore(infra): Remove remnants of dgn-dns 2024-02-01 13:35:30 +01:00
sinavir
19c4176015 fix(check-deployment): fix nvd invocation and diff flag
All checks were successful
build configuration / build_storage01 (push) Successful in 58s
build configuration / build_web01 (push) Successful in 59s
build configuration / build_compute01 (push) Successful in 1m15s
npins update / npins_update (push) Successful in 47s
2024-01-07 10:20:46 +01:00
sinavir
e91b0c81f1 feat(external services): add netbox config
All checks were successful
npins update / npins_update (push) Successful in 54s
2023-12-17 12:03:07 +01:00
sinavir
3124465950 feat(scripts): Add a script to easily launch a vm with port forwarding 2023-10-27 14:36:19 +02:00
Tom Hubrecht
c2616ce4f5 modules/dgn-dns: init
Also deploy a DNS server on compute01
2023-07-21 00:37:05 +02:00