add exec option to tmpfs#2647
Conversation
|
ping @anshulpundir @dperny PTAL; this is related to a PR in moby; moby/moby#36720 |
|
/cc @cpuguy83 @kolyshkin |
|
I'd rather not see a |
|
@dperny see moby/moby#36720 (comment) - is this a blocker for you? |
|
@thaJeztah Nah, it's not a blocker. @adshmh Let's rebase, rebuild protos, and I'll give it one last once-over before we ship. |
|
ping @adshmh could you rebase this PR so that we can move it forward? 🤗 |
cee19f5 to
4e9e450
Compare
|
Sorry for the delay. Rebased. |
|
Whoops; looks like there's an issue with the vendor directory; there's no change in |
4e9e450 to
67741d8
Compare
|
Thanks for the review. Fixed (The modified file from moby/moby was not needed, as conversion will be done on moby/moby not swarmkit). Latest build failure is from a timeout in running unit tests which does not happen in my local test environment. |
Codecov Report
@@ Coverage Diff @@
## master #2647 +/- ##
=========================================
+ Coverage 61.87% 61.97% +0.1%
=========================================
Files 136 136
Lines 21926 21933 +7
=========================================
+ Hits 13566 13594 +28
+ Misses 6896 6874 -22
- Partials 1464 1465 +1 |
| } | ||
| } | ||
| } | ||
| message_type { |
There was a problem hiding this comment.
Wondering why these changes are here; this could be if you're using a different version of protobuf (see #2503), could you check what version you're using to regenerate?
There was a problem hiding this comment.
Thank you. Fixed. Seems the build uses protoc 3.6.1 now (on both containerized builds and CircleCI).
Perhaps the BUILDING.md file needs an update, as it refers to 3.x or higher versions of protoc:
https://github.com/docker/swarmkit/blob/master/BUILDING.md#regenerating-protobuf-bindings
I think a link to the option of building in a container, showing up at the top of the BUILDING.md, could be useful as well (I can submit a PR for that if it sounds like a good idea)
There was a problem hiding this comment.
Ah, yes, that would be a good thing to do. I also think that @dperny was working on a containerised version a while back (so that the version could be "pinned" in that container)
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
67741d8 to
0c73108
Compare
|
ping @dperny @anshulpundir PTAL |
|
Hi! Are there any estimates on when this is going to be merged? Since moby/moby#36720 heavily depends on this PR. Would be nice to get this merged as soon as possible. Thanks. |
|
@dperny thank you. |
Added exec option to tmpfs mounts, part of work on moby PR to add exec option to tmpfs mounts
Signed-off-by: Arash Deshmeh adeshmeh@ca.ibm.com
- What I did
Added exec/noexec option to Tmpfs
- How I did it
Modified the API and the agent/exec/dockerapi package. Also added the corresponding unit tests. Also added the exec/noexec option to flagparser.
- How to test it
- Description for the changelog
Added exec option to tmpfs mounts