From 6330fc2c67b16b78f51fbff1c29eaeef73eb0dec Mon Sep 17 00:00:00 2001 From: Roger Qiu Date: Sun, 10 Jul 2022 17:03:53 +1000 Subject: [PATCH] ci: added error options to `nix-shell --run` for `integration:deployment` --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40dad1116a..bef0fe8c27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -316,6 +316,9 @@ integration:deployment: script: - > nix-shell --run $' + set -o errexit; + set -o nounset; + set -o pipefail; echo \'Deploying container image to ECR\'; aws ecr get-login-password \ | skopeo login \