Skip to content

Commit

Permalink
Temporarily disable english site tugboat previews.
Browse files Browse the repository at this point in the history
  • Loading branch information
joegl committed Feb 25, 2025
1 parent 4922034 commit 8027050
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
aliases:
- hs-colorful
- hs-traditional
- english
# - english
- history
- west

Expand Down Expand Up @@ -55,9 +55,9 @@ services:
- blt drupal:sync:files --site=hs_traditional
- drush @hs_traditional.local user:create tugboat --password=pushcar || true
- drush @hs_traditional.local user:role:add administrator tugboat || true

# Sync to english, history, and west database & files, does not create a user.
- blt drupal:sync:files --site=english
# - blt drupal:sync:files --site=english

- blt drupal:sync:files --site=history

Expand All @@ -80,9 +80,9 @@ services:
- drush @hs_traditional.local eval '\Drupal::moduleHandler()->loadInclude("user", "install");user_update_10000();'
- blt drupal:update --site=hs_traditional

- drush @english.local cr
- drush @english.local eval '\Drupal::moduleHandler()->loadInclude("user", "install");user_update_10000();'
- blt drupal:update --site=english
# - drush @english.local cr
# - drush @english.local eval '\Drupal::moduleHandler()->loadInclude("user", "install");user_update_10000();'
# - blt drupal:update --site=english

- drush @history.local cr
- drush @history.local eval '\Drupal::moduleHandler()->loadInclude("user", "install");user_update_10000();'
Expand Down Expand Up @@ -113,7 +113,7 @@ services:
# Delete and recreate the database for each site.
- mysql -e "DROP DATABASE IF EXISTS hs_colorful; CREATE DATABASE hs_colorful;"
- mysql -e "DROP DATABASE IF EXISTS hs_traditional; CREATE DATABASE hs_traditional;"
- mysql -e "DROP DATABASE IF EXISTS english; CREATE DATABASE english;"
# - mysql -e "DROP DATABASE IF EXISTS english; CREATE DATABASE english;"
- mysql -e "DROP DATABASE IF EXISTS history; CREATE DATABASE history;"
- mysql -e "DROP DATABASE IF EXISTS west; CREATE DATABASE west;"

Expand All @@ -123,14 +123,14 @@ services:
# Download each database dump.
- scp humscigryphon.prod@web-42199.prod.hosting.acquia.com:/mnt/gfs/humscigryphon.prod/backups/prod-hs_colorful-humscigrydb423120-`date -d '8 hours ago' +%Y-%m-%d`.sql.gz /tmp/hs_colorful.sql.gz
- scp humscigryphon.prod@web-42199.prod.hosting.acquia.com:/mnt/gfs/humscigryphon.prod/backups/prod-hs_traditional-humscigrydb423132-`date -d '8 hours ago' +%Y-%m-%d`.sql.gz /tmp/hs_traditional.sql.gz
- scp humscigryphon.prod@web-42199.prod.hosting.acquia.com:/mnt/gfs/humscigryphon.prod/backups/prod-english-humscigrydb423084-`date -d '8 hours ago' +%Y-%m-%d`.sql.gz /tmp/english.sql.gz
# - scp humscigryphon.prod@web-42199.prod.hosting.acquia.com:/mnt/gfs/humscigryphon.prod/backups/prod-english-humscigrydb423084-`date -d '8 hours ago' +%Y-%m-%d`.sql.gz /tmp/english.sql.gz
- scp humscigryphon.prod@web-42199.prod.hosting.acquia.com:/mnt/gfs/humscigryphon.prod/backups/prod-history-humscigrydb423116-`date -d '8 hours ago' +%Y-%m-%d`.sql.gz /tmp/history.sql.gz
- scp humscigryphon.prod@web-42199.prod.hosting.acquia.com:/mnt/gfs/humscigryphon.prod/backups/prod-west-humscigrydb423301-`date -d '8 hours ago' +%Y-%m-%d`.sql.gz /tmp/west.sql.gz

# Import each database dump into the associated table.
- zcat /tmp/hs_colorful.sql.gz | mysql hs_colorful
- zcat /tmp/hs_traditional.sql.gz | mysql hs_traditional
- zcat /tmp/english.sql.gz | mysql english
# - zcat /tmp/english.sql.gz | mysql english
- zcat /tmp/history.sql.gz | mysql history
- zcat /tmp/west.sql.gz | mysql west

Expand Down

0 comments on commit 8027050

Please sign in to comment.