Hurdles the sprint with impediments on the way to automation

42
Vinod Purushothaman [email protected] Follow me @vinodpthmn Hurdles > The sprint with impediments on the way to automation

description

Hurdles the sprint with impediments on the way to automation

Transcript of Hurdles the sprint with impediments on the way to automation

Page 1: Hurdles   the sprint with impediments on the way to automation

Vinod [email protected] me @vinodpthmn

Hurdles > The sprint with impediments on the way to automation

Page 2: Hurdles   the sprint with impediments on the way to automation

Thomas Alva Edison

“I have not failed. I've just found 10,000 ways that won't work.”

First Agilist

images@google

Page 3: Hurdles   the sprint with impediments on the way to automation

Agile says the same thing!

Fail early, Fail often…

This would be the capital to start with

Automation

Page 4: Hurdles   the sprint with impediments on the way to automation

Automation Units

Database Automation

Testing Automation

Build Automation

Deployment Automation

Page 5: Hurdles   the sprint with impediments on the way to automation

Build Automation

Deployment Automation

Database Automation

Testing Automation

AutomationUnits

ContinuousIntegration

ContinuousDelivery

images@google

Page 6: Hurdles   the sprint with impediments on the way to automation

Background

25 – 30 members

images@google

Page 7: Hurdles   the sprint with impediments on the way to automation

Environments

DEV QA UAT Prod

Replica

Page 8: Hurdles   the sprint with impediments on the way to automation

Challenges

Page 9: Hurdles   the sprint with impediments on the way to automation

Need for change was visible

Automate!!!!

Automate!!!!

Automate!!!!

images@google

Page 10: Hurdles   the sprint with impediments on the way to automation

No body was ready for the extra mile

images@google

Page 11: Hurdles   the sprint with impediments on the way to automation

We were dealing with the hardest thing in this Universe

images@google

Page 12: Hurdles   the sprint with impediments on the way to automation

“ continue to persist in its state until it is compelled to change its state by force impressed.”

Everybody Every body

What Newton said is right…

source@google

Page 13: Hurdles   the sprint with impediments on the way to automation

images@google

Page 14: Hurdles   the sprint with impediments on the way to automation

Our Approach

SuccessThe Climax

The Pace

First Move

Page 15: Hurdles   the sprint with impediments on the way to automation

#1 First Move > It is always hard

images@google

Page 16: Hurdles   the sprint with impediments on the way to automation

Release Samurai

> Make the pain “evident”

Rotate release engineer roleimages@google

Page 17: Hurdles   the sprint with impediments on the way to automation

> Start with “Quick wins”

Pick the best one to sell firstimages@google

Page 18: Hurdles   the sprint with impediments on the way to automation

> Limit the automation WIP

images@google

Page 19: Hurdles   the sprint with impediments on the way to automation

> Go slow and steady

Start with simple steps and keep on building one by one

images@google

Page 20: Hurdles   the sprint with impediments on the way to automation

#2 The Pace > to succeed you should sustain

images@google

Page 21: Hurdles   the sprint with impediments on the way to automation

> Define the vision as a team

PastRetrospective

Notes

Automation Backlog

Automate as many manual, boring jobsimages@google

Page 22: Hurdles   the sprint with impediments on the way to automation

> Showcase during Retrospective Automation Backlog

Members started picking up line items voluntarilyand worked during the Sprint.

Retrospective

images@google

Page 23: Hurdles   the sprint with impediments on the way to automation

> No fixed plans

images@google

Page 24: Hurdles   the sprint with impediments on the way to automation

Don’t be a Modern Doctor, be an Ancient Doctor

> Do trial & error

Focus on “what works" not “what's best”images@google

Page 25: Hurdles   the sprint with impediments on the way to automation

> Your efforts are “Tip of the Iceberg”

Do it for the team, not for the business!

Your efforts

What business feel

images@google

Page 26: Hurdles   the sprint with impediments on the way to automation

#3 Climax> we all need positive happy ending

images@google

Page 27: Hurdles   the sprint with impediments on the way to automation

> Motivate team members

images@google

Page 28: Hurdles   the sprint with impediments on the way to automation

> Campaign “Go home early on release day…”

images@google

Page 29: Hurdles   the sprint with impediments on the way to automation

> Cast right tools for right problem

Again focus on “what works" not “what's best”images@google

Page 30: Hurdles   the sprint with impediments on the way to automation

> Set clear direction to the team.

Check-in GuidelinesConduct Group DiscussionTraining SessionsState Do’s & Don'ts

images@google

Page 31: Hurdles   the sprint with impediments on the way to automation
Page 32: Hurdles   the sprint with impediments on the way to automation

> Reach your destiny

Branching Strategy

Build Automation

Build Package

Compile Configuration Changes

Auto Release Emails

DeploymentAutomation

Db DeployAutomation

TestAutomation

Page 33: Hurdles   the sprint with impediments on the way to automation

Technical Details #1Challenges we faced! What we did? What we gained

No proper source controlbranching strategy, leadingto poor build/releasemanagement.

Introduced new branchingstrategy. Kept it simple .

More control over changes, more control over build/ releasemanagement.

Page 34: Hurdles   the sprint with impediments on the way to automation

Technical Details #2Challenges we faced! What we did? What we gained

Database deployment waspainful as we were using Redgate SQL as compared to generate delta script for the release.

Defined db script templates andtrusted developer to prepare thedeployment scripts and checkinto source control.

Apprised developers to vetdatabase scripts againstdevelopment database beforecheckin.

Switching to template driven database scripts saved us a lot of time. It no longer needed us to generate scripts by comparing the databases, a cumbersome and time consuming job.

Database scripts were automatically vetted at every environment and werestable by the time it reached theproduction release. This minimized database related release issues.

Page 35: Hurdles   the sprint with impediments on the way to automation

Technical Details #3Challenges we faced! What we did? What we gained

Compiling configurationchanges from variouschange request notes wascumbersome.

Took environment specificconfiguration files to sourcecontrol and pushed it along withbuild package.

Trusted developer to updateconfiguration file with respectivevalues.

Blending configuration changes from source control to build package eradicated the chance of configuration mismatches and errors.

Page 36: Hurdles   the sprint with impediments on the way to automation

Technical Details #4Challenges we faced! What we did? What we gained

Preparing build packagewas cumbersome.

Used ANT to build Java codeand parse Cold Fusion.

Used NANT to build .NET code.

Automated build and packaging saved a lot of time.

Increased the release readiness of the team and reduced post release production issues to a great extent.

Page 37: Hurdles   the sprint with impediments on the way to automation

Technical Details #5Challenges we faced! What we did? What we gained

Careless checkin and integration issues were breaking build during release.

Setup Cruise Control .NET asCI Server to perform nightlybuilds.

Nightly build ensured that there are no build errors and we are good.

Page 38: Hurdles   the sprint with impediments on the way to automation

ValuesGained

Vet every single

change

Quick round-trips(Testing Automation)

Avoid redundant

manual efforts

Rollout build more

frequently

QualityDeliverables

Release Readiness

Page 39: Hurdles   the sprint with impediments on the way to automation

Together Everyone Achieves Moreimages@google

Page 40: Hurdles   the sprint with impediments on the way to automation

There are several resons to go for automation, but we could die for one precious thing in this world!

images@google

Page 41: Hurdles   the sprint with impediments on the way to automation

You choose, if you believe…

Page 42: Hurdles   the sprint with impediments on the way to automation

Vinod [email protected] me @vinodpthmnimages@google