Skip to content

Continuous delivery with Docker for Automation Nights meetup

Notifications You must be signed in to change notification settings

martinmosegaard/mechanized-martius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

mechanized-martius

Continuous delivery with Docker for the Automation Nights Aarhus March 2016 meetup

Overview

This demo shows how to:

  • Start Jenkins in a Docker container
  • Configure Jenkins at startup
  • Use Job DSL to create a CD pipeline
  • Use Docker to build and run containers in the pipeline

Usage

Example commands to try it out, modify as needed:

# Start Docker host
docker-machine start default
eval $(docker-machine env default)
# Now we can run the 'docker' command

# Start Jenkins
cd jenkins
./build.sh
./run.sh
# Now jenkins is running on http://$(docker-machine ip default):8080

Then go to Jenkins in a browser and proceed to:

  • Run the seed job
  • Run the commit job
  • Wait for release job to succeed, then run docker images to verify you have an image called praqma/shamu-app:stable
  • Celebrate

TODO

  • Clean up createJobDsl imports and code
  • Release job: push to a Docker registry
  • Test job: publishers / plotBuildData using groovy-parsed output.csv file

About

Continuous delivery with Docker for Automation Nights meetup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published