Skip to main content
Notice removed Canonical answer required by Clive
Bounty Ended with Berdir's answer chosen by Clive
Mention this is regarding the CMI initiative in the description.
Source Link
btmash
  • 568
  • 4
  • 9

What is the suggested workflow for migrating (CMI) configuration from dev -> stage -> production?

We had a drupalcamp a few months back and someone asked about managing deployments with the new config (CMI) system. One possible ideal workflow would involve keeping the config in version control and still being able to migrate configuration between team members.

The best that we in the room were able to figure out (partially based on the presentation at DrupalCon Portland) was:

  • 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) - A possible issue would be every team member would be sharing the same or similar environment so how do changes on one teammate's machine come over?

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. One possible ideal workflow would involve keeping the config in version control and still being able to migrate configuration between team members.

The best that we in the room were able to figure out (partially based on the presentation at DrupalCon Portland) was:

  • 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) - A possible issue would be every team member would be sharing the same or similar environment so how do changes on one teammate's machine come over?

What is the suggested workflow for migrating (CMI) configuration from dev -> stage -> production?

We had a drupalcamp a few months back and someone asked about managing deployments with the new config (CMI) system. One possible ideal workflow would involve keeping the config in version control and still being able to migrate configuration between team members.

The best that we in the room were able to figure out (partially based on the presentation at DrupalCon Portland) was:

  • 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) - A possible issue would be every team member would be sharing the same or similar environment so how do changes on one teammate's machine come over?

retag
Link
Mołot
  • 21.9k
  • 8
  • 59
  • 112
removed tags from title
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

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

Explicitly mention this is for Drupal 8.x
Link
btmash
  • 568
  • 4
  • 9
Loading
Edited to try and have a neutral tone to the scenario and question.
Source Link
btmash
  • 568
  • 4
  • 9
Loading
Notice added Canonical answer required by Clive
Bounty Started worth 250 reputation by Clive
Tweeted twitter.com/#!/StackDrupal/status/378583042618826753
Source Link
btmash
  • 568
  • 4
  • 9
Loading