Conversation
| WebTarget webResource = getBaseResource().path("/images/" + command.getName() + "/get").queryParam("tag", | ||
| command.getTag()); | ||
|
|
||
| // If tag is present, only tar the specific image |
There was a problem hiding this comment.
sorry confused with tar, tag :)
|
Seems we would need a test case for it |
Codecov Report
@@ Coverage Diff @@
## master #521 +/- ##
=========================================
Coverage ? 71.77%
=========================================
Files ? 306
Lines ? 6598
Branches ? 487
=========================================
Hits ? 4736
Misses ? 1575
Partials ? 287
Continue to review full report at Codecov.
|
|
Hi, I change my chectstyle environment to be compliant with us. Best Regards Frédéric. |
|
Missing netty implementation. |
|
As i see Requires only image name. But docker API also allows passing https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api_v1.22.md#get-a-tarball-containing-all-images-in-a-repository contains some https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api_v1.22.md#image-tarball-format format. Could you check whether this format is right now and whether it possible implement some integration test (tag something (i.e. busybox) with test specific repository name and verify that returned archive contains tags/images). I think you can add commons-compress into test scope if it missing? Test would allow cover situations and avoid breakage in future. |
|
@draoullig Ping! |
|
Hi, I don't have time to contribue at this project. Best regards. Frédéric |
|
@draoullig thanks, it will take some time to update your changes and we will merge later. |
|
retriggering pr build |
|
Any chance we could get this PR massaged and cleaned up and merged? |
Too busy on this week, i can press merge and run relese. Could you PR picking this commits? |
Hy,
I found a bug on the command to save images in a tar.
If you push a tag today, it is ignored because the tag is push in queryParam and not in the url (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.19/#get-a-tarball-containing-all-images-in-a-repository).
I made an evolution to patch this problem.
Best regards
Frederic
This change is