hashicorp / nomad-driver-exec2

An official Nomad task driver plugin for sandboxing workloads using native Linux kernel features
Mozilla Public License 2.0
9 stars 0 forks source link

documentation bug regarding paths used in the artifact block #52

Closed ChrisAdkin8 closed 2 months ago

ChrisAdkin8 commented 3 months ago

It appears that when using an artifact block in conjunction with the exec2 task drive the destination path is always relative to the allocation working directory, the documentation here https://developer.hashicorp.com/nomad/plugins/drivers/exec2 does not mention this, can this please be added.

tgross commented 2 months ago

It should be relative to the allocation working directory, isn't it? As documented here: https://developer.hashicorp.com/nomad/docs/job-specification/artifact#destination

ChrisAdkin8 commented 2 months ago

As stated, the fact that the path is relative to the root of the task directory is stated in the documentation for the artifact block, please close this issue.

jrasell commented 2 months ago

Thanks for the response @ChrisAdkin8 and I'll go ahead and close this issue out.