blt icon indicating copy to clipboard operation
blt copied to clipboard

DX-5119: Execute `drush deploy:hook` at the end of `blt drupal:update`

Open pfrenssen opened this issue 3 years ago • 2 comments

When running blt drupal:update we are currently missing a way to execute post update hooks after config import. Support for hook_deploy_NAME() has been added 2 years ago to Drush (ref. drush deploy command).

There was a feature request to completely replace blt drupal:update with drush deploy in #4252 but this idea was abandoned since we would lose the more advanced use cases that are supported in blt drupal:update (such as allowing separate core-only and config-split config management strategies).

Describe the solution you'd like We are already doing the majority of the steps done by drush deploy, except running the deploy hooks. Would it be perhaps a good idea to run drush deploy:hook at the end of our current blt drupal:update process? This way we can keep our advanced use cases, and still offer a "standard" way for site owners to run update hooks after importing config.

pfrenssen avatar May 16 '22 18:05 pfrenssen

I support this.

jcnventura avatar May 24 '22 09:05 jcnventura

This should be closed now that #4612 was merged.

jcnventura avatar Mar 09 '23 11:03 jcnventura