Java Tech & Tools | Continuous Delivery - the Writing is on the Wall | John Stevenson
Upcoming SlideShare
Loading in...5
×
 

Java Tech & Tools | Continuous Delivery - the Writing is on the Wall | John Stevenson

on

  • 1,858 views

2011-11-01 | 10:40 AM - 11:40 AM...

2011-11-01 | 10:40 AM - 11:40 AM
So you want to do continuous delivery but is it working and how does the team and the organisation know what's going on? Using wallboard, information radiators and even just bits of paper stuck to the wall can help you manage all your development.

Covering the many ways companies have visualised the mashinations of their work and providing tips on setting up your own uber information radiators.

Statistics

Views

Total Views
1,858
Views on SlideShare
1,842
Embed Views
16

Actions

Likes
0
Downloads
32
Comments
0

1 Embed 16

http://lanyrd.com 16

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Java Tech & Tools | Continuous Delivery - the Writing is on the Wall | John Stevenson Java Tech & Tools | Continuous Delivery - the Writing is on the Wall | John Stevenson Presentation Transcript

  • Continuous Deployment The writing is on the wall John Stevenson Lean Agile Machine©LeanAgileMachineCreative Commons Licence
  • Who is John Stevenson● Lean agile coach  Kanban, system thinking, ToC.● Atlassian ambassador in UK  Growing communities around JIRA...● Community geek  London Java, Graduate Devs,  London Scala, London Clojurians, etc.● Dabbles with©LeanAgileMachineCreative Commons Licence
  • My Journey● Started with RUP, UML & XP● Fell for Behaviour Driven Development & kanban● Learn about a lot of Value & Systems thinking● Coached teams & individuals● Sharing experiences with community©LeanAgileMachineCreative Commons Licence
  • So what is Continuous Deployment ?©LeanAgileMachineCreative Commons Licence
  • ...its incredibly hard©LeanAgileMachineCreative Commons Licence
  • ...even if you are...©LeanAgileMachineCreative Commons Licence
  • ...hard plus infinity for everyone else©LeanAgileMachineCreative Commons Licence
  • Continuous deployment example:©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Typically: 25 deploys per day per developer©LeanAgileMachineCreative Commons Licence
  • Forward culture©LeanAgileMachineCreative Commons Licence
  • So why go for continuous deployment?©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • http://blog.thehigheredcio.com/2011/08/31/efficiency-vs-effectiveness/ ©LeanAgileMachine Creative Commons Licence
  • Understanding the businessTable stakes /foundations DifferentiatorsSpoilers Accelerators©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Benefits©LeanAgileMachineCreative Commons Licence
  • Where to get started ??©LeanAgileMachineCreative Commons Licence
  • Is your team / company ready ? A case study in pain and dissapointment!©LeanAgileMachineCreative Commons Licence
  • Change can be expensive©LeanAgileMachineCreative Commons Licence
  • A long journey of discovery©LeanAgileMachineCreative Commons Licence
  • Involving the whole business©LeanAgileMachineCreative Commons Licence
  • Understanding of Value©LeanAgileMachineCreative Commons Licence
  • The right motivation©LeanAgileMachineCreative Commons Licence
  • What is the goal?©LeanAgileMachineCreative Commons Licence
  • Where to start ??©LeanAgileMachineCreative Commons Licence
  • Visualise how you do IT...©LeanAgileMachineCreative Commons Licence
  • Kanban – a wall of Facts©LeanAgileMachineCreative Commons Licence
  • Let the board show issues... V1.0.1, V1.0.2, V1.0.3, V1.0.4, Build 1209 Build 1221 Build 1301©LeanAgileMachineCreative Commons Licence
  • Value stream mapping The (often wide) path to getting things done Activities that get things done effectively©LeanAgileMachineCreative Commons Licence
  • Software development©LeanAgileMachineCreative Commons Licence
  • Software development©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Include the whole process... Strategy to shiped Budgeting Business sign off Deployment dry run©LeanAgileMachineCreative Commons Licence
  • Improve the foundations©LeanAgileMachineCreative Commons Licence
  • Monitoring your servers● Nagios / NagVis● The Dude● Microsoft Operations Manager● Outsource IT...©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Sever Provisioning©LeanAgileMachineCreative Commons Licence
  • Its all virtual these days...©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Virtual Machines Automate provisioning Manage sys-admin tasks remotely Spin up instances into the cloud  Using public cloud when your private cloud is maxed out Off the shelf pre-configured servers©LeanAgileMachineCreative Commons Licence
  • Managing VMs is easy©LeanAgileMachineCreative Commons Licence
  • Automating Virtual Machines©LeanAgileMachineCreative Commons Licence
  • Vagrant – simple to use ● Requirements  Ruby  Virtualbox  Chef / Puppet for other VM systems©LeanAgileMachineCreative Commons Licence
  • Consistent environments©LeanAgileMachineCreative Commons Licence
  • Automated server management Puppet / Chef / Rex ©LeanAgileMachine Creative Commons Licence
  • Disaster recovery for learning©LeanAgileMachineCreative Commons Licence
  • Change freezes The period of time when the most of the changes happen When lots of patches are done ! A good time to learn what is important !©LeanAgileMachineCreative Commons Licence
  • Deployment Strategies©LeanAgileMachineCreative Commons Licence
  • If it hurts, do it more often©LeanAgileMachineCreative Commons Licence
  • Segmented deploys Different customers / different expectations©LeanAgileMachineCreative Commons Licence
  • Timely deployments Cost of delay ? When is the software valuable ?©LeanAgileMachineCreative Commons Licence
  • Smaller deployments©LeanAgileMachineCreative Commons Licence
  • Visualise deployment strategies??©LeanAgileMachineCreative Commons Licence
  • Managing your code©LeanAgileMachineCreative Commons Licence
  • It compiles, ship it!! Ship It Compile©LeanAgileMachineCreative Commons Licence
  • Automated builds Design around common patterns for building Should have valuable reason for doing something different SBT©LeanAgileMachineCreative Commons Licence
  • Simple Maven config<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion> <groupId>com.mycompany.app</groupId> <artifactId>my-app</artifactId><packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>Maven Quick Start Archetype</name><url>http://maven.apache.org</url><dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.2</version> <scope>test</scope> </dependency></dependencies></project>©LeanAgileMachineCreative Commons Licence
  • Local repositories Nexus Artefactory DVCS©LeanAgileMachineCreative Commons Licence
  • Build tools – continuous feedback Maven 3 Shell Simple Build Tool ~Tests©LeanAgileMachineCreative Commons Licence
  • Coding fast feedback JavaScript©LeanAgileMachineCreative Commons Licence
  • Testable code● TDD / BDD helped devs have a better appreciation of code that is more testable● Faster feedback gave devs (and team) better understanding of what is needed● Resolve issues quickly, prevent many from happening at all●©LeanAgileMachineCreative Commons Licence
  • Behaviour Driven Developent©LeanAgileMachineCreative Commons Licence
  • Deployable software● Automated server builds● Automated deployment scripts / tools● Automated tests / specifications● Effective business review● Faster feedback● Resolve issues quickly● Deploy when valuable©LeanAgileMachineCreative Commons Licence
  • Distributed Versioning● Smaller repositories  Per component / module  Simpler architecture● Manage branching easier with pull requests  A pull system is more effective than central push● Different repos for different purposes  Repo for deployment, trunk, CI server©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Git Workflow©LeanAgileMachineCreative Commons Licence
  • Git architecure (logical)©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Change-set history©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Code reviews DVCS push requests©LeanAgileMachineCreative Commons Licence
  • Central or Distributed Version control©LeanAgileMachineCreative Commons Licence
  • Centralised team©LeanAgileMachineCreative Commons Licence
  • Centralised issuesFear of breaking thebuild  unnecessary branching  delayed commitsOff-line support?Any redundancy inversioning server?©LeanAgileMachineCreative Commons Licence
  • Managed Distributed team©LeanAgileMachineCreative Commons Licence
  • Continuous Integration What When How long Run specifications / unit tests Reports Actions to initiate©LeanAgileMachineCreative Commons Licence
  • CI Server basics©LeanAgileMachineCreative Commons Licence
  • BOfH CI Server Kicks out checked in code if it fails Wires up build bunnies to stop you hiding from broken builds Wall of shame for breaking builds Top ten worst programmers©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • CI Server lights©LeanAgileMachineCreative Commons Licence
  • Ultimate Wallboards©LeanAgileMachineCreative Commons Licence
  • Issue ticker Stream of issues flowing Highlight new features, overdue items, critical issues, time related news, etc©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • UltimateWallboard .com©LeanAgileMachineCreative Commons Licence
  • More than compiling code...conf/tomcat-users.xml<user username=”bamboo” password=”bamboo” roles=”manager-script,manager-gui”/> ©LeanAgileMachine Creative Commons Licence
  • One click deploy©LeanAgileMachineCreative Commons Licence
  • Architect for deployment Modular systems Simple interfaces Supported by acceptance tests (specifications) Automate low value tasks©LeanAgileMachineCreative Commons Licence
  • Final thoughts©LeanAgileMachineCreative Commons Licence
  • Predictability / Cadence Smaller tasks Understanding you capacity©LeanAgileMachineCreative Commons Licence
  • Communicate effectively©LeanAgileMachineCreative Commons Licence
  • Feedback©LeanAgileMachineCreative Commons Licence
  • How will you make a change ?● Automated deployments● Distributed version control● Refactoring architecture, design & code● Modularity in design● Migrating from technical debt● Shouting...©LeanAgileMachineCreative Commons Licence
  • Benefits©LeanAgileMachineCreative Commons Licence
  • Thank you©LeanAgileMachineCreative Commons Licence
  • Feedback & Refs @JR0cket JStevenson@atlassian.com John@jr0cket.com Please note: Very few bulletpoints were hurt during the making of this presentation©LeanAgileMachineCreative Commons Licence
  • The big-ish picture©LeanAgileMachineCreative Commons Licence
  • Summary Adaptable practices  TDD/BDD, DDD, kanban, ToC, system thinking Good understanding of supporting tools  Cucumber, CI build jobs, DVCS, ... Strong DevOps capability Understand business value©LeanAgileMachineCreative Commons Licence
  • A tool to collaborate©LeanAgileMachineCreative Commons Licence
  • Visualising the workload©LeanAgileMachineCreative Commons Licence
  • Pull system©LeanAgileMachineCreative Commons Licence
  • Experditing● Visualisation for a high priority task  Big red sticker  Experditing lane  Record other tasks being blocked● Review why you get high priority task  Consider it a constraint / bottleneck©LeanAgileMachineCreative Commons Licence
  • Experditing lane©LeanAgileMachineCreative Commons Licence
  • DevOps Goal keeper● Team rotates people around role● Goalkeeper fields all issues● Rest of team allowed to focus on a (bigger) task● Use visual indicator to show who is the GoalieVisually represent these points ??©LeanAgileMachineCreative Commons Licence
  • Drop the Backlog● The backlog is a omnipresent sign of overload  Useful for pushing back to the management  Bad for team moral  Hide it away (eg. JIRA)● When team are in tune with value, tasks flow more naturally – opportunities are not drowned out©LeanAgileMachineCreative Commons Licence
  • Data dashboard effect● Manager can instantly see what you are working on● Manager can evaluate priorities easily  Or go back and ask for clarification with business● Gives data on issues  Recording task swapping, time to work on tasks  Data to review at retrospective on current approach©LeanAgileMachineCreative Commons Licence
  • ©LeanAgileMachineCreative Commons Licence
  • Washing line©LeanAgileMachineCreative Commons Licence
  • RSPB Royal Society for the protection of Bulletpoints©LeanAgileMachineCreative Commons Licence
  • Change at speed of deployment©LeanAgileMachineCreative Commons Licence
  • Be as creative as needed©LeanAgileMachineCreative Commons Licence
  • Managing the change©LeanAgileMachineCreative Commons Licence
  • Subtle ”Theory of Constraints” ● What is stopping you achieve your goals ?  Identify all the current challenges ● Find how to work effectively  With respect to the biggest challenge ● Incrementally improve around biggest challenge ● Review the challenges©LeanAgileMachineCreative Commons Licence
  • Change at the speed of acceptance● Effective change cannot be pushed● kanban estoles pull, change should be ● Odd that some pulled many agile projects start and end with a big bang©LeanAgileMachineCreative Commons Licence
  • Lean Startup● Business canvas model● Real options● Last responsible moment● Least responsible change©LeanAgileMachineCreative Commons Licence
  • Lessons from Service Desk● Variation of personal kanban  Sticky notes at the side of the keyboard  One priority at once  Need business reason to change priorities  Record reason and number of times you had to revisit the task©LeanAgileMachineCreative Commons Licence
  • DevOps overload● Lots of last minute ● DevOps have no time to patches script deployments ● Have to deal with long,● Deployment like boring deployment buses, nothing for a documents few days then three ● Repeatedly swiched from come at once for the infrastructure work, same night vastly increasing time taken.©LeanAgileMachineCreative Commons Licence
  • Summary of Kanban● Visualse work● Manage WIP ● Helps you stay sane● Engage with business ● Show you are  Shared ownership productive● Encourage realistic ● Deal with micro- priorities management©LeanAgileMachineCreative Commons Licence