Delivery With Chef - ChefConf 2015
-
Upload
chef -
Category
Technology
-
view
34 -
download
0
Transcript of Delivery With Chef - ChefConf 2015
DELIVERY WITH CHEFSeth Falcon
GM, Delivery
A CHEF SINCE 2010
ERCHEF
CHEF SERVER ROLES ENDPOINT90TH PERCENTILE LATENCY
Optimization New product development
DELIVERY
?
2014
WORRY ABOUT BUILDING THE WRONG
THING
TALK TO CUSTOMERS
WORRY ABOUT BUILDING THE WRONG
THING
TALK TO CUSTOMERS
THINGS WE DID NOT DO WHEN BUILDING
ERCHEF
WORRY ABOUT BUILDING THE WRONG
THING
TALK TO CUSTOMERS
THINGS WE DID NOT DO WHEN BUILDING
ERCHEF
THING WE ARE DOING WHILE BUILDING
DELIVERY
NEW PRODUCT DEVELOPMENT
Optimize for feedback and learning
Design to replace
CHEF DELIVERY
CHEF DELIVERY
VALIDATED IN OUR ENGAGEMENTS WITHENTERPRISE AND BIG WEB CUSTOMERS.
WE'VE IDENTIFIED A STABLE WORKFLOW
STABLE WORKFLOWSteps
Create a new change1
Test ChangeLocally2
Verification Tests
SubmitChange3
ReviewChange4
Build Artifacts
Acceptance Tests
ApproveChange5
Release Process
DeliverChange6
manual automated
A SHARED PIPELINE
ACROSS PROJECTS AND TEAMS
SHARED PIPELINEOne Pipeline
Delivery Pipeline
Acceptance PipelinesInfrastructure & Applications
THE STAGES ARE FIXED
EACH STAGE HAS A FIXED SET OF PHASES
A UNIFIED PIPELINE SHAPE
DELIVERY PIPELINESteps
manual automated
VerifyLint
Syntax
Unit
BuildMerge
Lint
Syntax
Unit
Quality
Security
Publish
Provision
Deploy
Smoke
Functional
Acceptance UnionProvision
Deploy
Smoke
Functional
RehearsalProvision
Deploy
Smoke
Functional
DeliveredProvision
Deploy
Smoke
Functional
Stages
customizable
Verify Build
Acceptance
Union
Rehearsal
Delivered
SubmitChange3
ReviewChange4
ApproveChange5
DeliverChange6
Chef Delivery
Create a new change1
Test ChangeLocally2
Workstation
$ ssh my-node
OHAI!!!!$
motd simple-web
Acceptance simple-web
Acceptance motd
Union Rehearsal Delivered
simple-web (motd)
simple-web (motd)
simple-web (motd)
simple-web (motd)
motd
Acceptance simple-web
Acceptance motd
Union Rehearsal Delivered
simple-web (motd)
simple-web (motd)
simple-web (motd)
simple-web (motd)
motd
OUR DEMO PLAN
1. Propose a change to motd
2. Review acceptance; then hit Deliver
3. See how Union is affected
4. Propose a change to simple-web, see that we get latest motd in acceptance
DEMO TIMES
DELIVERY BY PHONE?
OUR JOURNEY
SHIPPING FEATURESnot tasks
SHIPPING FEATURESnot tasks
BEING A
USER PAYS OFF
THAT MOMENT WHENwe felt what it feels like
to be ready, flexible, and swift
Adam Jacob Oliver Ferrigni
Alex Ethier Salim Afiune
Chrostopher Maier Scott Christopherson
Jean Rouge Seth Falcon
Jon Anderson Shelton Davis
Jon Morrow Tom Duffield
Mark Dennard Jon Morrow
TEAM
HOW IT WORKSCLI
WebBrowser
Job Dispatch
Push
Chef Server
erlang
Delivery
erlang
pgSQL
DB
git
SCM
Build NodeBuild NodeBuild Nodes