serving pull requests with jenkins
TRANSCRIPT
Serving Pull Requests with Jenkins
Seth Goings, DevTools Team Lead @ Deis
Setting Up Your Own PaaS and CI/CD Pipeline
http://tinyurl.com/jnxn8ln
We’re tasked with building the deployment system for the company’s blog
… exciting, I know
Pull Requests
● Run the build/tests/etc● Stand up an actual instance of the blog in Deis (separate app per PR)
Production (master branch)
● Run the build/tests/etc● Deploy new version of the blog in Deis (with no downtime)
https://github.com/jenkinsci/workflow-plugin
But wait...
● No GitHub Pull Request Plugin Support in Jenkins Pipeline Plugin (yet)
● No Pipeline Visualization in OSS Jenkins (yet)
The Pipeline To Today
Step 1
Acquire (Jenkins)
docker-machine
docker-compose
Step 2
Deploy (Deis)
rigger configure
rigger deploy
Step 3
Connect
Jenkins -> GitHub (API key)
Add SSH Key for Deis in Jenkins
Step 4
Experiment
Create pr builder job
Create production job
Ramping Up With Rigger
http://tinyurl.com/z9wesjt
https://github.com/sgoings/jekyll-ci-demo