Reactie toevoegen

The new Docker testbot that will power Drupal Quality Assurance

Drupaldevdays 2014 at Szeged was a huge success, especially regarding the seven-day long sprints, where a lot of work was done, from the core development initiatives to improvements and infrastructure developments.

On the Drupal infrastructure team we have been quite busy, trying to improve processes, making things easier and faster for Drupal and the Drupal community. Therefore I went to Szeged and engaged live with jthorson, dasrecht and beejeebus on a mission to modernize the Drupal automated testing, on, commonly known as the “testbots.”

The primary working results are available at the public repo:

Git Commit statistics:

  1. Ricardo Amaro 132 commits
  2. Jeremy Thorson 7 commits
  3. Bastian Widmer 1 commit (via pull request)

and 40 retweets of the announcement.

Based on this work, Nick Veenhof wrote up a great post on
How to reliably test sandbox projects using the testbot locally.

Why do we need this and why do we think it’s awesome?

  • Test patches on your local box the same you do on
  • Test multiple patches and multiple modules/sandboxes at once
  • Test any Drupal version/branch
  • Get realtime output from the Docker container
  • Choose mysql, sqlite
  • Choose PHP5.3/5.4/5.5 versions
  • Test offline with caching feature
  • Test only what you need and faster!
  • Runs natively on Linux and on MAC/windows via vagrant

Here are the quick Linux instructions for building the containers:

git clone
sudo ./ cleanup

… and Vagrant MAC/Windows instructions:

(You do need Vagrant and Virtualbox installed)

git clone
vagrant up

Example of one run, using one patch, against D8 Bootstrap tests:

sudo \
TESTGROUPS="Bootstrap" \
PATCH=",." \

docker testbot run

More examples and documentation at:

Try it out now. Seriously! It's easy!

Read the full “Modernizing Testbot: Drupal Dev Days report” at:

What are the next steps?

Aside from keeping improving the docker testbot we will:

  • Integrate with the Jenkins service
  • Connect with
  • Improve issues with the new options
  • Use the new OpenStack to run the containers

And possibly integrate with in order to have testbots on pull request off github repos.

Thank you to all who are supporting, helping and testing this project!

Plain text

  • Geen HTML toegestaan.
  • Adressen van webpagina's en e-mailadressen worden automatisch naar links omgezet.
  • Regels en alinea's worden automatisch gesplitst.

Filtered HTML

  • Use [acphone_sales], [acphone_sales_text], [acphone_support], [acphone_international], [acphone_devcloud], [acphone_extra1] and [acphone_extra2] as placeholders for Acquia phone numbers. Add class "acquia-phones-link" to wrapper element to make number a link.
  • To post pieces of code, surround them with <code>...</code> tags. For PHP code, you can use <?php ... ?>, which will also colour it based on syntax.
  • Adressen van webpagina's en e-mailadressen worden automatisch naar links omgezet.
  • Toegelaten HTML-tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <h4> <h5> <h2> <img>
  • Regels en alinea's worden automatisch gesplitst.
Bij het indienen van dit fomulier gaat u akkoord met het privacybeleid van Mollom.