From 63cbe3a71024dcbdcb2e432cab670919b403d1d8 Mon Sep 17 00:00:00 2001 From: "Leo J." <153937047+leiicamundi@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:53:38 +0200 Subject: [PATCH] chore: add pipefail to the cleanup script (#48) --- .../actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh b/.github/actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh index 7d8fdda..b5b574f 100755 --- a/.github/actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh +++ b/.github/actions/rosa-cleanup-clusters/scripts/destroy-clusters.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -o pipefail + # Description: # This script performs a Terraform destroy operation for clusters defined in an S3 bucket. # It copies the Terraform module directory to a temporary location, initializes Terraform with