you are a golden god: automate your workflow for fun & profit

51

Upload: pantheon

Post on 06-Aug-2015

220 views

Category:

Technology


0 download

TRANSCRIPT

DevOps

You Are a Golden GodJosh Koenig and Melissa Anderson

PANTHEON

'Automating' comes from the roots 'auto-' meaning 'self-', and 'mating', meaning 'screwing'.

https://xkcd.com/1319/

4

PANTHEON 5

PANTHEON 6

Manifesto for Agile Software DevelopmentWe are uncovering better ways of developingsoftware by doing it and helping others do it.Through this work we have come to value:

Individuals and interactions over processes and toolsWorking software over comprehensive documentation

Customer collaboration over contract negotiationResponding to change over following a plan

That is, while there is value in the items onthe right, we value the items on the left more.

2001

8

PANTHEON

Individuals and interactions over processes and toolsOooh, shiny new tools: Vagrant, Docker, Behat, Grunt, ad infinitum

9

Manifesto for Agile Software Development

Manifesto for Agile Software Development

Working software over comprehensive documentationWorking software over comprehensive documentation

We’re agile! Documentation is against the rules.

PANTHEON

Customer collaboration over contract negotiation

We had to give a fixed bid, or we wouldn’t get the job

followed by:

Scope creep! Scope creep!

Manifesto for Agile Software Development

Customer collaboration over contract negotiation

PANTHEON

Responding to change over following a plan“Geez... planning so is boring. Let’s shred some code!”

Manifesto for Agile Software Development

Slow your roll, bro.

Don't forget the time you spend finding the chart to look up what you save. And the time spent reading this reminder about the time spent. And the time trying to figure out if either of those actually make sense. Remember, every second counts toward your life total, including these right now.

Documentation

Recorded browsers tests (Selenium)

Unit tests

Checklists and manual click-testing

Abstracted browser tests (Codeception, Selenium, Behat, Cucumber)

Representative environments

Automated notifications

Monitoring and alerts

What makes sense to automate?

Feature: In order to contribute content As an author I need to log in

Scenario: Successful login Given a user named “Virginia” with the “author” role When I enter “Virginia” in the “username” field And I enter “password” in the “password” field And I click “Log in” Then I should see “Welcome, Virginia”

Scenario: Bad password Given a user named “Virginia”

...

Background:Given I’m logged in

Replacing the user story ...

Alan Klement

… with the job story

Practical first steps

Not-live Demo

VS

PANTHEON

Why is it always Cowboys and Gods?

PANTHEON 50

@outlandishjosh@lz411

Questions?

WHAT DID YOU THINK?EVALUATE THIS SESSION - LOSANGELES2015.DRUPAL.ORG/SCHEDULE

THANK YOU!