Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

24
Manoj Jain Director – Technology Development MakeMyTrip.com Jul 18, 2014 | Bengaluru Dev-QA-Ops (aka DevOps)

description

Dev-QA-Ops presentation done at UNICOM World Conference on Next Generation Testing 2014 at Bangalore, India.

Transcript of Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

Page 1: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

Manoj JainDirector – Technology DevelopmentMakeMyTrip.com

Jul 18, 2014 | Bengaluru

Dev-QA-Ops (aka DevOps)

Page 2: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

2

Classic challenge between dev and prod teams?

DevOpsSource: http://dev2ops.org/2010/02/what-is-devops/

Page 3: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

3

Volume adds to complexity…

DevOps

Unique Visits8.4M

Visits

15.4M

Page Views

105M

Monthly (May’14)

Page 4: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

4

Few more factors to complexity…

DevOps

1000+ 75+ /week

Page 5: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

5

Few more factors to complexity… (contd.)

DevOps

300+Multiple (A-A)

Page 6: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

6

Few more factors to complexity… (contd.)

DevOps

Multi-variate (A/B)

Agile Dev.

Image Source: http://www.experian.com/

Page 7: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

7

Last but not least…

DevOps

Competitors

Page 8: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

8

Addressing Non-Functional Requirements

• Security• Performance• Compliance• Usability• Creativity• Responsive & Adaptive • Call-center aids

DevOps

Page 9: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

9

A quote from Dilbert

DevOpsSource: www.dilbert.com

Page 10: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

10

Understanding DevOps

DevOps

Page 11: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

11

What’s DevOps?

DevOps is a software development method that stresses communication, collaboration and integration between software developers and information technology (IT) operations professionals.

Maximizing operational processes w.r.t.:• Predictability• Efficiency• Security• Maintainability

DevOpsSource: http://en.wikipedia.org/wiki/DevOps

Page 12: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

12

What demands it?

The adoption of DevOps is being driven by factors such as:

• Use of agile and other development processes and methodologies

• Demand for an increased rate of production releases from application and business unit stakeholders

• Wide availability of virtualized and cloud infrastructure from internal and external providers

• Increased usage of data center automation and configuration management tools

DevOpsSource: http://en.wikipedia.org/wiki/DevOps

Page 13: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

13

Implementing DevOps

DevOps

Page 14: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

14

CI/CD

DevOpsSource:http://blog.crisp.se/wp-content/uploads/2013/02/continuous-delivery-deployment-sm.jpg

Page 15: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

15

Understanding in detail…

DevOpshttp://en.wikipedia.org/wiki/Continuous_delivery

Page 16: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

16

What are principles of continuous integration?

• Maintain a code repository• Automate the build• Make the build self-testing• Everyone commits to the baseline every day• Every commit (to baseline) should be built• Keep the build fast• Test in a clone of the production environment• Make it easy to get the latest deliverables• Everyone can see the results of the latest build• Automate deployment

DevOps

Page 17: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

17

Advantages

• When unit tests fail or a bug emerges, developers might revert the codebase to a bug-free state

• Developers detect and fix integration problems continuously• Early warning of broken/incompatible code• Early warning of conflicting changes• Immediate unit testing of all changes• Constant availability of a "current" build for testing/demo/rel• Immediate feedback to developers on the quality,

functionality, or system-wide impact of code they are writing• Frequent code check-in pushes developers to create modular,

less complex code

DevOps

Page 18: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

18

Disadvantages

• Initial setup time required• Well-developed test-suite required to achieve automated

testing advantages

DevOps

Page 19: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

19

A quick insight at MakeMyTrip

DevOps

Page 20: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

20

Flow

DevOps

Package / Build deliverables

Soft

ware

p

ackag

es

UPLOAD To BIZEYE

BUGZILLA

QA log BUG in Bugzilla

Version Control Repository

FeedbackMechanism

Jenkins CI Engine

Continuous Integration

BUILD SERVER

GIT MAIN REPOSITPRYDevelopment Team

BUILD FARM

Assig

n t

o d

evelo

pers

GITCommit

Commit

PUSH

DEPLOY ON STAGING SERVER

TEST AUTOMATION

Page 21: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

21

Deployment / Release Automation Architecture

DevOps

Page 22: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

22

Automation Dashboard

DevOps

Page 23: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

23

Performance Dashboard

DevOps

Page 24: Dev-QA-Ops UNICOM WCNGT 2014 Bangalore

24

questions?

DevOps

[email protected]