infrastructure/scripts/default.nix
sinavir 60267b4ff6
All checks were successful
Check meta / check_meta (pull_request) Successful in 22s
Check meta / check_dns (pull_request) Successful in 39s
build configuration / build_compute01 (pull_request) Successful in 1m25s
build configuration / build_web02 (pull_request) Successful in 1m27s
build configuration / build_vault01 (pull_request) Successful in 1m38s
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
feat: Update CI to use tvix-store
2024-07-29 14:31:42 +02:00

42 lines
639 B
Nix

{ pkgs, ... }:
let
substitutions = {
inherit (pkgs)
bash
colmena
coreutils
nvd
git
jq
;
attic = pkgs.attic-client;
};
mkShellScript =
name:
(pkgs.substituteAll (
{
inherit name;
src = ./. + "/${name}.sh";
dir = "/bin/";
isExecutable = true;
checkPhase = ''
${pkgs.stdenv.shellDryRun} "$target"
'';
}
// substitutions
));
scripts = [
"check-deployment"
"launch-vm"
"list-nodes"
"push-to-cache"
"push-to-nix-cache"
"cache"
];
in
builtins.map mkShellScript scripts