ci: abort if an error occurs in get_steps
This commit is contained in:
parent
6fe8e37aa6
commit
c35bc044db
@ -26,6 +26,7 @@ let
|
|||||||
|
|
||||||
hostname = config.networking.hostName;
|
hostname = config.networking.hostName;
|
||||||
getJobs = pkgs.writeDash "get_jobs" ''
|
getJobs = pkgs.writeDash "get_jobs" ''
|
||||||
|
set -efu
|
||||||
nix-build --no-out-link --quiet -Q ./ci.nix > /dev/null
|
nix-build --no-out-link --quiet -Q ./ci.nix > /dev/null
|
||||||
nix-instantiate --quiet -Q --eval --strict --json ./ci.nix
|
nix-instantiate --quiet -Q --eval --strict --json ./ci.nix
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user