From edc71ff0d7145bcf1b0723c618bcf6e886877dc9 Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Thu, 12 Sep 2024 15:11:37 +0200 Subject: [PATCH] [CI] Improve error handling --- src/deploy/carvel/carvel-add-package.sh | 2 +- src/deploy/carvel/setup-scdf-repo.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deploy/carvel/carvel-add-package.sh b/src/deploy/carvel/carvel-add-package.sh index 0161b3d855..73fc6a16d7 100755 --- a/src/deploy/carvel/carvel-add-package.sh +++ b/src/deploy/carvel/carvel-add-package.sh @@ -33,7 +33,7 @@ if [ "$REPO_SECRET_REF" = "" ]; then fi echo "Using secretRef=$REPO_SECRET_REF in $PACKAGE_NAME for $PACKAGE" - +set -e kubectl apply --namespace $NS -f - <