Top Banner
51

You Are A Golden God: Automate Your Workflow for Fun & Profit

Aug 06, 2015

Download

Technology

Pantheon
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 2: You Are A Golden God: Automate Your Workflow for Fun & Profit

DevOps

You Are a Golden GodJosh Koenig and Melissa Anderson

Page 3: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 4: You Are A Golden God: Automate Your Workflow for Fun & Profit

PANTHEON

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

https://xkcd.com/1319/

4

Page 5: You Are A Golden God: Automate Your Workflow for Fun & Profit

PANTHEON 5

Page 6: You Are A Golden God: Automate Your Workflow for Fun & Profit

PANTHEON 6

Page 7: You Are A Golden God: Automate Your Workflow for Fun & Profit

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.

Page 8: You Are A Golden God: Automate Your Workflow for Fun & Profit

2001

8

Page 9: You Are A Golden God: Automate Your Workflow for Fun & Profit

PANTHEON

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

9

Manifesto for Agile Software Development

Page 10: You Are A Golden God: Automate Your Workflow for Fun & Profit

Manifesto for Agile Software Development

Working software over comprehensive documentationWorking software over comprehensive documentation

We’re agile! Documentation is against the rules.

Page 11: You Are A Golden God: Automate Your Workflow for Fun & Profit

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

Page 12: You Are A Golden God: Automate Your Workflow for Fun & Profit

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.

Page 13: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 14: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 15: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 16: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 17: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 18: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 19: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 20: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 21: You Are A Golden God: Automate Your Workflow for Fun & Profit

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.

Page 22: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 23: You Are A Golden God: Automate Your Workflow for Fun & Profit

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

Page 24: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 25: You Are A Golden God: Automate Your Workflow for Fun & Profit

What makes sense to automate?

Page 26: You Are A Golden God: Automate Your Workflow for Fun & Profit

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”

...

Page 27: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 28: You Are A Golden God: Automate Your Workflow for Fun & Profit

Background:Given I’m logged in

Page 29: You Are A Golden God: Automate Your Workflow for Fun & Profit

Replacing the user story ...

Alan Klement

Page 30: You Are A Golden God: Automate Your Workflow for Fun & Profit

… with the job story

Page 31: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 32: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 33: You Are A Golden God: Automate Your Workflow for Fun & Profit

Practical first steps

Page 34: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 35: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 36: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 37: You Are A Golden God: Automate Your Workflow for Fun & Profit

Not-live Demo

Page 38: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 39: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 40: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 41: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 42: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 43: You Are A Golden God: Automate Your Workflow for Fun & Profit

VS

Page 44: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 45: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 46: You Are A Golden God: Automate Your Workflow for Fun & Profit

PANTHEON

Why is it always Cowboys and Gods?

Page 47: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 48: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 49: You Are A Golden God: Automate Your Workflow for Fun & Profit
Page 50: You Are A Golden God: Automate Your Workflow for Fun & Profit

PANTHEON 50

@outlandishjosh@lz411

Questions?

Page 51: You Are A Golden God: Automate Your Workflow for Fun & Profit

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

THANK YOU!