Skip to content

Commit

Permalink
ci: Update post-validation-destroy-slz-roks-and-obs-instances.sh (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocofaigh authored Dec 16, 2024
1 parent c99ebee commit 414c771
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

########################################################################################################################
## This script is used by the catalog pipeline to destroy the SLZ ROKS Cluster, which was provisioned as a ##
## This script is used by the catalog pipeline to destroy the SLZ OCP Cluster, which was provisioned as a ##
## prerequisite for the WAS extension that is published to the catalog ##
########################################################################################################################

Expand All @@ -12,8 +12,9 @@ TF_VARS_FILE="terraform.tfvars"

(
cd ${TERRAFORM_SOURCE_DIR}
echo "Destroying prerequisite SLZ ROKS Cluster and Observability instances .."
echo "Destroying prerequisite SLZ OCP Cluster and Observability instances .."
terraform destroy -input=false -auto-approve -var-file=${TF_VARS_FILE} || exit 1
rm -f "${TF_VARS_FILE}"

echo "Post-validation completed successfully"
)

0 comments on commit 414c771

Please sign in to comment.