Tce automation-d4

Post on 01-Nov-2014

14 views 1 download

Tags:

description

 

transcript

Itai Or

&

Haggai Philip Zagury

WWW.TIKALK.COM

Big Words / Q’s …

How come ?

What ?

Who ?

When ?

How ?

WWW.TIKALK.COM

How Come ?

3

WWW.TIKALK.COM

What ?

4

WWW.TIKALK.COM

Who ?

5

WWW.TIKALK.COM

When ?

6

Staying relevant

by

Adjusting to change

eq.

Staying in the game

WWW.TIKALK.COM

How ?

7

Revise

Reuse

Utilize

WWW.TIKALK.COM

Key “players”

8

DEV

QA

CM

WWW.TIKALK.COM9

The Automation Glue

DEVQA

CM

OPS

WWW.TIKALK.COM

Evolution(s)

10

Connecting the Business to Development is so 2010 …

Connecting Business to Ops via Automation is 2011 …

WWW.TIKALK.COM

The Automation funnel

OPS / PS

CMQA

Dev

11

Automation

WWW.TIKALK.COM

Best Practices 4 Automation

12

WWW.TIKALK.COM

Unit Testing

13

WWW.TIKALK.COM

Integration Tests

14

WWW.TIKALK.COM

System Tests

15

WWW.TIKALK.COM

Reporting

16

Unit testing

Quality

Coverage

Dependency

WWW.TIKALK.COM

Dependency Management

17

Modularity requires Supporting tools

Dependency analysis

WWW.TIKALK.COM

Component Based Integration

18

Assembling software modules into components

Cross functional …

WWW.TIKALK.COM

Virtualization & Cloud

19

WWW.TIKALK.COM

Continuous Integration

20

Build& Test

On every code change

WWW.TIKALK.COM

Continuous Deployment

21

Pushing CI

to the limit

WWW.TIKALK.COM

Practical automation

23

Theory is GreatNow lets meet reality …

WWW.TIKALK.COM

Tool – applying best practices

WWW.TIKALK.COM

Application

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

WWW.TIKALK.COM

Continuous Deployment

31

Fast turnovers eq. agility

Small(er) Changes eq. Smaller Risks

More redundant

Achievable via automation

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

WWW.TIKALK.COM

Challenges

To automate:Deployment

Sanity test

33

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

WWW.TIKALK.COM

A real life Use Case

35

Continuous Create Runtime Deploy

WWW.TIKALK.COM

Configure Continuous Job

36

WWW.TIKALK.COM

SCM configuration

37

WWW.TIKALK.COM

Module level Unit-test trend graph

38

WWW.TIKALK.COM

Runtime Job

39

WWW.TIKALK.COM

Runtime module in Artifact repository

40

WWW.TIKALK.COM

Test – running in cloud

41

WWW.TIKALK.COM

Utilizing private cloud

42

WWW.TIKALK.COM

Deploy-Test Results

43

WWW.TIKALK.COM

Benefits

44

WWW.TIKALK.COM

CI & CD combined

Develop Check-in Build Deploy

Test

UAT

Performance Production

47

WWW.TIKALK.COM

Traditional CI

50

Development• local• Check in

• local• Check in

SCM

• Trigger

• Trigger

Build • Feedback

• Feedback