Skip to main content
1 of 6
btmash
  • 568
  • 4
  • 9

What is the suggested workflow for migrating configuration from dev -> stage -> production

We had a drupalcamp a few months back and someone asked about managing deployments with the new config system. We could not come up with a desirable workflow for keeping the config in version control and still being able to migrate configuration between team members.

This was the best that we could come up with:

  • Tell version control to ignore active config directory.
  • Copy all Configuration over to staging directory and commit to version control.

And use settings.php to reverse active/staging directory between the 2 environments. However, while figuring out a deployment workflow from one server to the next was complex but doable, what is the suggested workflow from multiple local environments (ie multiple developers) into dev (or between each other) - I would imagine every team member would be sharing the same or similar environment so how do changes on one teammate's machine come over?

btmash
  • 568
  • 4
  • 9