From 0859683c40683fab9121d744514dffe2c785f0cb Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Mon, 2 Nov 2026 21:20:42 -0600 Subject: [PATCH] Stop app deployment when guarded OpenTofu apply fails --- lib/jeannie/pipeline.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jeannie/pipeline.sh b/lib/jeannie/pipeline.sh index 7525309..ca86902 100644 --- a/lib/jeannie/pipeline.sh +++ b/lib/jeannie/pipeline.sh @@ -8167,9 +8167,9 @@ apps() { echo "Deploying homelab applications..." if ((${#app_targets[@]})); then - run_tofu_stack "bootstrap/apps" "${app_targets[@]}" + run_tofu_stack "bootstrap/apps" "${app_targets[@]}" || return 1 else - run_tofu_stack "bootstrap/apps" + run_tofu_stack "bootstrap/apps" || return 1 fi if [[ "${app_selector}" == "all" || "${deploy_registry}" == "true" || "${deploy_supply_chain}" == "true" ]]; then