From d7f41b67410d9e29738f8152b3c16986576654d5 Mon Sep 17 00:00:00 2001 From: Xavier Metichecchia Date: Thu, 12 Dec 2024 18:12:12 -0500 Subject: [PATCH] Mute again --- scripts/pipeline/cloud-gov-post-deploy.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/pipeline/cloud-gov-post-deploy.sh b/scripts/pipeline/cloud-gov-post-deploy.sh index 358ac793..45335121 100755 --- a/scripts/pipeline/cloud-gov-post-deploy.sh +++ b/scripts/pipeline/cloud-gov-post-deploy.sh @@ -6,25 +6,25 @@ ROOT_DIR=$(git rev-parse --show-toplevel) # Read the drush-post-deploy.sh file line by line while IFS= read -r command || [[ -n "$command" ]]; do # Debugging: Print the current command being processed - echo "Processing command: ${command}" + # echo "Processing command: ${command}" # Skip comments, empty lines, or echo commands if [[ "${command}" != "#"* ]] && [[ -n "${command}" ]] && [[ "${command}" != "echo "* ]]; then - echo "Running command: ${command}" + # echo "Running command: ${command}" # Call the cloud-gov-remote-command script with the project and branch - bash ./scripts/pipeline/cloud-gov-remote-command.sh "${PROJECT}-cms-${BRANCH}" "${command}" < /dev/null #>/dev/null 2>&1 + bash ./scripts/pipeline/cloud-gov-remote-command.sh "${PROJECT}-cms-${BRANCH}" "${command}" < /dev/null >/dev/null 2>&1 # Check for errors and exit if a command fails if [[ $? -ne 0 ]]; then - echo "Error: Command '${command}' failed!" #>&2 + # echo "Error: Command '${command}' failed!" #>&2 exit 1 fi fi done < <(cat "${ROOT_DIR}/scripts/drush-post-deploy.sh") # Indicate script completion -echo "All commands processed successfully!" +# echo "All commands processed successfully!" exit 0 #Casey's Original Script