ClusterHQ / powerstrip

Powerstrip: A tool for prototyping Docker extensions
https://clusterhq.com/
Apache License 2.0
302 stars 32 forks source link

Investigate and set up CI #21

Open lukemarsden opened 9 years ago

lukemarsden commented 9 years ago

Maybe with Travis-CI or Drone.io, whichever works best for the needs of the project.

So:

progrium commented 9 years ago

We've used CircleCI to great success and they have great Docker support AND parallelism. I will set it up in the Go branch so you can see it in action.

tomdee commented 9 years ago

I'm finding CircleCI to be quite feature rich, BUT I can't get v0.0.1 version of powerstrip running under it...

tomdee commented 9 years ago

OK, I've got to the bottom of why Powerstrip has problems on CircleCI and luckily there's an easy workaround.

The mounting of the docker socket into the powerstrip container wasn't working possibly because a) a bug b) lxc is being used c) btfs is being used.

It doesn't work because /var/run in symlinked to /run on the host and -v won't work with symlinked directories.

The workaround is to run powerstrip with "-v /var/run/docker.sock:/run/docker.sock"