Problem/Motivation

This module is essentially a 5ish-liner:
https://git.drupalcode.org/project/profile_switcher/-/blob/8.x-1.x/src/P...
...that updates config AND state.

So switching on an integration server and then deploying config might not give the expected result, as state is not updated thus in an inconsistent state.

So currently we have to
* Install PS
* Deploy
* Run PS on integration AND live
* Commit config on integration
* Uninstall PS
* Deploy
* Remove PS

That's a pity.

Proposed resolution

a) Make a drush command that
* does the config changes on the integration server
* AND scaffolds an update hook that updates state on live

or b)
* do the config changes on the integration server
* have a config listener on live that updates state when profiles are switched

Comments

geek-merlin created an issue. See original summary.

geek-merlin’s picture

Title: Make a deployable version » Find a way to switch profile in the deployment process