Morph your mindset for Continuous Delivery, Agile Roots 2014

22
Nathan Feltch and Lisa Crispin Copyright 2014, Lisa Crispin and Nathan Feltch

description

Lisa Crispin and Nathan Feltch, how to morph your mindset to overcome obstacles to continuous delivery

Transcript of Morph your mindset for Continuous Delivery, Agile Roots 2014

Page 1: Morph your mindset for Continuous Delivery,  Agile Roots 2014

Nathan  Feltch  and  Lisa  Crispin  

Copyright  2014,  Lisa  Crispin  and  Nathan  Feltch  

Page 2: Morph your mindset for Continuous Delivery,  Agile Roots 2014
Page 3: Morph your mindset for Continuous Delivery,  Agile Roots 2014
Page 4: Morph your mindset for Continuous Delivery,  Agile Roots 2014
Page 5: Morph your mindset for Continuous Delivery,  Agile Roots 2014
Page 6: Morph your mindset for Continuous Delivery,  Agile Roots 2014

• Mindset  changes  • Con5nuous  Integra5on  –  CI  • Con5nuous  Delivery  • Con5nuous  Deployment  

6  

Page 7: Morph your mindset for Continuous Delivery,  Agile Roots 2014

•  Some  slides  and  story-­‐telling  •  Learning  through  exercises  and  discussions  • CD  will  NOT  stop  bugs  • How  do  we  get  beFer  at  a  task?  

Page 8: Morph your mindset for Continuous Delivery,  Agile Roots 2014

•  In  your  table  groups,  write  down  obstacles  to  “going  green”,  one  per  s5cky  note.  • Post  on  the  wall,  group  similar  ones  • Dot  vote  to  choose  top  3  to  share    

8  

Page 9: Morph your mindset for Continuous Delivery,  Agile Roots 2014

How  can  we  think  differently  to  overcome  those  obstacles?  

9  

?�

Page 10: Morph your mindset for Continuous Delivery,  Agile Roots 2014

• Collaborate  within  and  across  roles  

10  

Page 11: Morph your mindset for Continuous Delivery,  Agile Roots 2014

11

Experiment:  Itera5on  1  §  In  your  table  groups,  each  choose  a  role:  programmer,  tester,  customer/PO,  observer  

§  Programmer  and  tester  sit  back  to  back  §  Tester  gets  drawing  which  needs  to  be  replicated  §  Tester  tells  the  programmer  what  to  draw  §  Programmer  draws  the  shapes  based  on  what  the  tester  explained.  §  No  talking  during  ‘coding’!  No  ques5ons!  

§  Tester  “tests”  the  drawing,  tester  reports  “bugs”  on  index  cards  

§  Programmer  fixes  the  “bugs”    §  Show  the  finished  drawing  to  the  customer/PO  §  Timebox:  5  minutes!      

Page 12: Morph your mindset for Continuous Delivery,  Agile Roots 2014

12

Experiment:  Itera5on  2  §  Collaborate!  §  Tester  tells  programmer  what  to  draw,  watches  the  programmer  draw,  points  out  ‘defects’  for  programmer  to  fix  immediately.  Customer/PO  answers  ques5ons  

§  Show  drawing  to  customer/PO  a_er  each  shape  done  §  (Don’t  show  the  programmer  the  drawing,  that  makes  it  too  easy,  we’re  trying  to  simulate  real  coding)  

§  Same  5  minute  5me  box        

Thanks  to  the  members  of  the  agile-­‐games  group  and  Kane  Mar  for  ideas  &  pictures  for  this  game  

Page 13: Morph your mindset for Continuous Delivery,  Agile Roots 2014

• How  long  does  it  take  to  CERTIFY  a  build  for  produc5on?  • How  long  do  you  monitor  the  produc5on  environment  a_er  deployment?  • How  many  hours/days  are  taken  performing  “hodixes”  for  produc5on?  ◦  Instant  rollbacks  vs.  quick  fixes  

13  

Page 14: Morph your mindset for Continuous Delivery,  Agile Roots 2014

• Dedicated  test  systems  for  each  dev/deployable  •  Fakes  for  those  hard  to  test  scenarios  • Dev/Test  collabora5on  • Examples  of  shortened  5meframes    

14  

Page 15: Morph your mindset for Continuous Delivery,  Agile Roots 2014

•  CI  and/or  CD  Tools  ◦  Jenkins  ◦  TeamCity  ◦  GO  ◦  …  

•  Provisioning  tool  ◦  Vagrant/Ansible  ◦  CHEF  ◦  Puppet  ◦  …  

•  Package  Repository  ◦  NuGet  ◦  Maven  ◦  Gem  ◦  …  

15  

Page 16: Morph your mindset for Continuous Delivery,  Agile Roots 2014

• Do  you  have  a  story  on  how  your  team  shortened  your  feedback  loop?    

16  

Page 17: Morph your mindset for Continuous Delivery,  Agile Roots 2014

• Provisioning  scripts  checked  into  code  base  • Build  tool  for  provisioning  environments  ◦ Development  ◦  Stage/Pre-­‐produc5on  ◦ Produc5on  • Tips  and  tricks,  costs  

17  

Page 18: Morph your mindset for Continuous Delivery,  Agile Roots 2014

18

What  can  we  learn  to  improve  CD?  In  your  table  groups,  brainstorm  ideas  for  what  you  and  your  team  might  need  to  learn  to  be  able  to  green  up  your  CI  and  move  towards  con5nuous  delivery.      For  example,  learning  paFerns  for  crea5ng  maintainable  regression  tests.    One  per  s5cky  note,  put  on  wall  chart        

Page 19: Morph your mindset for Continuous Delivery,  Agile Roots 2014

19  

Challenge  Yourself  !  

What  experiments  will  you  try  back  at  work?  

Page 20: Morph your mindset for Continuous Delivery,  Agile Roots 2014

• Or  experiments  you  will  try  next  week!  

20  

Page 21: Morph your mindset for Continuous Delivery,  Agile Roots 2014

Agile  TesEng:  A  PracEcal  Guide  for  Testers  and  Agile  Teams  

Coming  soon:  More  Agile  TesEng:  Learning  Journeys  for  the  Whole  Team!  

By  Lisa  Crispin  and  Janet  Gregory    www.agiletester.ca  

www.lisacrispin.com  Email:  [email protected]  TwiFer:  @lisacrispin  

21  

Page 22: Morph your mindset for Continuous Delivery,  Agile Roots 2014

•  ConEnuous  Delivery:  Reliable  SoOware  Releases  through  Build,  Test  and  Deployment  AutomaEon,  2010  ◦  Humble,  Jez  and  David  Farley,    

•  Steve  Smith    Atlassian  Blogs  ◦  hFp://blogs.atlassian.com/2014/04/prac5cal-­‐con5nuous-­‐deployment/    

•  mindset,  the  New  Psychology  of  Success:  How  we  can  learn  to  fulfill  our  potenEal,  2007      ◦  Carol  Dweck