41
Itai Or & Haggai Philip Zagury

Tce automation-d4

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Tce automation-d4

Itai Or

&

Haggai Philip Zagury

Page 2: Tce automation-d4

WWW.TIKALK.COM

Big Words / Q’s …

How come ?

What ?

Who ?

When ?

How ?

Page 3: Tce automation-d4

WWW.TIKALK.COM

How Come ?

3

Page 4: Tce automation-d4

WWW.TIKALK.COM

What ?

4

Page 5: Tce automation-d4

WWW.TIKALK.COM

Who ?

5

Page 6: Tce automation-d4

WWW.TIKALK.COM

When ?

6

Staying relevant

by

Adjusting to change

eq.

Staying in the game

Page 7: Tce automation-d4

WWW.TIKALK.COM

How ?

7

Revise

Reuse

Utilize

Page 8: Tce automation-d4

WWW.TIKALK.COM

Key “players”

8

DEV

QA

CM

Page 9: Tce automation-d4

WWW.TIKALK.COM9

The Automation Glue

DEVQA

CM

OPS

Page 10: Tce automation-d4

WWW.TIKALK.COM

Evolution(s)

10

Connecting the Business to Development is so 2010 …

Connecting Business to Ops via Automation is 2011 …

Page 11: Tce automation-d4

WWW.TIKALK.COM

The Automation funnel

OPS / PS

CMQA

Dev

11

Automation

Page 12: Tce automation-d4

WWW.TIKALK.COM

Best Practices 4 Automation

12

Page 13: Tce automation-d4

WWW.TIKALK.COM

Unit Testing

13

Page 14: Tce automation-d4

WWW.TIKALK.COM

Integration Tests

14

Page 15: Tce automation-d4

WWW.TIKALK.COM

System Tests

15

Page 16: Tce automation-d4

WWW.TIKALK.COM

Reporting

16

Unit testing

Quality

Coverage

Dependency

Page 17: Tce automation-d4

WWW.TIKALK.COM

Dependency Management

17

Modularity requires Supporting tools

Dependency analysis

Page 18: Tce automation-d4

WWW.TIKALK.COM

Component Based Integration

18

Assembling software modules into components

Cross functional …

Page 19: Tce automation-d4

WWW.TIKALK.COM

Virtualization & Cloud

19

Page 20: Tce automation-d4

WWW.TIKALK.COM

Continuous Integration

20

Build& Test

On every code change

Page 21: Tce automation-d4

WWW.TIKALK.COM

Continuous Deployment

21

Pushing CI

to the limit

Page 22: Tce automation-d4

WWW.TIKALK.COM

Practical automation

23

Theory is GreatNow lets meet reality …

Page 23: Tce automation-d4

WWW.TIKALK.COM

Tool – applying best practices

Page 24: Tce automation-d4

WWW.TIKALK.COM

Application

Page 25: Tce automation-d4

WWW.TIKALK.COM

CI implementation - for the team

UAT / PROD like cloud

UAT / PROD like cloud

QA- & Automationcloud

QA- & Automationcloud

continuous cloudcontinuous cloud

continuous Integration Server

Node Group-windows-ci-agents

Jmeater / Jsystem

Node Group linux-ci-agents

Node Group-linux-QA

Delivery

Artifact / BinaryRepository Proxy

Node Group-linux-QAAcceptance testing

UAT / PROD servers

Page 26: Tce automation-d4

WWW.TIKALK.COM

Continuous Deployment

31

Fast turnovers eq. agility

Small(er) Changes eq. Smaller Risks

More redundant

Achievable via automation

Page 27: Tce automation-d4

WWW.TIKALK.COM

Customer Story

32

Company with continues build with unit test for component (Hudson plug-in)

Manual QA test sanity and integration

Manual installation of server and plug-ins

Page 28: Tce automation-d4

WWW.TIKALK.COM

Challenges

To automate:Deployment

Sanity test

33

Page 29: Tce automation-d4

WWW.TIKALK.COM

Solution

Create installable package that contain all the set of plug-ins

Automate installation and sanity test.

We choose Hudson as build manager:

Maven as build scripts

Nexus as artifact repository

Virtual box for private cloud

Added runtime module – Hudson + tomcat + plug-in => deploy it to Nexus

Job ruining on Windows based VM which runs selenium tests

Hudson picks up all reports and exposes in the UI

34

Page 30: Tce automation-d4

WWW.TIKALK.COM

A real life Use Case

35

Continuous Create Runtime Deploy

Page 31: Tce automation-d4

WWW.TIKALK.COM

Configure Continuous Job

36

Page 32: Tce automation-d4

WWW.TIKALK.COM

SCM configuration

37

Page 33: Tce automation-d4

WWW.TIKALK.COM

Module level Unit-test trend graph

38

Page 34: Tce automation-d4

WWW.TIKALK.COM

Runtime Job

39

Page 35: Tce automation-d4

WWW.TIKALK.COM

Runtime module in Artifact repository

40

Page 36: Tce automation-d4

WWW.TIKALK.COM

Test – running in cloud

41

Page 37: Tce automation-d4

WWW.TIKALK.COM

Utilizing private cloud

42

Page 38: Tce automation-d4

WWW.TIKALK.COM

Deploy-Test Results

43

Page 39: Tce automation-d4

WWW.TIKALK.COM

Benefits

44

Page 40: Tce automation-d4

WWW.TIKALK.COM

CI & CD combined

Develop Check-in Build Deploy

Test

UAT

Performance Production

47

Page 41: Tce automation-d4

WWW.TIKALK.COM

Traditional CI

50

Development• local• Check in

• local• Check in

SCM

• Trigger

• Trigger

Build • Feedback

• Feedback