devops culture and practices to create flow chef ·...

28
@jezhumble #QConNewYork 11 june 2014 devops culture and practices to create flow

Transcript of devops culture and practices to create flow chef ·...

Page 1: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

@jezhumble #QConNewYork

11 june 2014

devops culture and practicesto create flow

Page 2: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

the production line

http://www.flickr.com/photos/toyotauk/4711057997/

Page 3: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

the production line?

Page 4: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

https://www.flickr.com/photos/chrishuffman/2336990347/

Page 5: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...
Page 6: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

http://www.toyota-global.com/company/vision_philosophy/toyota_production_system/jidoka.html

“Since the loom stopped when a problem arose, no defective products were produced. This meant that a single operator could be put in charge of numerous looms, resulting in a tremendous improvement in productivity.”

toyoda automatic loom, type g

Page 7: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

jidoka

自動化 + 人 = 自働化

automation + people = autonomation

Page 8: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

jidoka

http://www.toyota-global.com/company/vision_philosophy/toyota_production_system/jidoka.html

Page 9: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

Mainline Server

Develop

Build

Build

pull

Local Workstation

Buildpush

✔Done!

Page 10: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

Mainline Server

Develop

Build

Build

pull

Local Workstation

Buildpush

✔Done!

Everyone Commits To

the Mainline Every Day

Page 11: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

www.infoq.com/presentations/google-test-automation

Page 12: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

deployment pipeline

Delivery team Version control Build & unit tests

Automated acceptance tests

User acceptance tests

Release

Check in

Feedback

Trigger

Check in

Feedback

Trigger

Trigger

Check inTrigger

Trigger

ApprovalApproval

Feedback

Feedback

FeedbackFeedback

Page 13: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

hp laserjet firmware team

~5% - innovation

15% - manual testing

25% - current product support

25% - porting code

20% - detailed planning

10% - code integration

2008

Page 14: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

deployment pipeline

Page 15: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

hp laserjet firmware team

~5% - innovation

15% - manual testing

25% - current product support

25% - porting code

20% - detailed planning

10% - code integration

2008

~40% - innovation

5% - most testing automated

10% - one branch cpe

15% - one main branch

5% - agile planning

2% - continuous integration

2011

The remaining 23% on RHS is spent on managing automated tests.

Page 16: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

the economics

2008 to 2011

• overall development costs reduced by ~40%

• programs under development increased by ~140%

• development costs per program down 78%

• resources now driving innovation increased by 8X

A Practical Approach to Large-Scale Agile Development - Gruver, Young, Fulghum

Page 17: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

it performance

• deployment frequency

• lead time for changes

• mean time to recover

http://bit.ly/2014-devops-report

Page 18: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

“Our app code is in a version control system”

“Our app configurations are in a version control system”

“Our system configurations are in a version control system”

“Developers merge their code into trunk daily”

“We get failure alerts from logging and monitoring systems”

highest correlation with it perf

Page 19: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

proactive monitoring

peer-reviewed change approval process

version control everything

win-win relationship between dev and ops

high trust organizational culture

top predictors of it perf

Page 20: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

@jezhumble

high trust culture => information flow

Westrum, “A Typology of Organizational Cultures”, Qual Saf Health Care 2004; 13 (Suppl II):ii22-ii27

Page 21: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

@jezhumble

changing culture

http://sloanreview.mit.edu/article/how-to-change-a-culture-lessons-from-nummi/

Original model: Schein, The Corporate Culture Survival Guide

Page 22: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

improvement kata

Page 23: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

What obstacles are preventing you from reaching it? which one are you addressing now?

What is the target condition? (The challenge)

What is the actual condition now?

When can we go and see what we learned from taking that step?

What is your next step? (Start of PDCA cycle)

improvement kata

Page 24: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

improvement kata

Page 25: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

people doing work discover how to achieve outcomes

“highly aligned, loosely coupled”

leaders decide outcomes — with short horizon

update vision, outcomes, metrics based on learnings

job of managers is to enable their reports

leadership

Page 26: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

measure and improve customer outcomes

use automation to detect problems quickly

work in small batches

use continuous improvement to get better

takeaways

Page 27: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

jesse’s rule

“don’t fight stupid, make more awesome”

Jesse Robbins, Co-founder, Opscode @jesserobbins

Page 28: devops culture and practices to create flow chef · devops_culture_and_practices_to_create_flow_chef Created Date: 6/11/2014 6:37:50 PM ...

questions@jezhumble | [email protected] http://continuousdelivery.com/ !Attend FlowCon! http://flowcon.org/

!ThoughtWorks is hiring! http://join.thoughtworks.com/ !Australia | Brazil | Canada | China Ecuador | Germany | India | Italy Singapore | South Africa | Turkey Uganda | UK | USA

© 2014 ThoughtWorks, Inc.

Pre-order my new book! http://amzn.to/1f7UkbV