runtime/opts: move WithNamespaceCgroupDeletion from containerd to its own package#3564
Conversation
e22c227 to
527eb99
Compare
|
FYI this came up when vendoring containerd in buildkit: moby/buildkit#1107 (comment) |
|
I'm not sure why TestImagesCreateUpdateDelete is failing on https://ci.appveyor.com/project/mlaventure/containerd-3g73f/builds/26840706 cc @mlaventure |
|
Build succeeded.
|
Codecov Report
@@ Coverage Diff @@
## master #3564 +/- ##
==========================================
- Coverage 42.3% 37.26% -5.04%
==========================================
Files 126 84 -42
Lines 13869 11554 -2315
==========================================
- Hits 5867 4306 -1561
+ Misses 7116 6648 -468
+ Partials 886 600 -286
Continue to review full report at Codecov.
|
3 similar comments
Codecov Report
@@ Coverage Diff @@
## master #3564 +/- ##
==========================================
- Coverage 42.3% 37.26% -5.04%
==========================================
Files 126 84 -42
Lines 13869 11554 -2315
==========================================
- Hits 5867 4306 -1561
+ Misses 7116 6648 -468
+ Partials 886 600 -286
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #3564 +/- ##
==========================================
- Coverage 42.3% 37.26% -5.04%
==========================================
Files 126 84 -42
Lines 13869 11554 -2315
==========================================
- Hits 5867 4306 -1561
+ Misses 7116 6648 -468
+ Partials 886 600 -286
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #3564 +/- ##
==========================================
- Coverage 42.3% 37.26% -5.04%
==========================================
Files 126 84 -42
Lines 13869 11554 -2315
==========================================
- Hits 5867 4306 -1561
+ Misses 7116 6648 -468
+ Partials 886 600 -286
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #3564 +/- ##
=======================================
Coverage 42.26% 42.26%
=======================================
Files 126 126
Lines 13881 13881
=======================================
Hits 5867 5867
Misses 7128 7128
Partials 886 886
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #3564 +/- ##
==========================================
- Coverage 42.3% 37.26% -5.04%
==========================================
Files 126 84 -42
Lines 13869 11554 -2315
==========================================
- Hits 5867 4306 -1561
+ Misses 7116 6648 -468
+ Partials 886 600 -286
Continue to review full report at Codecov.
|
Are you sure this solves the dependency issue? It is moving it to an interface defining package still. |
When I tested it it removed 17047 lines of vendoring.
I agree that's not great. So what do you suggest? |
527eb99 to
faadd59
Compare
|
@dmcgowan updated PTAL |
|
Build succeeded.
|
|
@tiborvass I think this should probably go in |
faadd59 to
949c572
Compare
|
Thanks @crosbymichael I updated accordingly. |
… own package The cgroup dependency brings in quite a lot only for WithNamespaceCgroupDeletion, which is a namespaces.DeleteOpt. Signed-off-by: Tibor Vass <tibor@docker.com>
949c572 to
6624a70
Compare
|
LGTM |
|
Build succeeded.
|
The cgroup dependency brings in quite a lot only for WithNamespaceCgroupDeletion, which is a namespaces.DeleteOpt.
Signed-off-by: Tibor Vass tibor@docker.com