-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Allow mount type npipe on service/stack #37400
Conversation
2c8a820
to
8c4dc64
Compare
Codecov Report
@@ Coverage Diff @@
## master #37400 +/- ##
==========================================
+ Coverage 36.1% 36.11% +<.01%
==========================================
Files 610 610
Lines 45115 45120 +5
==========================================
+ Hits 16291 16295 +4
- Misses 26584 26588 +4
+ Partials 2240 2237 -3 |
8c4dc64
to
13aab7c
Compare
The DNS lookup failures on s390x are known, and are being investigated; may be something with the kernel configuration on the s390x and powerpc machines (a reboot of those machines will fix that)
|
Haven't seen this one before I think; https://jenkins.dockerproject.org/job/Docker-PRs-WoW-RS1/21347/console, could be related to the changes in this PR?
|
@thaJeztah ok. thanks, now I know which ones to focus and which not. |
I think I would prefer having a proper type for this, support for this is already in the moby API's at least. Just need to add to swarmkit. For reference https://github.com/moby/moby/blob/master/api/types/mount/mount.go#L19 |
@cpuguy83 true. I noticed same and commented to original issue #34795 (comment) I'm just looking for it :) |
Please sign your commits following these rules: $ git clone -b "34795-allow-npipe" git@github.com:olljanat/moby.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842353872088
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f Amending updates the existing PR. You DO NOT need to open a new one. |
3130b60
to
8c4dc64
Compare
5d182d5
to
38be8f2
Compare
Modified solution to use MountTypeNamedPipe. Now all envs gives error
which is valid until moby/swarmkit#2691 is merged. |
@thaJeztah how I can actually test to build this one with moby/swarmkit#2691 ? EDIT: Found it. Need to modify vendor.conf and run hack/vendor.sh on Linux and then sync these changes to Windows machine. |
38be8f2
to
1b03440
Compare
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
1b03440
to
60b5319
Compare
c7f8cf7
to
b72a08b
Compare
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
b72a08b
to
6e37479
Compare
@cpuguy83 now PR to swarmkit have been merged and I included vendor update for it to this PR. @vdemeester I also tried to include cli tests on olljanat@b72a08b but I removed it now as it looked to causing more issues than solving (it was implemented based on Tmpfs tests and I'm not sure how to convert it to new format and I also noticed that it would fail because current Windows build server is running RS1 and named pipes mounting needs at least RS3, look: #37862) Let me know if you think that more tests are needed to included. |
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
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.
SGTM 🐯
cc @johnstep @jhowardmsft
6e37479
to
1144159
Compare
I noticed that swarmkit was updated to needed level on PR #3790 so I dropped it from this PR. @thaJeztah / @johnstep / @jhowardmsft can you trigger rebuild for these failing builds (they looks failing to some some issue which is not caused by this PR) and review / do merging (or what actually are next step) ? |
Looks like all test passed so merge. |
- What I did
Added support named pipes support to cluster executor.
- How I did it
Added npipe type same way than it is added to engine on #33852
- How to verify it
- Description for the changelog
Fixes: #34795