Anúncio
Anúncio

Mais conteúdo relacionado

Apresentações para você(20)

Similar a Continuous Delivery Pipeline with Docker and Jenkins(20)

Anúncio
Anúncio

Continuous Delivery Pipeline with Docker and Jenkins

  1. Continuous Delivery Pipeline with Docker and Jenkins Camilo Ribeiro
  2. Camilo Ribeiro Software Engineer at Klarna Former Senior Consultant at ThoughtWorks @camiloribeiro camilo@camiloribeiro.com
  3. https://github.com/camiloribeiro/cdeasy
  4. 0 25 50 75 100 Local Build Stage 1 Stage 2 Stage 3 Stage N Risk in each commit Build Test Perf Sec Ship it!
  5. Not only hardware abstraction, but operating system abstraction
  6. https://hub.docker.com https://hub.yourcompany.com
  7. docker pull gradle docker run gradle clean build runInParallel
  8. docker pull ruby docker run ruby bundle install && rake test
  9. docker pull node docker run node npm install && node app.js
  10. docker pull jenkins docker run -p 8080:80 jenkins
  11. docker pull git docker run git pull git@my-repo.git
  12. Run a cloud-ish in your local machine
  13. docker-compose
  14. “ One image to run them all ” - Sauron
  15. A Jenkins agent image with only docker and docker-compose installed
  16. 90 more jobs!
  17. Jenkins Job Automation • Template Project Plugin • Job Generator Plugin • Jenkins Job Builder • JobDSL Plugin
  18. Jenkins Job Automation • Template Project Plugin • Job Generator Plugin • Jenkins Job Builder • JobDSL Plugin
  19. Jenkins Job DSL
  20. Turn your job-dsl scripts into a project!
  21. Wanna learn more? • CDEasy: https://github.com/camiloribeiro/cdeasy • Jenkins running in docker with examples • Job DSL playground: http://job-dsl.herokuapp.com/ • Know your xml when you write the groovy scripts • Job DSL reference: https://jenkinsci.github.io/job-dsl-plugin/ • Nice documentation with current state of Job DSL
  22. Demo If we have time (and internet) :)
  23. camilo@camiloribeiro.com
Anúncio