Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Dockerized tests with dockerized jenkins

2,777 views

Published on

Lightning talk presented in Barcelona Docker Meetup

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Dockerized tests with dockerized jenkins

  1. 1. Dockerized tests with dockerized Jenkins Fernando Valverde @fdoxyz
  2. 2. Problem ● Self-hosted Continuous Integration solution for public or private repos ● Execute docker commands (build, run or maybe even push image?) ● Avoid spending more resources on infrastructure (Droplets/VPS)
  3. 3. Dokku PaaS VPS NGINX BLOG
  4. 4. Dokku PaaS VPS NGINX MONGO BLOG
  5. 5. Dokku PaaS VPS NGINX JENKINS MONGO BLOG
  6. 6. Dokku PaaS VPS NGINX JENKINS MONGO BLOG TEST
  7. 7. Dokku PaaS VPS NGINX JENKINS MONGO BLOG
  8. 8. Dokku PaaS VPS NGINX JENKINS MONGO BLOG
  9. 9. Jenkins setup in Dokku 1. Deploy Jenkins app with access to Docker daemon using Dockerfile deployment and Docker socket mount 2. Setup GitHub integration 3. Configure Test Job
  10. 10. Dokku PaaS VPS NGINX JENKINS MONGO BLOG JUnit report is lost in the container’s ephemeral filesystem
  11. 11. Retrieve JUnit report from the test container using a mounted volume Dokku PaaS VPS NGINX JENKINS MONGO BLOG TEST /opt/results
  12. 12. Be careful ● SecuriTay ● No horizontal platform scalability ● Jenkins test capacity/scalability limited by the platform
  13. 13. Questions? Detailed step-by-step guide can be found here: https://visualcosita.xyz

×