Cri integration cleanup#5287
Conversation
|
Hi @claudiubelu. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
hello thanks for the PR work! Can we split this into a separate PR for the two refactoring commits and one for the windows integration work.. FYI on the commits we are limited to one 72 char line for the commit header description.. |
Hello. The Windows integration work PR can be seen here: #5163 I've included that commit here to make sure that nothing breaks with any other CI, and that commit was necessary for that. |
97642ea to
ce90f51
Compare
e69fd0b to
d0429a2
Compare
|
/retest |
d0429a2 to
570f963
Compare
570f963 to
7d09576
Compare
|
I think we will merge #5403 before this change. |
64c6014 to
c55fb4c
Compare
|
Build succeeded.
|
|
/ok-to-test |
c55fb4c to
763b50c
Compare
|
Build succeeded.
|
763b50c to
523c83b
Compare
|
Build succeeded.
|
523c83b to
294a521
Compare
|
Build succeeded.
|
294a521 to
3ac9a0e
Compare
|
Build succeeded.
|
3ac9a0e to
0a46545
Compare
|
Build succeeded.
|
0a46545 to
2c2710c
Compare
|
Build succeeded.
|
2c2710c to
f937885
Compare
|
Build succeeded.
|
Most of the tests creating and using Pod Sandboxes in the same way. We can create a common function that will do that for us, so we can have less duplicated code, and make it easier to add new tests in the future. Signed-off-by: Claudiu Belu <[email protected]>
A previous commit introduced EnsureImageExists, which ensures that a particular image already exists. It also deduplicates the image pulling code. Some tests missed this update. Signed-off-by: Claudiu Belu <[email protected]>
f937885 to
cabe677
Compare
|
Build succeeded.
|
Most of the tests creating and using Pod Sandboxes in the same way. We can create a common function that will do that for us, so we can have less duplicated code, and make it easier to add new tests in the future.
Most tests require pulling a test image, and most of them are doing it in the same way. A function
PulImageWithCleanupwas introduced in a previous commit. Using it will reduce the amount of duplicated code.