commit 88b2189d517b2688bb9a9e5b93580baa602c5f5f
parent fcb9d0ee8e4cf3184c397c00db41ba4d82e9ba68
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 5 Jun 2020 12:22:22 +0200
builds: add set -euo pipefail on "scripts"
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/.builds/nix-pkgs.yml b/.builds/nix-pkgs.yml
@@ -3,9 +3,11 @@ secrets:
- 0818d60d-b587-4d4e-81d8-dc15072ccb97
tasks:
- setup: |
+ set -e
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use shortbrain
- cached: |
+ set -euo pipefail
set +x
export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
set -x
diff --git a/.builds/nix-systems-desktop.yml b/.builds/nix-systems-desktop.yml
@@ -6,6 +6,7 @@ tasks:
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use shortbrain
- systems: |
+ set -euo pipefail
set +x
export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
set -x
diff --git a/.builds/nix-systems.yml b/.builds/nix-systems.yml
@@ -6,6 +6,7 @@ tasks:
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use shortbrain
- systems: |
+ set -euo pipefail
set +x
export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
set -x