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

Feature/test config split #285

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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.

twig_extensions: 0
update: 0
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.

3 participants