Skip to content
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

fixes #1 Add filed "type" for host path volume settings. #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fuzhibo
Copy link

@fuzhibo fuzhibo commented Jul 9, 2020

When I use drone-runner-kubernetes, I found it only support DirectoryOrCreate type of host path volume, so I made this pull request to fix this. In many CI/CD cases, users may use other types to mount host path (like /var/run/docker.sock), it is hard to use if this runner can only mount a directory.

@CLAassistant
Copy link

CLAassistant commented Jul 9, 2020

CLA assistant check
All committers have signed the CLA.

@fuzhibo
Copy link
Author

fuzhibo commented Jul 9, 2020

By the way, I found the runner can support claim mount. However the feature is not described in the document. It will be nice to add it, many user want this in their CI/CD.

@tychedelia
Copy link

Bump. Was confused why this didn't work, as being able to mount Docker socket is key to our use case.

@tychedelia
Copy link

@bradrydzewski are there any outstanding issues with this PR? We currently have to vendor the project in order to apply this patch, which is a bit annoying. Using socket type is much better than any alternate solution for running Docker inside build containers. Happy to help here in any way. Tyty!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants