Test-Driven D7 Upgrades w/ Docker

Alex Dergachev
alex@evolvingweb.ca
github.com/dergachev
twitter.com/dergachev
evolvingweb on drupal.org

Outline

About the project

Technical features (UI)

Technical features (Data)

Extra requirements

Incidental challenges

Technical solutions

Unit testing

Scripted upgrade process

Docker for build process

Docker tutorial / demo

SiteDiff

SiteDiff Input

    paths:
     - /
     - /user

    selector: 'body'

    sanitization:
    - title: 'remove form build id'
      pattern:    '<input type="hidden" name="form_build_id" value="form-[a-zA-Z0-9_-]+" *\/?>'
      substitute: '<input type="hidden" name="form_build_id" value="__form_build_id__">'

    before:
      dom_transform:
      - type: remove
        selector: '#something'

SiteDiff output

Content migrate tweaks

Any questions about...?

/

#