Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit b842596

Browse files
author
Corneil du Plessis
committed
[CI] Ensure prepare-cluster.sh will fail when deployments fail.
1 parent 914cbe9 commit b842596

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/deploy/carvel/prepare-cluster.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ if [ "$PULL_IMAGES" == "true" ]; then
4141
fi
4242
start_time=$(date +%s)
4343
echo "Deploying cert-manager $CERT_MANAGER_VERSION"
44+
set -e
4445
kapp deploy --yes --wait --wait-check-interval 10s --app cert-manager \
4546
--file https://github.com/cert-manager/cert-manager/releases/download/$CERT_MANAGER_VERSION/cert-manager.yaml
4647
echo "Deployed cert-manager $CERT_MANAGER_VERSION"

0 commit comments

Comments
 (0)