Allow specifying volume mounts in job executors #3249
Robin Shen opened 3 hours ago

Allow administrators to configure volume mounts on server Docker and remote Docker job executors, so jobs can access shared files or directories on the server/agent filesystem without configuring mounts separately in each build specification. Example uses include shared tools and datasets.

Provide a Volume Mounts setting under the executor's More Settings, with the following behavior:

  • Each mount specifies an absolute source path on the server/agent, an absolute target path in job containers, and a read-only option enabled by default.
  • Apply the configured mounts to job containers run by the executor, with support for mounting the same source at multiple targets.
  • Validate that both paths are absolute in the settings UI and when preparing executor mounts at runtime.
  • Keep executor mount paths administrator-controlled, without job placeholder interpolation.
  • Explain that source paths, symlink targets, and their parent directories must remain under administrator control. If the server/agent itself runs in Docker, the source must first be bind-mounted into it, and configuration should use the path visible inside it.
1/1
Type
Enhancement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-3249
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover