Skip to content

Commit

Permalink
Fix for failing integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelgbanks committed Nov 12, 2024
1 parent ab33f99 commit c3bdffa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drupal/rootfs/etc/s6-overlay/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ source /etc/islandora/utilities.sh
readonly SITE="default"

function configure {
# Work around for when the cache is in a bad state, as Drush will access
# the cache before rebuilding it for some dumb reason, preventing
# Drush from being able to clear it.
local params=$(/var/www/drupal/web/core/scripts/rebuild_token_calculator.sh 2>/dev/null)
curl -L "${DRUPAL_DRUSH_URI}/core/rebuild.php?${params}"
# Starter site post install steps.
drush --root=/var/www/drupal --uri="${DRUPAL_DRUSH_URI}" cache:rebuild
drush --root=/var/www/drupal --uri="${DRUPAL_DRUSH_URI}" user:role:add fedoraadmin admin
Expand Down

0 comments on commit c3bdffa

Please sign in to comment.