devops & agility - build the culture, get the tools, win the day - dundee tech meetup

68
DevOps & Agility Build the Culture, Get the Tools, Win the Day David Walker

Upload: david-walker

Post on 15-Apr-2017

399 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps & AgilityBuild the Culture, Get the Tools, Win

the Day

Dav id Wa lke r

Page 2: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Amazon push code to production

every 11.6 seconds

Page 3: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup
Page 4: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps – Agile end to endIndividuals and interactions over processes

and toolsWorking software over comprehensive

documentationCustomer 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.

The Agile Manifesto

Page 5: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps - It Starts with Agileunknown

unknownknown

Requirements

Technology

'simple' projects

'complicated'

'complicated'

'chaos'

'complex' projects

Requirements known, technology unknown

Requirements unknown, technology known

Based on Ralph Stacey's Process Complexity model

Page 6: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Agile is not Agility

Page 7: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Agile is not

(necessarily) Agility

Page 8: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

So you want to be a DevOps outfit…

Page 9: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps - Its not this…

Page 10: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps - Its not this…

Page 11: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps is This..

Page 12: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

What Devsdo is

Complicated

Page 13: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Revenuex million

So What is DevOps? (1)

Page 14: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Revenuex million

So What is DevOps? (2)

Page 15: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Revenuex million

So What is DevOps? (3)

Page 16: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Revenuex million

So What is DevOps? (4)

Page 17: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

So What is DevOps (5)

Page 18: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps is a new kind of role

Extend existing skills to work in a more Agile way

Page 19: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

From the Dev’s PerspectiveContinual DeliveryContinuous IntegrationFirst DeploymentMonitoredTested

Developers that that can maintain infrastructure

Page 20: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

From the Ops PerspectiveVirtualisationCloud basedHigh availabilityTestableMaintainableReproducible

Ops staff that can Code

Page 21: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps Organisations Work Together

One Team – One Goal

Page 22: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOps – We’re all in this together!

Page 23: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Move fromComplicated

toComplex

Page 24: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Startups – Green fields ahoy!

Have a

great idea

Develop it

Deploy it

Page 25: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Enterprise – Complexity due to ScaleHave a

great idea

Debate it

Get Signed off to

process

Scope out requireme

nts

Develop it

Test it

Fix it

Schedule the release

Raise required

paperwork

Get paperwork signed off

Test it as part o the release

Fix it

Deploy as part of a release

Fix it

Page 26: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

What stops us?“It’s too complicated”

“I’ll break it”

“What’s with all this code?”

“What is GitHub?”

“That’s not my responsibility”

Reasons given to me

Page 27: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOpsDevOps is the practice of operations and development engineers participating together in the entire service

lifecycle. From design through the development process to production support

It “Finishes What Agile Started” - by making the whole workflow agile

It involves an entire organisational cultural change in all team members from apprentices all the the way

through to leadership.

How QA define DevOps

Page 28: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

DevOpsDevOps is the practice of operations and development engineers participating together in the entire service

lifecycle. From design through the development process to production support

It “Finishes What Agile Started” - by making the whole workflow agile

It involves an entire organisational cultural change in all team members from apprentices all the the way

through to leadership.

How QA define DevOps

Page 29: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Keep CALMS and do DevOpsC – CultureA – AutomationL – LeanM – MeasurementS – Sharing

DevOps – The C.A.L.M.S Approach

Page 30: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

C – DevOps occurs through Culture

‘’Its amazing what you can accomplish if you do not care who

gets the credit’’

President Harry S Truman

Page 31: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

One Does not Simply Digitally Transform…

It's not the tools that you have faith in - tools are just tools.

They work, or they don't work. It's people you have faith in or not.

Steve Jobs

Page 32: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Where are your Leaders in

Digital?

Page 33: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup
Page 34: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

‘The way we do things around here’

Page 35: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Changing company culture

is challenging

Source: Altimeter Group

Page 36: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

The importance of culture

“Culture eats strategy for breakfast” Peter Drucker

Page 37: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

The importance of leading by example

Page 38: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Trust your Knowledge

Workers

Page 39: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Help the n00bz

Page 40: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

The agile world demands multi faceted teams•No-one working in development can choose not to be involved end to end

We need Rounded Tech Professionals

Page 41: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

The type of Skills Required are Different

Page 42: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

#DevRockStar

#YOLOCoder

#WorkedInDev

#UnitTestsAreForLoosers

#MyWayOrTheHighWay

So You Want To Be a RockStar?

Page 43: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup
Page 44: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

• Lasting Knowledge Transfer

• Transformational presence

• Help to close the tech deficit

• Improve Cross functionality

• Deliver Agility

Same goes for Contractors

Page 45: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Deep Knowledge MattersSo does Collaboration

Page 46: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Be a Choir

Page 47: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Or at least a gang…

Page 48: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

A - Automation

Page 49: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

• Automation• Orchestration• Configuration• Testing• Logging and Monitoring• Continuous Integration• Continuous Delivery

We use Tools for Reasons

Page 50: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

L – LEAN – works with Agile1. Eliminate Waste

2. Build Quality In

3. Create Knowledge

4. Defer Commitment

5. Deliver Fast

6. Respect People

7. Optimise The Whole

Mary & Tom Poppendieck

Page 51: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Visualise what you do

A measurement system helps make the software product more

visible

Page 52: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Kanban board example

Page 53: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Manage the Flow

When we emphasise flow, we focus on queues rather than

timelines

Taicho Ohno

Page 54: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Limit Work in Progress

If you focus on driving Utilisation up,

Things will slow down

Mary & Tom Poppenbeck

Page 55: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Kaizen

The aim of Kanban is to make troubles come to the surface and to link them to a Kaizen Activity

Talichi Ohno

Page 56: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Reclaim Failure

Page 57: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Fail Fast and Often

I have not failed, I’ve just found 10,000 ways that

won’t work

Thomas Edison

Page 58: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

M - Monitoring

"Don't it always seem to go,That you don't know what you've

got'Til it's gone"

Joni Mitchell, Big Yellow Taxi

Page 59: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Improve Collaboratively

If egoless programming is used, everyone in the group will have the opportunity to examine the

work of everyone else at the same time

Gerald Weinberg

Page 60: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Encourage Openness

Page 61: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

S – Sharing

“Knowledge is experience, everything else is information.” Albert Einstein

Page 62: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Implement Feedback Loops

Ignoring feedback merely means that the system will eventually

experience a massive unpleasant surprise rather than a small

unpleasant surprise

John Gall

Page 63: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Evolve Experimentally

It is important that instead of processes being adopted it is

adapted

Jutta Eckstein

Page 64: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Schrodinger’s Code

Code that has been written, but not tested,

is in a state of neither working nor failing until it is observed

@SchrodingerCode

Page 65: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Test Based DevOpsSpecificati

on

Test (BDD) Code

Build & Test

Exploratory Testing

Integration Test

Deploy & Test

Monitor (Test)

Page 66: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

The minimum an organisation evolving into DevOps practice should use is:

A testing framework focussed on behaviourAn automated testing harnessA strategy that focuses engineers on testingApplications designed from the bottom up to be testableConfiguration management solutions that allow rapid creation of any environmentInfrastructure that can be rapidly deployedMethods that can deploy products whenever they are readyDashboards displaying the status of the build

The Next Gen DevOps Lifecycle

Page 67: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Upgrade your digital and working culture like you would hardwareBring Agile out of Dev – Make Agility your aimBe Lean – Lean can lead to greater AgilityDevOps uses lots of tools – but tools without good practices suckBe the Unicorn

Next Steps

Page 68: Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tech Meetup

Questions??LinkedIn- David Walker QA

@BeardLikeAJedi