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>
This commit is contained in:
Ryan Lahfa 2024-12-07 15:30:42 +01:00
parent 344cc26d8e
commit 4fabadccb4
2 changed files with 7 additions and 3 deletions

View file

@ -89,7 +89,7 @@ let
) (builtins.readDir ./workflows); ) (builtins.readDir ./workflows);
}; };
scripts = import ./scripts { inherit pkgs; }; scripts = import ./scripts { inherit pkgs sources; };
in in
{ {

View file

@ -1,11 +1,15 @@
{ pkgs }: { sources, pkgs }:
let let
# TODO: move this into a proper overlay of `pkgs` so that we don't need to track this for every and any package.
colmena = pkgs.callPackage ../lib/colmena {
colmena = pkgs.callPackage "${sources.colmena}/package.nix" { };
};
inherit (pkgs.lib) mapAttrs; inherit (pkgs.lib) mapAttrs;
inherit (pkgs) inherit (pkgs)
writeShellApplication writeShellApplication
colmena
jq jq
nvd nvd
; ;