Integrated Continuous Delivery Pipelines

Post on 13-Apr-2017

645 views 1 download

Transcript of Integrated Continuous Delivery Pipelines

Jenkins User Conference Europe #jenkinsconf

Integrated Pipelines

Markos Rendell@markosrendellAccenturehttp://markosrendell.wordpress.com

June 25, 2014

#jenkinsconf

Jenkins User Conference Europe #jenkinsconf

What is Continuous Delivery?

Jenkins User Conference Europe #jenkinsconf

In what scenario does this all work perfectly?

Jenkins User Conference Europe #jenkinsconf

Life is good in Jenkins…

Build Sonar Deploy Code

Run Test Harness

Deploy CodePPE

Auto OAT Deploy Prod

Commits into one SCM

repo

CI pipeline

CD pipeline(rest of the way to Prod)

Jenkins User Conference Europe #jenkinsconf

What to do we do when things get complicated?

What versions

were tested

together?

What should

we release?

How do we control flow?

Jenkins User Conference Europe #jenkinsconf

Create a Fat CI-CD pipeline?

Build Sonar Deploy Code

Load Test Data

Run Test Harness

Create clustered

envDeploy Code

Run Perf TestCommits

into any SCM

repositorytrigger a pipeline

???

Jenkins User Conference Europe #jenkinsconf

Demo: Fat Pipeline

Jenkins User Conference Europe #jenkinsconf

Problem

“We want a continuous delivery pipeline, but in practice the path to production involves carefully integrating lots of components along the way“

Jenkins User Conference Europe #jenkinsconf

Solution:Create an integration Pipeline!

CI pipelines

Integration pipeline

Jenkins User Conference Europe #jenkinsconf

Demo: Integrated Pipeline

Jenkins User Conference Europe #jenkinsconf

What about Micro Services?

- This2 ??

Applicatio

n Package A

source code Appli

cation

Package B

source code Appli

cation

Package C

source Code C live

(CD Pipeline)

Applicatio

n Package A

source code Appli

cation

Package B

source code Appli

cation

Package C

source Code C

Applicatio

n Package A

source code Appli

cation

Package B

source code

The pattern does scale, but Micro Services present their own challenge….

Jenkins User Conference Europe #jenkinsconf

This of course...

- but How?

etc...

Jenkins User Conference Europe #jenkinsconf

Demo: templates

Jenkins User Conference Europe #jenkinsconf

Bonus Use Case: Use the Integration Pipeline pattern to treat your platform exactly the same way!

Infra-as-code == Infra-is-code {Give it the Jenkins treatment!

}

e.g. MySQLChef cookbook

e.g. RabbitMQBosh release

Jenkins User Conference Europe #jenkinsconf

Thanks

@markosrendell

http://markosrendell.wordpress.com/

mark.rendell@accenture.com

Please get in touch if you want more details!

Jenkins User Conference Europe #jenkinsconf

Corporate Community

Thank You To Our SponsorsPlatinum Gold

Silver