making continuous delivery work for you: the songkick ... · making continuous delivery work for...

38
Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Upload: others

Post on 15-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Making Continuous Delivery Work for You:

The Songkick Experience Amy Phillips

Page 2: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Amy Phillips

Head of Test at Songkick@itjustbroke

testingthemind.wordpress.com

Page 3: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips
Page 4: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips
Page 5: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Database

The Monolith

Songkick Frontend Public API

Page 6: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Database

Songkick Frontend Public API

SOA

Page 7: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

The Team

Developers Product Managers Designers

Testers User SupportSysAdmin

Page 8: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

The (old) Songkick Way

Page 9: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

The (old) Songkick Way

Page 10: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

How can we move faster?

Page 11: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Why do we have this process?

• Responded to release problems by adding safeguards

• Leads to inflexible test and release process

• Release safeguards need risk assessment

Page 12: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Scheduled Releases

Continuous Delivery

Or

Consider your options

Page 13: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

What are our values?

• Ship new features as soon as possible

• Developers responsible for production quality

Page 14: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Moving to Continuous Delivery

Page 15: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Address concerns

• You need to have full team buy-in

• Take concerns seriously

Page 16: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Changing The Songkick Way

Page 17: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Changing The Songkick Way

Page 18: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Define a single test strategy

• Testing is part of the development and release process

• Get the whole team to buy in

• Balance risks against time

Page 19: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Testing

Team Effort

CheckingTesting

100 %

Agree on how to split the team effort

Page 20: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Agree on how to split the team effort

100 %Team Effort

Testing Machine Human

Page 21: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

A new value

! Development teams are responsible for their own testing

Page 22: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

• Everyone understands what is being tested and why

• Everyone has a chance to influence the test strategy

• Test at the right level

• Fast feedback

Shared ownership of automated tests

Page 23: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Execute the right tests at the right time

Page 24: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Just build it right the first time

Page 25: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Feature Kick-offs

• What we’re going to build, and why?

• Discuss complexity and risk

• Agree how to test and release the code

Page 26: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

• What are we hoping to achieve with this change?

• Identify risks

• Agree on how to mitigate risks

Risk assess everything

Page 27: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

The Songkick Way

Page 28: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

The Songkick WayDev VM

Page 29: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

The Songkick Way

CI Server Staging

~20 Minutes

Page 30: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

The Songkick WayProduction

Page 31: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

The Songkick Way

Page 32: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Releasing doesn’t have to mean launching

Page 33: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Trust the test resultsNever release if the build is red

Green builds must mean the tests have passed

Page 34: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Learn from your mistakes

You can break anything once

- Songkick Maxim

Page 35: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Releases

0.00

28.00

56.00

84.00

112.00

140.00

Category Title

Mar 2011 Jun 2011 Sept 2011 Dec 2011 Mar 2012 Jun 2012 Sept 2012

112

84

56

28

140

Page 36: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

But this ended up being about more than just releases…

• Fast and maintained automated tests

• Bug fixes often take just minutes

• We’ve learnt how to evaluate and improve our process

Page 37: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Make it work for you

• Understand why you want to change

• Fix the biggest problem first. Then iterate

• Use problems to drive positive change

• Don’t neglect the human aspect

Page 38: Making Continuous Delivery Work for You: The Songkick ... · Making Continuous Delivery Work for You: The Songkick Experience Amy Phillips

Thanks

Questions?

@itjustbroke

testingthemind.wordpress.com