diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 8e004f7a..4639a5a6 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -106,7 +106,7 @@ jobs: echo "Cleaning up PVCs associated with StatefulSet '${{ inputs.DB_NAME }}'..." # Get the list of pods associated with the StatefulSet '${{ inputs.DB_NAME }}' PODS=$(oc get pods -l app=${{ inputs.DB_NAME }} -o jsonpath='{.items[*].metadata.name}') - + echo "PODS found: $PODS" # Loop through each pod and delete associated PVCs for POD in $PODS; do # Get the list of PVCs associated with the pod diff --git a/openshift/scripts/deploy-database.sh b/openshift/scripts/deploy-database.sh index f44dcbb2..ec392863 100644 --- a/openshift/scripts/deploy-database.sh +++ b/openshift/scripts/deploy-database.sh @@ -92,7 +92,7 @@ until [ $ATTEMPTS -eq $MAX_ATTEMPTS ]; do # Check if the output contains an error if echo "$OUTPUT" | grep -qi "error"; then echo "❌ Database error: $OUTPUT" - # exit 1 + exit 1 fi # Extract the user count from the output