Skip to content

Conversation

@JDDoesDev
Copy link
Contributor

Changes

  • Adds the config_split module
  • Creates a local config split with devel, kint, and field/views UI modules
  • Remove the tour module
  • Disable local split on production, disabling kint, devel, dblog, and UI modules
  • Add patch to prevent sensitive, ignored config from being exported

Testing steps

  • Install site and pull down database from production.
  • Run drush cim from within the container.
    *This should enable kint and devel during testing since other modules in the split are already enabled on prod
  • Run drush cex and notice that mailchimp and recaptcha config is not changed to include sensitive keys
  • Change the environment in docker-compose.yml to production by uncommenting line 19 #LAGOON_ENVIRONMENT_TYPE: production and run docker-compose up -d to rebuild containers with new environment variables
    *Clear caches and run drush cim. dblog, devel, kint, and others should be disabled based on being in the production environment.

user: 0
video_embed_field: 0
video_embed_media: 0
views_ui: 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But... but... what if we need to make hotfixes on prod? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants