From f1d310658f8f8d7b1c1c7cf802cb98a451a61ed1 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 26 Jan 2025 15:08:12 +0100 Subject: Add debug env on scripts --- scripts/00-create-service-account.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/00-create-service-account.sh') diff --git a/scripts/00-create-service-account.sh b/scripts/00-create-service-account.sh index 984e55b..5048df8 100755 --- a/scripts/00-create-service-account.sh +++ b/scripts/00-create-service-account.sh @@ -1,5 +1,9 @@ #!/bin/sh +if [ -z $DEBUG ]; then + set -euxo pipefail +fi + gcloud iam service-accounts create ${SERVICE_ACCOUNT} \ --description="Spark access account to Google Cloud Buckets" \ --display-name="Spark to Bucket" -- cgit v1.2.3-18-g5258