Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pfrenssen opened this issue May 16, 2022 · 2 comments
Open

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

pfrenssen opened this issue May 16, 2022 · 2 comments
Labels
Enhancement A feature or feature request

Comments

@pfrenssen
Copy link
Contributor

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 pfrenssen added the Enhancement A feature or feature request label May 16, 2022
@github-actions github-actions bot changed the title Execute drush deploy:hook at the end of blt drupal:update DX-5119: Execute drush deploy:hook at the end of blt drupal:update May 16, 2022
@jcnventura
Copy link
Contributor

I support this.

@jcnventura
Copy link
Contributor

This should be closed now that #4612 was merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

No branches or pull requests

2 participants