FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add npipe as a valid mount type by aroskuski · Pull Request #1788 · docker-java/docker-java · GitHub

Repository navigation

Add npipe as a valid mount type - #1788

Merged
bsideup merged 1 commit into
docker-java:masterfrom
aroskuski:add_npipe
Feb 5, 2022
Merged

bsideup merged 1 commit into
docker-java:masterfrom
aroskuski:add_npipe

Conversation

aroskuski commented Jan 20, 2022 •
edited
Loading

Copy link
Copy Markdown
Contributor

Version 1.40 of the API (or at least I think it was that version, had to manually search through versions of the doc) added npipe as a valid mount type. This is necessary for certain cases, like mounting the default docker pipe on Windows inside a container.

I've manually tested that this change works, but automated testing has proven a bit of a challenge. It's kind of too trivial to write a meaningful unit test for (though I did go through and made sure the all the existing tests passed, on Windows, even), and there doesn't appear to be an obvious way to add an integration test for a Windows-only feature.

bsideup commented Feb 4, 2022

Copy link
Copy Markdown
Member

Hi @aroskuski,

Could you please make the change focused on adding NPIPE mount type (easy to accept), and extract the Windows testing into a separate PR (needs a discussion)? Thank you!

Copy link
Copy Markdown
Contributor Author

Alright @bsideup, I've split the unit test stuff out into #1804 so that it can be dealt with separately. I'm not super attached to those changes, it just seemed like a useful thing to do since I was testing the feature out on Windows for obvious reasons.

bsideup added this to the next milestone Feb 5, 2022
bsideup added dependencies Pull requests that update a dependency file type/enhancement labels Feb 5, 2022
bsideup merged commit fd27cc2 into docker-java:master Feb 5, 2022

bsideup commented Feb 5, 2022

Copy link
Copy Markdown
Member

@aroskuski thank you! I think the change is valid, I was just working on preparing a release and wanted to include your change, but wasn't ready to review that test-related change 👍 Will have a look after the release 👍 Thank you!

aroskuski deleted the add_npipe branch February 5, 2022 22:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file type/enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL