Class: Runners::Docker::Filer
- Inherits:
-
Object
- Object
- Runners::Docker::Filer
- Defined in:
- app/services/runners/docker/filer.rb
Defined Under Namespace
Classes: InvalidMountName
Instance Method Summary collapse
Instance Method Details
#perform(task_storage_mounts:) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'app/services/runners/docker/filer.rb', line 8 def perform(task_storage_mounts:) task_storage_mounts.map do |task_mount_name, task_mount_path| node_mount_path = Settings.storage_mounts.docker[task_mount_name] raise InvalidMountName unless node_mount_path [node_mount_path, task_mount_path].join(":") end end |