Skip to content

Commit

Permalink
Fixes acquia#3325: Verbose bash logging and error reporting for facto…
Browse files Browse the repository at this point in the history
…ry hooks.
  • Loading branch information
danepowell committed Mar 11, 2019
1 parent 3ce133c commit 1a30d79
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/factory-hooks/db-update/db-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
#
# Usage: post-code-deploy site env db-role domain custom-arg
# Map the script inputs to convenient names.

# Exit immediately on error and enable verbose log output.
set -ev

# Acquia hosting site / environment names
site="$1"
env="$2"
Expand Down Expand Up @@ -42,3 +46,4 @@ echo "Running BLT deploy tasks on $uri domain in $env environment on the $site s

DRUSH_PATHS_CACHE_DIRECTORY=$cacheDir $blt drupal:update --environment=$env --site=${name[0]} --define drush.uri=$domain --verbose --yes --no-interaction

set +v

0 comments on commit 1a30d79

Please sign in to comment.