Continuous Delivery pour vos applications Cloud Natives avec Jenkins et Cloud FoundryErwan Bornier – Cloud Platform Architect, Pivotal16 Février 2016
2© 2015 Pivotal Software, Inc. All rights reserved.
• Cloud Foundry France est une communauté qui encourage les discussions, les sessions techniques et le networking entre ses membres, constitués de développeurs, programmeurs, architectes, ingénieurs, consultants et chefs de projets partageant un intérêt commun pour le PaaS open source Cloud Foundry et la fondation Cloud Foundry.
• Cloud Foundry France encourage les échanges d’idées et le partage d’informations entre les utilisateurs et acteurs de l'éco système Cloud Foundry.
Cloud Foundry France meetup
Software is changing…….INDUSTRIES
3
$53BNEntertainment
$34BNAutomotive
$3.2BNIndustrial Products
4
Cloud Native
represent patterns that emerged in high performing organizations that deliver highly available applications
continuously at scale
6
Cloud Native
DevOps ContinuousDelivery
HAMicro services
7
Dev
• System Thinking : You build it you run it
• Amplify Feedback loop• Culture of continual
Experimentation
Ops
8
Dev
ContinuousDelivery
• System Thinking : You build it you run it
• Amplify Feedback loop• Culture of continual
Experimentation
Ops
9© 2015 Pivotal Software, Inc. All rights reserved.
Why Continuous Delivery?
9
$Busin
ess
Deve
lopmen
tQA Op
erat
ions
Custo
mer
10© 2015 Pivotal Software, Inc. All rights reserved.
Why Continuous Delivery?
10
$Months/Years
11© 2015 Pivotal Software, Inc. All rights reserved.
© Copyright 2014 Pivotal. All rights reserved.
How Cloud Foundry can help?
12
Continuous Delivery Flow
Development Production
Commit Build Test Stage Deploy
Feedback Loop
$The Business
?
© Copyright 2014 Pivotal. All rights reserved.
cf push
14
Continuous Delivery Flow
Development Production
Commit Build Test Stage Deploy
Feedback Loop
$The Business
API
Cloudbees Jenkins on Pivotal CF
© Copyright 2014 Pivotal. All rights reserved.
Demo with Pivotal Cloud Foundry
17
© Copyright 2014 Pivotal. All rights reserved.
What are we going to see?
18
Dev QA Prod1)git c
ommit/push
2)Build & Unit test
3)cf push & Test
5)cf push
4) cf scale and loadingMy AppCities-ui
Cities-service
ISO-env (services, middleware, OS, etc..)
© Copyright 2014 Pivotal. All rights reserved.
ConclusionStrategies for Success
19
© Copyright 2014 Pivotal. All rights reserved. 20
Do Externalize Environment Specific Configuration-> Let’s the Cloud Foundry handles it for you
Do Automate Everything with simple API-> but don’t build your own platform, API
Do Automate All Testing (unit, integration, performance..)Where Test Failures Would Prevent A Production Release From Occurring-> Quality is a duty for everybody
Strategies For Success
© Copyright 2014 Pivotal. All rights reserved.
Thanks
21
© Copyright 2014 Pivotal. All rights reserved.
Thanks Cloudbees for materials
22
© Copyright 2014 Pivotal. All rights reserved.
Questions?
23
© Copyright 2014 Pivotal. All rights reserved.
My mail : [email protected]
Twitter : @erwanbornier
Demo github : https://github.com/ebornier-pivotal/cd-cities-ui.git
24