31
@ChrisSeanAgile CHRIS EDWARDS, P.ENG. SEAN DUNN, CD, P.ENG., PMP Streamline your CI with docker /concourse.ci

Streamlining your CI with Docker and Containers

Embed Size (px)

Citation preview

Page 1: Streamlining your CI with Docker and Containers

@ChrisSeanAgile

CHRIS EDWARDS, P.ENG.SEAN DUNN, CD, P.ENG., PMP

Streamline your CIwith docker /concourse.ci

Page 2: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Master

“Z” machine

“R” Machine

“A” MachineNew

“Slave”

Always acting upNeeds frequent reboots

Has special packages installed for legacy project

Template used for future machine setup

Page 3: Streamlining your CI with Docker and Containers

@ChrisSeanAgile

Gavin McCance - CERNhttps://www.slideshare.net/gmccance/cern-data-centre-evolution

Page 4: Streamlining your CI with Docker and Containers

@ChrisSeanAgile

Page 5: Streamlining your CI with Docker and Containers

@ChrisSeanAgile

Page 6: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 7: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

web

worker

db

Page 8: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 9: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 10: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 11: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 12: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 13: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 14: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 15: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 16: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 17: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 18: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Page 19: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

web

worker

db

Page 20: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Concourse.ci basics• Resources• Tasks• Jobs

Page 21: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Tasks• Execution of a script in an isolated

environment with dependent resources available to it.

http://concourse.ci/concepts.html

Page 22: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Resources• Any entity that can be checked for new

versions, pulled down at a specific version, and/or pushed up to idempotently create new versions

http://concourse.ci/concepts.html

Page 23: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Resources• Any entity that can be checked for new

versions, pulled down at a specific version, and/or pushed up to idempotently create new versions

http://concourse.ci/concepts.html

Page 24: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Resources• Git• Mercurial• Time• S3• .tar.gz archives• docker-image• Cloud Foundry• … Many more• Your own custom resourcehttp://concourse.ci/concepts.html

Page 25: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

jobs• Some actions to perform when dependent

resources change (or when manually triggered).

• For example, you may define a job that runs your unit tests whenever new code is pushed to a repository.

http://concourse.ci/concepts.html

Page 26: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

Resources

Jobs

Page 27: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

web

worker

db

Page 28: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

web

worker

db

Page 29: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

web

worker

db

Page 30: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

web

worker

db

Page 31: Streamlining your CI with Docker and Containers

@ChrisSeanAgile C S&

web

worker

db