jenkins: from continuous integration to continuous delivery
Post on 11-May-2015
16.601 Views
Preview:
DESCRIPTION
TRANSCRIPT
JenkinsFrom Continuous Integration to Continuous Delivery
John Ferguson SmartCEOWakaleo Consulting
Who is this guy, anyway?
2
John Ferguson Smart
ConsultantTrainerMentorAuthorSpeakerCoder
Continuous Delivery
3
Ge5ng value to the business.Fast.
CI in the clouds
4
DEV
INTEGRATION
STAGING
PROD
Demonstration environment
Source code on Github
Demonstration environment
Jenkins instance on Amazon
Demonstration environment
Deploying to CloudBees @RUN
Demonstration environment
Our applicaLon
Branching into Continuous Delivery
or: How I Stopped Worring And Learned to Love Feature Branches
Branching into Continuous Delivery
Stable
Feature A
Feature B
Feature C
Branching into Continuous Delivery
Stable
Feature A
Feature B
Feature C Pick and choose what goes into a release
Everyone needs a canary or two
Branching into Continuous Delivery
The problem with feature branches
Branching into Continuous Delivery
Stable
IntegraLon
Branching into Continuous Delivery
Stable
IntegraLongameoflife-‐integraLon
Branching into Continuous Delivery
Feature branch integraLon is easy with git and Jenkins
DEMOThe integration branch in action
Smoke tests
ConLnuous Delivery is impossible without ConLnuous Quality
“Where there’s smoke, there’s fire”
Smoke tests
gameoflife-‐integraLon
gameoflife-‐smoke-‐tests
STAGING
INTEGRATION
PROD
DEV
Smoke tests
gameoflife-‐integraLon
gameoflife-‐smoke-‐tests
DEV
Smoke Tests can also be Automated Acceptance Tests
DEMOSmoke Tests in Action
Continuous Delivery
Deliveries when the business needs them
Continuous Delivery
Stable
Feature B
gameoflife-‐default
gameoflife-‐code-‐quality
gameoflife-‐release-‐candidate
gameoflife-‐smoke-‐tests
STAGING
1.2.3
DEMOProducing a release candidate
Build Pipeline
Pushing your code into producLon
Build Pipeline
Stable
gameoflife-‐default
gameoflife-‐code-‐quality
gameoflife-‐release-‐candidate
gameoflife-‐smoke-‐tests
STAGING
gameoflife-‐deploy-‐to-‐prod
gameoflife-‐smoke-‐tests
PROD
1.2.3
Build Pipeline
DEMOThe build pipeline
THANK YOU!John Ferguson Smart
Email: john.smart@wakaleo.comWeb: h`p://www.wakaleo.com
Twi`er: wakaleo
top related