summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-11-27 00:55:59 +0100
committerlassulus <lassulus@lassul.us>2018-11-27 00:55:59 +0100
commitc35bc044dba5260bea5574a86897c6c45b4e525a (patch)
tree7f12141f55c1b6eb8f8da8ab179b85c8b0e27dc9
parent6fe8e37aa6b4321de031b0900eb7ab0203385d43 (diff)
ci: abort if an error occurs in get_steps
-rw-r--r--krebs/3modules/ci.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/ci.nix b/krebs/3modules/ci.nix
index 4cfe598d6..62efce44b 100644
--- a/krebs/3modules/ci.nix
+++ b/krebs/3modules/ci.nix
@@ -26,6 +26,7 @@ let
hostname = config.networking.hostName;
getJobs = pkgs.writeDash "get_jobs" ''
+ set -efu
nix-build --no-out-link --quiet -Q ./ci.nix > /dev/null
nix-instantiate --quiet -Q --eval --strict --json ./ci.nix
'';