Page 1 | Configuration Management: A True Life Story
Configuration Management
A True Life Story
October 16, 2018
Configuration Management A True Life Story October 16, 2018 Page 1 - - PowerPoint PPT Presentation
Configuration Management A True Life Story October 16, 2018 Page 1 | Configuration Management: A True Life Story John E. Picozzi Senior Drupal Architect Drupal Providence 401-228-7660 oomphinc.com 72 Clifford Street, oomph.is/jpicozzi
Page 1 | Configuration Management: A True Life Story
October 16, 2018
Page 2 | Configuration Management: A True Life Story
Senior Drupal Architect
401-228-7660 72 Clifford Street, Providence, RI 02903
jpicozzi@oomphinc.com
Drupal Providence
Page 3 | Configuration Management: A True Life Story
Senior Web Engineer
401-228-7660 72 Clifford Street, Providence, RI 02903
nate@oomphinc.com
Drupal Providence
@nathandentzau /nathandentzau
Page 4 | Configuration Management: A True Life Story
September 1, 2016
Page 5 | Configuration Management: A True Life Story
https://www.drupal.org/docs/8/configuration-management
Page 6 | Configuration Management: A True Life Story
Configuration Content Content types Nodes Taxonomy vocabulary Taxonomy terms Menus Menu links Blocks Block content Media types Media
Page 7 | Configuration Management: A True Life Story
Page 8 | Configuration Management: A True Life Story
Page 9 | Configuration Management: A True Life Story
○ Performance ○ Security
Page 10 | Configuration Management: A True Life Story
○ Portability ○ Security
Page 11 | Configuration Management: A True Life Story
September 1, 2016
Page 12 | Configuration Management: A True Life Story
configuration to the filesystem ○ User Interface ○ Drush
profiles and themes ○ Required config ○ Optional config
Page 13 | Configuration Management: A True Life Story
View Differences
Page 14 | Configuration Management: A True Life Story
The Configuration Management module offers a linear workflow where each environment shares the same set of configuration.
LOCAL PROD STAGE DEV
COMMON CONFIG
Page 15 | Configuration Management: A True Life Story
September 1, 2016
Page 16 | Configuration Management: A True Life Story
The Configuration Split module offers a distributed workflow where each environment has an independent set of configuration built on top of a common config.
LOCAL PROD STAGE DEV
COMMON CONFIG
Page 17 | Configuration Management: A True Life Story
configuration to the filesystem ○ User Interface ○ Drush
different environments
different environments ○ Complete Split / Blacklist ○ Conditional Split / Graylist
Page 18 | Configuration Management: A True Life Story
Why is config split helpful?
Page 19 | Configuration Management: A True Life Story
Complete Split
Page 20 | Configuration Management: A True Life Story
Conditional Split
Page 21 | Configuration Management: A True Life Story
September 1, 2016
Page 22 | Configuration Management: A True Life Story
active configuration through the User Interface
with Configuration Split
integration pipeline and testing procedures in place before enabling in a production environment.
Page 23 | Configuration Management: A True Life Story
September 1, 2016
Page 24 | Configuration Management: A True Life Story
Drupal from an existing set of configuration
Configuration Split. Manually importing configuration after install works
Page 25 | Configuration Management: A True Life Story
September 1, 2016
Page 26 | Configuration Management: A True Life Story
and testing of code in a shared code repository
code changes to a project while working on a team
Code Repository Test / Build Website
Page 27 | Configuration Management: A True Life Story
Manager module to export Drupal configuration to version control and easily share configuration changes with other team members
module to test configuration changes locally for different environments
git hooks or manual invocation locally
Page 28 | Configuration Management: A True Life Story
central code repository like Github
making the change and reviewed by other team members
when new commits are pushed
prevent developers from merging changes until tests pass
Page 29 | Configuration Management: A True Life Story
Travis-CI can run code syntax validators, automated tests, and deployments in a CI pipeline
used to install a new instance of Drupal testing the validity of configuration changes and to run automated functional tests
the build is halted
Page 30 | Configuration Management: A True Life Story
database updates and entity updates handled automatically during the deployment process
Configuration Readonly module in Production
Thank you for listening. If you have any questions feel free to contact us.
401-228-7660 Oomphinc.com @oomphinc
jpicozzi@oomphinc.com @JohnPicozzi /in/johnpicozzi /u/johnpicozzi @nathandentzau /nathandentzau