DotCi icon indicating copy to clipboard operation
DotCi copied to clipboard

Add Docker Mount Points

Open bkochendorfer opened this issue 11 years ago • 2 comments

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 ...

bkochendorfer avatar Jul 16 '14 21:07 bkochendorfer

+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.

dougjohnson avatar Aug 13 '14 11:08 dougjohnson

+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.

pascalw avatar Aug 21 '14 21:08 pascalw