-
Notifications
You must be signed in to change notification settings - Fork 396
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
Config split ignored during config-import on Acquia cloud #1891
Comments
@danepowell A bug was recently fixed in BLT, it formerly caused the |
This was the problem I had when I updated to 8.9.0 -- I worked around it by adding these lines in the cm section of my /blt/project.yml file
|
That commit worked, thanks! |
I was having the same issue in Acquia Cloud. deploy-key: sync trick fixed the issue (although right approach would be to update the branch) |
My system information:
When I deploy code for BLT 8.9.0 sites to Acquia Cloud, it imports configuration as part of Cloud post-deploy/post-update hooks. Normally this config import applies config splits as well, but as of 8.9.0 this is no longer the case.
BLT is essentially running this command:
/var/www/html/foo.dev/vendor/bin/drush config-import vcs
When I run that command manually, I can verify that it does not properly include config splits.
If I simply change that to use the
sync
key instead ofvcs
, it does take into account config splits:/var/www/html/foo.dev/vendor/bin/drush config-import sync
This makes sense, since Config Split (or Config Filter really) only supports using the default
sync
directory: https://www.drupal.org/node/2865912#comment-12020955The only thing that doesn't quite make sense to me is why this only changed recently. I'm assuming BLT versions prior to 8.9 used the
sync
directory during deployments.The text was updated successfully, but these errors were encountered: