DrupalCon Seattle 2019: 1,001 CI Builds: The story of Drupal 7 to 8 migration

A challenging part of nearly any Drupal 7 to Drupal 8 migration is that the content keeps coming in. While you're building in Drupal 8, the live Drupal 7 site has data added, deleted and revised. Drupal's migration system is designed to handle this problem. But do you want to leave migrations running for hours on your laptop?

To know that the work in Drupal 8 is stable, you need a continuous integration process that can migrate new content, check that it migrated correctly, and test the functionality in the new site. Ideally that process runs with every change to your codebase.

This presentation will review a number of CI strategies that can be especially helpful when migrating from Drupal 7 to 8 including

Generating a preview environment for each pull request.
Scripting migrations from 7 to 8.
Checking representative data in Drupal 8 to ensure no regressions in migration configuration.
Using visual regression tests when building the same theme in Drupal 8.
Behat for behavioral testing of Drupal 8.
Automated checks of performance, accessibility, and other best practices.

Drupal is a registered trademark of Dries Buytaert.