MeetUp Concourse Zurich

26
DevOps / CI / CD ç ç

Transcript of MeetUp Concourse Zurich

DevOps / CI / CDō

ō

INTRO

Jan Svoboda Pivotal Platform Architect

IBM DevOps Architect [2011-2016]

HP R&D engineer [2006-2011]

Boring theory

What is DevOps???

2

What do I want to achieve?

Who benefits? And how to measure?

Source https://www.gartner.com/doc/2753718/datadriven-devops-use-metrics-help

Examples…

Assessment model / Gap analysis

Source http://www.ibm.com/developerworks/library/d-adoption-paths/

My first pipeline in 2012

My theory of 3 layers

Full stack pipelines

How we solve this at Pivotal?

“Concourse was dreamt up and built while working on the Cloud Foundry project and experiencing the interesting CI and CD challenges that it has”

http://concourse.ci/

Why use Concourse for CI & CD?

First class pipelines

Build isolation

Docker images as the base of your jobs

Simplicity & Reproducibility

Pipeline as a Code - only one config file

Fly CLI

manage and update pipelines

CONCOURSE CONCEPTS

RESOURCES“A resource is any entity that can be checked for new versions, pulled down at a specific version, and/or pushed up to idempotently create new versions”

JOBS

Functions with inputs and outputs, that automatically run when new inputs are available.

A Job consists of a sequence of tasks and operations on resources that can run in serial or parallel”

TASK“A task is the execution of a script in an isolated environment with dependent resources available to it.

It can be executed in a Job or via the Fly CLI”

Demo

Build->Test->Deploy GIT->AWS->CF

vagrant init concourse/lite vagrant up

https://concourse.ci/hello-world.html

Tutorial: https://github.com/starkandwayne/concourse-tutorial

GETTING STARTED