Automatic Drupal Updates using Visual Regression & Continuous Integration
populist
andrew.taylor
Your Drupal site really loves to be updated! Be it core, contributed modules, base themes, distributions, or libraries there is a LOT of code that you need to update for every site. However, even with tools like Drush, updating your site is hard work. You need to apply updates, test updates, and deploy updates. And do it for every single site for which you are responsible every single time an update comes out.
Enter "Automatic Drupal Updates" and making the robots do your updates. This session will talk about how to use a Continous Integration and Visual Regression solution to do the following magic:
- Setup Continous Integration to check every hour to see if there are new updates for your Drupal site
- If there are updates available...
- Create a new git branch & development environment with your current code, database, and files.
- Apply the new updates to the new git branch. Clear all caches.
- Do Visual Regression Testing to see if the update created a visual difference on the site. Most security and bug fix updates should not change the visual look & feel of your site.
- If there are no visual changes, commit the new updates to Git and deploy the updates automagically to your production environment.
- Send you a Slack notification of the results of the testing & what updates were applied
- Wait an hour to do this all AGAIN.
If this is your life, this session is for you.
Come join Matt Cheney to see this automagical workflow in action!
Session Track
DevOps
Experience Level
Intermediate
Drupal Version
When & Where
Time:
Wednesday, 26 April, 2017 - 10:45 to 11:45
Room:
310