This implementation introduces a new config volumes (plural) as a List of VolumeSpec closures
Tested against the validation folder:
jobs {
volume = { type "host" name "scratchdir" }
volumes = [
{ type "host" name "scratchdir" path "/var/data1" },
{ type "host" name "scratchdir" path "/var/data2" }
]
}
you can use volume , volumes or a mix of both
you can/need to specify the path in "secondary" volumes
you can specify which volume uses as workDir (so path is not required)
This implementation introduces a new config
volumes
(plural) as a List of VolumeSpec closuresTested against the validation folder:
volume
,volumes
or a mix of bothcloses #45