From e322087f4c5fdd8b7ef27988df76b1c45216822a Mon Sep 17 00:00:00 2001 From: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> Date: Thu, 4 Jan 2024 04:54:09 -0800 Subject: [PATCH] VACMS-16642 Remove Drush launcher in preparation for upgrade to drush 12 (#16654) * VACMS-16642: remove drush launcher from tugboat * VACMS-16642: fix drush commands --- .tugboat/config.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.tugboat/config.yml b/.tugboat/config.yml index 6e7a318ed1..c49d129aca 100644 --- a/.tugboat/config.yml +++ b/.tugboat/config.yml @@ -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}" @@ -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