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

cim should not run on site:build #49

Open
peteratdennis opened this issue Jan 4, 2018 · 2 comments
Open

cim should not run on site:build #49

peteratdennis opened this issue Jan 4, 2018 · 2 comments
Assignees

Comments

@peteratdennis
Copy link
Contributor

peteratdennis commented Jan 4, 2018

When using drupal site:build the command drush cim -y is run which effectively does, in drupal 7 language, features revert all.
This means that if a configuration is change on live it will be lost on the devs vm and consequently on the next release.
So drush cim -y should not run on the VM, it still must run on live however.

@davidgrayston
Copy link
Contributor

Perhaps make this optional, e.g. --skip-cim or --skip-config-import, as I'd imagine in most cases we would want this to behave the same as pre-production and production environments.

Alternatively, we could opt in to cim, e.g. --import-config on VM, however, this would mean we have to manually import config every time we build a site on the VM.

cc @marcelovani

@marcelovani
Copy link
Contributor

done, see pr #55
usage: drupal site:build --skip="config:import"

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

No branches or pull requests

3 participants