13-15 March 2020

City, University London

Build your own D8 CI/CD Pipeline on AWS Fargate with Feature Branch Environments

Prerequisites

Working knowledge of Drupal 8, CI/CD pipelines, git scm, AWS products, Docker, Jenkins.

Session details

Both Platform.sh and Amazee Labs build out feature branches when committed by the developer. If you are locked into other vendors, or prefer on-prem hosting, then this session explains how you can build a CI/CD pipeline for your D8 sites based on feature / hotfix git branching. The solution offers a build step, then parallel steps of automated tests, static analysis and a persisting dev/QA playground.

The pipeline is triggered automatically on pull request creation (no deployment step) and pull request approval (deployment step). The pipeline can also be triggered manually by a dev or QA with suitable permissions before a PR is issued so progress can be checked part way through a large feature build. 

The persisting playground stands up a fully working Drupal 8 environment for developers, QAs and management to use for manual testing or simply eyeballing the new feature. 

The architecture is based on AWS Fargate - a compute service that uses Docker containers, and is supported by AWS ECR, S3, RDS, CloudFront, CloudWatch, EC2, Route 53 with Jenkins pulling the strings via AWS CLI embedded in shell scripts, and initial orchestration by Terraform and Ansible. 

The entire ecosystem can be built to work with other CMS or indeed other web apps written in different computer languages, but this presentation is specific to Drupal 8 sites. 

 

Skill Level
Session Track

Sponsors

Diamond

Gold

Weekend Keynote Speakers

Kevin Bridges

DDEV, CTO

CxO Keynote Speakers

Michel van Velde

One Shoe, CEO

Nick Rhind

CTI Digital, CEO

Greg Harvey

Code Enigma, Director

Rachel Lawson

,

Carrie Lacina

,

Drupal apprentices

The best people to train new developers are developers

The Drupal Apprenticeship Scheme will be running a London intake in March. If you are interested in hiring an apprentice or know someone who would benefit from the scheme please get in touch via the link below.

  • Created and run by experienced developers
  • Teaches core skills and best practice
  • Extensive support for businesses and teams

We are also really keen to hear from people who might be interested in mentoring, training and helping us to develop and review training materials to make sure they stay absolutely current and relevant.

Find out more

Join the Drupal Association

The Drupal Association unites a global open source community to build and promote Drupal.

The Association is a not-for-profit organization that relies on individuals and businesses to fund everything they do for Drupal — from drupal.org to DrupalCon and community programs.

Connect with us and support our mission-driven work.

Support the Drupal Association

Hosting provided by

platform.sh