from xp and continuous integration to devops

32
1 From CI to DevOps Agile and Automation evolution Eric Minick Technical Evangelist [email protected]

Upload: ibm-urbancode-products

Post on 11-May-2015

1.561 views

Category:

Technology


1 download

DESCRIPTION

Agile and Automation have been growing up together over the past decade. Neither practice nor toolset evolves in a vacuum. Rather, they inform each-other. This presentation looks at this history, with an eye towards where the current trends are pushing us.

TRANSCRIPT

Page 1: From XP and Continuous Integration to DevOps

1

From CI to DevOpsAgile and Automation evolution

Eric MinickTechnical Evangelist

[email protected]

Page 2: From XP and Continuous Integration to DevOps

2

Manifesto for Agile Software Development

We are uncovering better ways of developing software 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 on the right, we value the items on the left more.

Page 3: From XP and Continuous Integration to DevOps

3

A Historical Perspective

Page 4: From XP and Continuous Integration to DevOps

4

90’s: Daily Build and Smoke Test

Page 5: From XP and Continuous Integration to DevOps

5

Tinderbox

Page 6: From XP and Continuous Integration to DevOps

6

1999: “Daily builds are for wimps”

Page 7: From XP and Continuous Integration to DevOps

7

2001: First open source “CI” tools

Page 8: From XP and Continuous Integration to DevOps

8

2003: We know CI works

• 90% rise in LOC output/programmerwhen performing builds at least daily

• 36% reduction in defect ratewhen integration/regression testing at each code check-in

“Trade-offs between Productivity and Quality in Selecting Software Development Practices”, IEEE Software, Sept-Oct 2003

Page 9: From XP and Continuous Integration to DevOps

9

Agile & Automation in 2001-2004

Agile (XP)• Small teams• Developer-centric• High discipline• Co-located

Automation(Continuous Integration)

• Build focused• Developer testing• Open source• Lava lamps

Page 10: From XP and Continuous Integration to DevOps

10

2005-2010: To the Enterprise!

Page 11: From XP and Continuous Integration to DevOps

11

The Ken Schwaber Index

20012004

2010

Page 12: From XP and Continuous Integration to DevOps

12

Enterprise Agile… Governance?

“…clients told me of their plans to use Scrum on a $5 million project with 400 developers in three countries…

“Its not the engineering practices that will trip us up, continuous integration, test first, refactoring – these things are understood. Its governance that’s going to be the problem.”

http://blogs.gartner.com/david_norton/2010/01/20/enterprise-agile-in-2010/

Page 13: From XP and Continuous Integration to DevOps

13

Agile & Automation in 2006-2011

Agile (Scrum)• Small & large teams• Cross Functional• Standardized• Distributed

Automation(Continuous Delivery)• Self-service• Builds, tests &

deployments• Enterprise• Shared infrastructure

Page 14: From XP and Continuous Integration to DevOps

14

Invention and Innovation

Page 15: From XP and Continuous Integration to DevOps

15

The difference

• Invention: proven to work in the laboratory• Innovation: it can be replicated reliably on a

meaningful scale at practical costs.

• For an idea to move from invention to innovation requires an ensemble of critical components. Peter M. Senge, The Fifth Discipline

Page 16: From XP and Continuous Integration to DevOps

16

Scrum: Innovation for Agile

• Predictable delivery, comfortable pace

• Agile with fewer objectionable demands

• Certifications and Training

Page 17: From XP and Continuous Integration to DevOps

17

CI: Innovation for Automation

• Automation• Instant feedback on quality• Easy setup with off the shelf tools• Self-service• Transparency/Visibility

Page 18: From XP and Continuous Integration to DevOps

18

Innovations are disruptive

Page 19: From XP and Continuous Integration to DevOps

19

CI Builds

Purpose: determine quality of latest changes

Audience: development team

Source: Build is traceable to latest changes and “latest” source

Artifacts: Throw away builds, tests are important

Build Management Builds

Purpose: produce artifacts for 3rd parties

Audience: 3rd parties outside development

Source: Build is traceable to source

Artifacts: Important builds, artifacts are important and primary

Page 20: From XP and Continuous Integration to DevOps

20

Agile has conquered App-Dev

Page 21: From XP and Continuous Integration to DevOps

21

Today: Failure in the last mile

Page 22: From XP and Continuous Integration to DevOps

22

Valuing “Working Software” means working in Production

Page 23: From XP and Continuous Integration to DevOps

23

DevOps: Agile reaches Ops

*image from Dev2Ops.org

Page 24: From XP and Continuous Integration to DevOps

24

DevOps is…

• Agile & Lean applied to the whole software delivery chain, not just developers– BizDevQaSecReleaseOps

• Driven by efficiency and consistency

• Optimizing software delivery end-to-end

Page 25: From XP and Continuous Integration to DevOps

25

DevOps is also disruptive

Dev

• Very High Tempo

• Can rebuild database / app from scratch– No need for Rollbacks

• Audit is nice to have– Security, traceability,

separation of duties.

• New Environments are common

Ops

• Slower Tempo

• Incremental updates to Database and App– Rollbacks are huge

• Audit Critical– Security, traceability,

separation of duties.

• New environments are rare

Page 26: From XP and Continuous Integration to DevOps

26

DevOps: the Implementation, Convergence

• IaaS on a private cloud

• Environment provisioning as a service.

• Application Deployment (CD) to provisioned environments.

Page 27: From XP and Continuous Integration to DevOps

27

Agile & Automation in 2012+

Agile (Scrumban + DevOps)• Small & large teams• Business to Ops• Standardized• Distributed• RM build to Prod

Automation(Provision -> Monitor)• Platform as a Service• Provision, build, test,

deploy, monitor• Enterprise• Shared infrastructure

Page 28: From XP and Continuous Integration to DevOps

28

Where are the tools headed?

• 2001-2006: CI tools

• 2006-2010: CI becomes Continuous Delivery

• Now: DevOps– CI is commodity.– Integrated CD tools focus on point solutions

deployment and pipeline management. – Expanding integrations with private cloud

Page 29: From XP and Continuous Integration to DevOps

29

Doing the impossible 50-times a day

Page 30: From XP and Continuous Integration to DevOps

30

Manifesto for Agile Software Development

We are uncovering better ways of developing software 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 on the right, we value the items on the left more.

Page 31: From XP and Continuous Integration to DevOps

31

What do I do Tomorrow?

Page 32: From XP and Continuous Integration to DevOps

32

Thank You

Eric MinickTechnical Evangelist

[email protected]