Skip to content

Commit

Permalink
VACMS-16642 Remove Drush launcher in preparation for upgrade to drush…
Browse files Browse the repository at this point in the history
… 12 (#16654)

* VACMS-16642: remove drush launcher from tugboat

* VACMS-16642: fix drush commands
  • Loading branch information
edmund-dunn authored Jan 4, 2024
1 parent 1ac6280 commit e322087
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ services:
- echo "${OAUTH_PUBLIC_KEY}" >> ${TUGBOAT_ROOT}/public.key
- echo "${OAUTH_PRIVATE_KEY}" >> ${TUGBOAT_ROOT}/private.key

# Install drush-launcher, if desired.
- wget -O /usr/local/bin/drush https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar
- chmod +x /usr/local/bin/drush

# Link the document root to the expected path. This example links /docroot
# to the docroot.
- ln -snf "${TUGBOAT_ROOT}/docroot" "${DOCROOT}"
Expand Down Expand Up @@ -214,14 +210,14 @@ services:


# https://www.drush.org/latest/deploycommand/ (updatedb, cache:rebuild, config:import, deploy:hook)
- drush deploy
- bash -lc 'drush deploy'

# Disable sitewide alerts so as not to interfere with testing.
- drush sitewide-alert:disable
- bash -lc 'drush sitewide-alert:disable'

# Prevent continuous releases from running on Tugboat, and reset to ready.
- drush sset va_gov_build_trigger.continuous_release_enabled 0
- drush sset va_gov_build_trigger.release_state ready
- bash -lc 'drush sset va_gov_build_trigger.continuous_release_enabled 0'
- bash -lc 'drush sset va_gov_build_trigger.release_state ready'

# Setup background processing service. This uses runit to keep process up
# See https://docs.tugboat.qa/setting-up-services/how-to-set-up-services/running-a-background-process
Expand Down

0 comments on commit e322087

Please sign in to comment.