When:
to
Room:
Room 4 (-2.42)
Tags:
devops
Track:
SVG
U&E icon_new brand
infosec & devops

GitHub Actions + Docker + Cypress = CI/CD Nirvana

GitHub Actions + Docker + Cypress = CI/CD Nirvana

Marji Cermak (Marji)

In today’s Drupal landscape, speed alone isn't enough – your deployments must also be secure, tested, and repeatable. Imagine if every push to your repository triggered a fully automated pipeline that validated your code, synced database, executed frontend tests, and deployed safely – without manual intervention.

Prerequisite
* Some familiarity with GitHub Actions, Composer, and Drush
* Understanding of Docker concepts and Drupal configuration
* Optional: Experience with Cypress, Pantheon, or Acquia is helpful but not required

Outline
This session walks through a production-grade DevOps setup purpose-built for Drupal teams operating in high-stakes, multi-environment ecosystems. Leveraging GitHub Actions, Docker and Cypress, our solution delivers:
* Composer validation, secure credential handling, and automated environment setup
* Nightly syncing of databases from Pantheon or Acquia environment into MySQL docker images
* End-to-end Cypress test suite executed automatically as part of the CI
* Solid, reusable scripts to manage branch-specific deployments to Acquia and Pantheon
* Secure, test-driven, Slack-notified workflows that are easy to adapt and scale

If you maintain an enterprise-grade Drupal site or juggle deployments across multiple platforms, this session offers a blueprint for reliability, automation, and peace of mind.

πŸ› οΈ Tools in Action
* End-to-end, open-source Github CI workflows (pantheon_deploy.yml, acquia_deploy.yml)
* Dockerised MySQL services for parallel, containerised CI environments
* Reusable open-source scripts supporting this workflow
* Cypress test automation executed in CI
* Container Registry integration to store MySQL images
* Secure deployments to Git remotes via SSH keys stored in GitHub Secrets

πŸ‘₯ Who Should Attend
* Drupal DevOps engineers and sysadmins seeking to automate and streamline deployment workflows
* Developers deploying across multiple hosting providers (e.g., Acquia, Pantheon)
* Site Reliability Engineers (SREs) aiming to embed test automation in their CI pipelines
* Technical architects looking for robust, secure, and scalable CI/CD strategies
* Anyone maintaining Drupal platforms who wants to eliminate manual, error-prone deployments

Learning Objectives
πŸ”§ What You’ll Learn
* πŸ” How to validate Composer, PHP extensions, and Drush status via GitHub Actions
* 🐳 How to use Docker and scheduled cron jobs to create test-ready Drupal DB containers
* πŸ” How to ecurely deploy using GitHub Secrets and SSH keys
* πŸ§ͺ How to integrate Cypress for full-stack frontend testing within CI
* πŸ”„ Deployment strategies that seamlessly adapt to both Acquia and Pantheon
* βš™οΈ How to build developer-friendly CI/CD workflows that are modular and reusable
* πŸ“£ How to configure Slack alerts for proactive issue detection and resolution

Experience level
Intermediate