Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #853
Changes proposed:
To give some background, the method that cloud hooks functionality has previously been enabled on ACSF projects is via a modified version of the acsf-tools-ml command which removed the 'ok' confirmation requirement, but this only allowed for running single drush commands against all sites and there was no integration with the BLT deploy and setup tasks. This required manually re-writing the deploy and setup tasks into a separate script and there was no support for tasks managed via project.yml such as toggle-modules, etc. This PR adds full support for BLT deploys to ACSF to mirror the ACE deployment process. It is enabled by default for new projects and can be added to existing projects by modifying the ACSF exclusion in the post-code-deploy and post-code-update hooks. In the future, it may make sense to exclude running the deploy updates on the 01devup, 01testup, and 01update environments in the post-code-update hook, as site databases are only synced to these environments on Factory code deploys.