-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support volume_mount in task #51
Conversation
@lisongmin We already support Can you elaborate on what this PR is adding, which is currently missing in the driver? |
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There are two ways to describe mount in nomad:
and the later one is not supported by this plugin now. |
I have read the CLA Document and I hereby sign the CLA |
@lisongmin Why do you need (2) when both (1) and (2) are doing the same thing? |
No, it's not necessary. But it's better to support it since there are many(some?) tutorials use the volume_mount option. and reduce people to debug the problem why not mounted. Maybe keep compatible to docker is also a good reason? |
@lisongmin okay, Can you add an integration test with a task The You can add a new job in the The PR might need a rebase as well. Thank you for the contributions 🙂 |
f9bf4b3
to
ed1114a
Compare
@lisongmin Okay I think we have a bigger problem 🙂. The Currently, this will break the vagrant setup since there is no path I think we should separate the Can we:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lisongmin Awesome work on this PR! Added a few feedback items. Thank you so much for your efforts and contribution.
cdfb9c1
to
f512019
Compare
f512019
to
9ffe5d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
support volume_mount which defined in https://www.nomadproject.io/docs/job-specification/volume_mount
inspired from docker dirver.