Skip to content

Commit

Permalink
Fixed #2867: Cache clear errors on ACSF deploys. (#2922)
Browse files Browse the repository at this point in the history
* Fixed #2867: Cache clear errors on ACSF deploys.

* Update db-update.sh
  • Loading branch information
danepowell authored and ba66e77 committed Jul 10, 2018
1 parent 59ef28f commit a300619
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 @@ -30,4 +30,9 @@ echo "$site.$target_env: Running BLT deploy tasks on $uri domain in $env environ

IFS='.' read -a name <<< "${uri}"

# Set Drush cache to local ephemeral storage to avoid race conditions. This is
# done on a per site basis to completely avoid race conditions.
# @see https://github.com/acquia/blt/pull/2922
export DRUSH_PATHS_CACHE_DIRECTORY=/tmp/.drush/${db_role}

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

0 comments on commit a300619

Please sign in to comment.