mirror of
https://github.com/containers/skopeo.git
synced 2025-08-13 12:16:16 +00:00
systemtest: copy: docker->storage->oci-archive
Add a systemtest copying an image from docker to storage and then to an oci-archive. There are other ways to trigger the same code paths, but this one has caught a regression in c/image in libpod's. Fixes: #734 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
fa6e58074d
commit
51b54191a8
@ -76,6 +76,15 @@ function setup() {
|
|||||||
grep '"org.opencontainers.image.ref.name":"withtag"' $dir2/index.json
|
grep '"org.opencontainers.image.ref.name":"withtag"' $dir2/index.json
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Registry -> storage -> oci-archive
|
||||||
|
@test "copy: registry -> storage -> oci-archive" {
|
||||||
|
local alpine=docker.io/library/alpine:latest
|
||||||
|
local tmp=$TESTDIR/oci
|
||||||
|
|
||||||
|
run_skopeo copy docker://$alpine containers-storage:$alpine
|
||||||
|
run_skopeo copy containers-storage:$alpine oci-archive:$tmp
|
||||||
|
}
|
||||||
|
|
||||||
# This one seems unlikely to get fixed
|
# This one seems unlikely to get fixed
|
||||||
@test "copy: bug 651" {
|
@test "copy: bug 651" {
|
||||||
skip "Enable this once skopeo issue #651 has been fixed"
|
skip "Enable this once skopeo issue #651 has been fixed"
|
||||||
|
Loading…
Reference in New Issue
Block a user