Let the Machines do the Work

When developing a Drupal site there is so many things that developers have to remember. Developers like all humans are error prone. Computers don't make mistakes, they don't get bored, they do what they're told. Instead of relying on error prone developers, workflows should rely on automation.

Today there is a lot of hype about how startups X and Y do DevOps. These "celebrity" implementations can be intimidating for developers struggling with manual deployments and poor workflows. Many of these examples can be difficult to map to how Drupal works.

Most sites today are built using iterative development and incremental change. Development workflows should evolve the same way. Generally turning everything on its head doesn't end well. During this session Dave will present how incremental improvements to a Drupal development workflow can help prevent errors.

Dave will identify processes that can be automated along with suggestions and examples on how to make it happen. This session will provide a good mix of theory and practical examples for users wanting to improve their delivery pipeline. The examples will include:

  • git pre commit hooks for ensuring coding standards compliance
  • using a chat bot to provide developers sanitised production databases
  • flagging deployments in other systems
  • automated testing against a cloned version of production on each commit
  • automatic deployment after merging a pull request

Automation helps reduce errors while freeing up developer time. Your team can use this extra time to think.

Audience Level

This session is for developers and sys admins who don't mind getting there hands dirty on the command line. There will be some bash and possibly PHP and Python used in the session. The code will be annotated and available on github so most developers should be able to copy, paste, hack and deploy.

About Dave Hall

Dave is the Managing Director of Dave Hall Consulting. When he isn't working with clients to build high quality web applications, he is helping them improve their infrastructure and business processes. In the last 6 years Dave has been responsible for building, launching and maintaining over 2500 production Drupal sites and maintaining sites for clients including Pfizer, Insurance Australia Group, Al Jazeera and CNN. Dave's focus is Drupal deployments and automation.

Resources: see github gist

Session Track

DevOps

Experience level

Intermediate

Drupal Version

Drupal 8.x

Session Time Slot(s)

Time: 
09/27/2016 - 13:00 to 09/27/2016 - 14:00
Room: 
Wicklow Meeting 1 | Lingotek