Automated workflows in Drupal 8 with GitHub, Composer and CircleCI

Drupal 8 uses Composer to manage dependencies. In this training, we'll look at how to keep dependencies, like Drupal core and contrib modules, out of GitHub and automate the build portion of your workflow with Continuous Integration. This will allow for cleaner pull requests, reliable site builds and integration with other tools, like Slack.

Learning Objectives

  • Learn the basics of Composer, Continuous Integration, and automated testing, and bring it all together with a build step in Circle CI.

  • Learn how to add, patch, and export configuration for modules in Drupal 8.

  • Learn how to turns a bare repository in GitHub into a fully compiled site on Pantheon.

Prerequisites

Students are expected to have a Pantheon account, GitHub account, and Circle CI account. Students will need Composer and Terminus installed locally. A basic understanding of Drupal 8 is useful, but all exercises will include step-by-step instructions.

Target Audience

  • Developers who want to learn how to use Composer for compiling Drupal 8, modules, and requirements.

  • Teams that want to automate their development workflow with Composer + Drupal 8.

Dev Environments

Mac OSX, Windows 10 Professional, Linux

Training Company

Pantheon

Training Team

- Private group -

Experience Level

Intermediate