DotCi
DotCi copied to clipboard
Add Docker Mount Points
Since we are running tests inside the container we will need a way to extract test artifacts for consumption by jenkins. This would allow users to review log files, screenshots, etc to determine what happened during the test run.
Proposed example of yaml design.
environment:
language: node
language_versions:
- v0.10.26
services:
- fedora/memcached
plugins:
- artifacts: test/log/
docker:
mount:
- #{workspace}/test/log:someplace/where/test/log
This would run the corresponding docker volume mount commands.
% ... -v #{workspace}/test/log:someplace/where/test/log ...
+1 This would also allow, when testing ruby-based apps, for a volume of pre-installed gems to be mounted into each container. This would bypass the costly re-installation of dependent gems with every build.
+1 This would also allow, when testing ruby-based apps, for a volume of pre-installed gems to be mounted into each container. This would bypass the costly re-installation of dependent gems with every build.
This would be a very welcome feature indeed.