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

Configuration Management Ecosystem

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

Configuration Management Ecosystem

Avatar for Florian Weber

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