Continuous-Delivery

with

Ashish Pandey

@ashishapy

blog.ashishapy.com

Jenkins

Docker

Agenda

  • Jenkins 2
  • Docker
  • Jenkins Architecture
  • Jenkins Master - Agent
  • Jenkins Pipeline & Docker
  • Sample Projects (Java & Node.JS)

Docker

Jenkins 2.0

Forrester's report on "The Quest for Speed-Plus Quality Drives Agile and DevOps Tool Selection"

The Complex Application Delivery Pipeline Tool Chain

Workflow

Developers
Git Server
Jenkins

Build app

Pull repo

Push Image

Pull Image

Docker-Compose

Short-lived app env. & do Integration Testing

Orchestrator
Datacenter
Swarm
Docker Registry

Architecture

Swarm Manager
Master
Agent
Jenkins Cluster
Agent
Agent

Benefits ?

Architecture

Swarm Manager
Master
Agent
Jenkins Cluster
Agent
Agent
Shared Volume

Benefits ?

Docker in Docker

docker run -v /var/run/docker.sock:/var/run/docker.sock ...
The solution:

Infrastructure Ready

Let's get ready for CI

Jenkins Pipeline

Jenkinsfile

Plugins

Sample Java Project

Sample Node.js Project

Still WIP: Continuous Delivery With Jenkins & Docker

By Ashish Pandey

Still WIP: Continuous Delivery With Jenkins & Docker

Still WIP

  • 773