Automation Automation Automation

Bbf9decfbfc2ab5b450ec503749ded28?s=47 Michael Heap
February 19, 2016

Automation Automation Automation

A good rule of thumb to have as a developer is that if you have to do something three times or more, you should automate it. Imagine that a task takes you a minute to do, twice a day. Now imagine that you could write something that does it for you, but it would take an hour. Initially, you'll have lost an hour, but after the first month you'll be breaking even, as you've saved those two minutes per day. Then after the second month, you've essentially gained a free hour. Automation is a developer's best friend. Some things are easier to automate than others, but almost anything can be automated. In this talk, we'll take a look at what can be automated, what tools are available to help us and crucially, *if* we should automate it. Surprisingly, sometimes the answer to the question "should we?" is "no".

Bbf9decfbfc2ab5b450ec503749ded28?s=128

Michael Heap

February 19, 2016
Tweet

Transcript

  1. 4.

    1. What is automation? 2. A step by step guide

    to automation 3. Making it institutionalised 4. Thinking outside the box 5. I'm convinced! Let's automate 6. Useful tools
  2. 5.

    0. XKCD 1. What is automation? 2. A step by

    step guide to automation 3. Making it institutionalised 4. Thinking outside the box 5. I'm convinced! Let's automate 6. Useful tools
  3. 6.
  4. 7.

    1. What is automation? 2. A step by step guide

    to automation 3. Making it institutionalised 4. Thinking outside the box 5. I'm convinced! Let's automate 6. Useful tools
  5. 13.
  6. 18.

    #1 Reason People... Have good intentions, but no time Don't

    write tests Don't run tests Don't write/read documentation
  7. 19.

    #1 Reason People... Have good intentions, but no time Don't

    write tests Don't run tests Don't write/read documentation Are not deterministic
  8. 26.
  9. 34.

    No

  10. 41.
  11. 47.

    1. What is automation? 2. A step by step guide

    to automation 3. Making it institutionalised 4. Thinking outside the box 5. I'm convinced! Let's automate 6. Useful tools
  12. 60.

    $ git checkout staging $ git pull origin staging $

    git merge feature/new-awesomeness $ git push origin staging $ cap staging deploy:full
  13. 63.

    $ git checkout staging $ git pull origin staging $

    git merge feature/new-awesomeness $ git push origin staging $ cap staging deploy:full
  14. 66.

    1. What is automation? 2. A step by step guide

    to automation 3. Making it institutionalised 4. Thinking outside the box 5. I'm convinced! Let's automate 6. Useful tools
  15. 68.
  16. 77.

    1. What is automation? 2. A step by step guide

    to automation 3. Making it institutionalised 4. Thinking outside the box 5. I'm convinced! Let's automate 6. Useful tools
  17. 78.

    Us

  18. 79.

    Us

  19. 80.
  20. 86.
  21. 87.

    1. What is automation? 2. A step by step guide

    to automation 3. Making it institutionalised 4. Thinking outside the box 5. I'm convinced! Let's automate 6. Useful tools
  22. 99.
  23. 100.

    1. What is automation? 2. A step by step guide

    to automation 3. Making it institutionalised 4. Thinking outside the box 5. I'm convinced! Let's automate 6. Useful tools
  24. 103.
  25. 105.
  26. 106.
  27. 108.
  28. 109.
  29. 110.
  30. 112.
  31. 115.
  32. 116.
  33. 119.