26
@jezhumble goto chicago 20 may 2014 devops culture and practices to create flow

devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

@jezhumble goto chicago 20 may 2014

devops culture and practicesto create flow

Page 2: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

the production line

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

Page 3: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

the production line?

Page 4: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

lean product dev vs manufacturing

Charles Betz, Architecture and Patterns for IT

Page 5: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

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

Page 6: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance
Page 7: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

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 8: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

jidoka

自動化 + 人 = 自働化

automation + people = autonomation

Page 9: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

jidoka

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

Page 10: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

Mainline Server

Develop

Build

Build

pull

Local Workstation

Buildpush

✔Done!

Page 11: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

Mainline Server

Develop

Build

Build

pull

Local Workstation

Buildpush

✔Done!

Everyone Commits To

the Mainline Every Day

Page 12: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

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

Page 13: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

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 14: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

hp laserjet firmware team

~5% - innovation

15% - manual testing

25% - current product support

25% - porting code

20% - detailed planning

10% - code integration

2008

Page 15: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

deployment pipeline

Page 16: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

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 17: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

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 18: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

improvement kata

Page 19: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

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 20: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

improvement kata

Page 21: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

delivery — change lead time

quality — time to restore service, % unplanned work

cost — transaction cost of making a change

morale — job satisfaction is highly correlated with business outcomes

safety — make changes and experiments safe to fail

lean metrics

Page 22: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

@jezhumble

high trust culture

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

Page 23: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

managers help their reports

leaders decide outcomes — with short horizon

people doing work discover how to achieve outcomes

update vision, outcomes, metrics based on learnings

leadership

Page 24: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

measure and improve customer outcomes

use automation to detect problems quickly

work in small batches

use continuous improvement to get better

takeaways

Page 25: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

jesse’s rule

“don’t fight stupid, make more awesome”

Jesse Robbins, Co-founder, Opscode @jesserobbins

Page 26: devops culture and practices to create flow chefgotocon.com/dl/goto-chicago-2014/slides/JezHumble_DevOpsCultur… · Delivery team Version control Build & unit tests Automated acceptance

questions@jezhumble | [email protected] http://continuousdelivery.com/

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

© 2014 ThoughtWorks, Inc.

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