Creating a continuous delivery pipeline with docker

13
Creating a Continuous Delivery Pipeline with Docker Three different ways! (time permitting)

Transcript of Creating a continuous delivery pipeline with docker

Page 1: Creating a continuous delivery pipeline with docker

Creating a Continuous Delivery Pipeline with Docker Three different ways! (time permitting)

Page 2: Creating a continuous delivery pipeline with docker

Time to get on the same page

Page 3: Creating a continuous delivery pipeline with docker

What the heck is Continuous Deployment?

</> SCM BUILD DEPLOY

Write code Push to repo Build / Test Deploy to servers

Page 4: Creating a continuous delivery pipeline with docker

What are some of the benefits of CD?

● Repeatable process● Automatically run tests● Automatically deploy new code to servers● No manual steps need to be taken● Shorter deployment cycles● Scales with your dev team as it grows

Page 5: Creating a continuous delivery pipeline with docker

What are some of the challenges of CD?

● Deciding on which tools are right for you or right for the specific job

● Wiring everything up so it works together● Getting people on your team to stop doing

things manually● Writing tests for all of your code● What other challenges have you run into?

Page 6: Creating a continuous delivery pipeline with docker

Continuous Deployment Requires Automation - SCM

Page 7: Creating a continuous delivery pipeline with docker

Continuous Deployment Requires Automation - Builds

Page 8: Creating a continuous delivery pipeline with docker

Continuous Deployment Requires Automation - Deployments

Page 9: Creating a continuous delivery pipeline with docker

… continued

Page 10: Creating a continuous delivery pipeline with docker

Method #1● DockerHub Automated Build ● DockerHub Webhook Deployment● ContainerShip Webhook-Receiver

Page 11: Creating a continuous delivery pipeline with docker

Method #2● TravisCI Image Build● TravisCI Push Image to DockerHub● TravisCI curl to ContainerShip API

Page 12: Creating a continuous delivery pipeline with docker

Method #3

Github Webhook & Jenkins

Page 13: Creating a continuous delivery pipeline with docker

Resources

Git Repo:

https://github.com/containership/ci-demo

Pluggable webhook receiver:

https://github.com/containership/webhook-receive

ContainerShip:

https://containership.io