Jumping from Continuous Integration to Continuous Delivery with Jenkins Enterprise
Continuous Delivery with Jenkins and Stackato
-
Upload
activestate -
Category
Technology
-
view
1.248 -
download
7
description
Transcript of Continuous Delivery with Jenkins and Stackato
![Page 1: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/1.jpg)
Continuous Delivery with Jenkins & Stackato
Ho Ming Li
John Wetherill
Nov 2013
![Page 2: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/2.jpg)
Recent Events
DevOps Days x 2
![Page 3: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/3.jpg)
Today’s Speakers
John WetherillDeveloper Evangelist
Ho Ming LiCloud Engineer
![Page 4: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/4.jpg)
What is Continuous Delivery?
• Continuous integration: your application always builds and passes its
tests, including all the pieces from different sub-teams.
• Continuous delivery: your application always builds and deploys to a test
environment and passes its tests.
• Continuous deployment: your application is always ready to deploy to
production through a largely automated process.
source: http://www.softwareknowhow.info/Blogs/tabid/63/EntryId/319/Continuous-Integration-vs-Continuous-Delivery-vs-Continuous-Deployment-what-is-the-difference.aspx
![Page 5: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/5.jpg)
Why CI / CD?
Automate and Streamline Everything!
Increase Operational Efficiency!
Avoids:
1. wait time
2. handoff conflicts
3. human errors
![Page 6: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/6.jpg)
Why CI / CD?
Know results earlier! Fix bugs faster! More stable builds!
![Page 7: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/7.jpg)
Tools
Good ol’ shell scripts with cron!
Extends to other languages and unix utilities
Additional Features:
Tracking, Dashboard
![Page 8: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/8.jpg)
Continuous Delivery
and Stackato
More, Better, Faster
![Page 9: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/9.jpg)
Stackato Private PaaS
A private PaaS enables enterprise developers to leverage all the benefits of a
public PaaS to easily deploy, manage, monitor, and scale applications,
while meeting the security and privacy requirements your enterprise
demands.
Based on Cloud Foundry
Your own Heroku
Your own Google App Engine
![Page 10: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/10.jpg)
Languages/Frameworks
DB/MSG Services
Local/Private/Public
More Options
![Page 11: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/11.jpg)
Any time you want.
Any frequency you want.
Weekly? Daily? Hourly?
On Commit? on Pull Request?
Deploy More
![Page 12: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/12.jpg)
Better
Consistent workflow : work one, work all
Self-service : Better relationship between Dev and Ops
![Page 13: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/13.jpg)
Faster
Automation / No re-configuration
Use containers and not VMs
Overall a Faster Time to Market
![Page 14: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/14.jpg)
Containerization
• resource and process isolation
• namespaces:
* pid
* mnt
* net
* uts
* ipc
* user
• compare with Solaris zones, freebsd jails
![Page 15: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/15.jpg)
Containerization Features for CD
Multitenancy
• dev, qa, prod on same cloud
• no resource contention
Lightweight
• very fast startup (100ms) and teardown
• small memory and disk footprint (COW)
Snapshots / Backups
• bit-for-bit copy of tested image goes to prod
• bit-for-bit copy of crashed image for analysis
![Page 16: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/16.jpg)
Containerization Features for CD
uts namespace
• each container has its hostname
• helpful for updates and rollbacks
net namespace
• multiple virtual interfaces per container
• firewall rules and iptables
• interface pairs for outside communication
• enables multiple services on “same port”
ex: multiple tomcats on 8080
user namespace
• unprivileged user on host can be root in container
![Page 17: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/17.jpg)
![Page 18: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/18.jpg)
Design for CI and for Cloud
• can leverage dns for version-swapping
• statelessness is key
• simplifies updates and rollbacks
• REST
![Page 19: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/19.jpg)
MORE
BETTER
FASTER
![Page 20: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/20.jpg)
![Page 21: Continuous Delivery with Jenkins and Stackato](https://reader033.fdocuments.in/reader033/viewer/2022052504/547c03a5b4af9fbe158b5114/html5/thumbnails/21.jpg)
Thank you!
www.activestate.com/stackato
#Stackato on Freenode
Ho Ming Li
John Wetherill
Nov 2013