Tom Hubrecht
6b23df6b54
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
40 lines
593 B
Nix
40 lines
593 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 = [
|
|
"cache-node"
|
|
"check-deployment"
|
|
"launch-vm"
|
|
"list-nodes"
|
|
"push-to-nix-cache"
|
|
];
|
|
in
|
|
|
|
builtins.map mkShellScript scripts
|