Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Configuration Management Ecosystem

Configuration Management Ecosystem

Florian Weber

April 22, 2017
Tweet

Other Decks in Programming

Transcript

  1. Configuration Management in a nutshell — CMI was the first

    Drupal 8 initiative to be announced in 2011 — Store data that needs synchronising in the configuration system
  2. Configuration vs. Content vs. Deployment Content: Node, User, Taxonomy Terms,

    File ... Config: Fields, Content-Types, Form/View Modes, Views, Image Styles ... Standard Profile (8.4.x) 11 Content Entity Types 29 Config Entity Types
  3. Anwendungsfälle ohne klare Trennung — def. Set an Taxonomy Terms

    — Default Images (Image Fields etc.) — TAC — Webform — Blocks — Panels
  4. Advanced Workflows — Install a site from existing configuration —

    Environment specific overrides (dev Modules, API credentials)
  5. 1. Bootstrap a new site — Config Installer — Install

    Profile Generator + Core Patch — Drush (+ Custom Profile)
  6. 2. Environment specific overrides Overrides in $config (settings.local.php) $config['system.logging']['error_level'] =

    'verbose'; $config['system.site']['mail'] = '[email protected]'; Limitations — Complex Config with State (e.g. Fields), Module — Not visible in UI, leads to confusion
  7. Contrib Modules — Config Split — Config Installer — Config

    Override — Configuration Read-only mode — Install Profile Generator