infrastructure/scripts/default.nix
sinavir 38231eb6e0
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
feat(attic): Bye bye attic
2024-10-06 18:33:04 +02:00

39 lines
576 B
Nix

{ pkgs, ... }:
let
substitutions = {
inherit (pkgs)
bash
colmena
coreutils
nvd
git
jq
;
};
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-nix-cache"
];
in
builtins.map mkShellScript scripts