Skip to content

Commit 7a4a044

Browse files
Merge pull request #25206 from ricardobranco777/fix_skopeo
skopeo: Drop stuff unrelated to skopeo testing
2 parents c934b5c + df4a97c commit 7a4a044

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

tests/containers/skopeo.pm

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,6 @@ sub run {
9191
record_info('Compare images', 'Both extracted copies must be identical.');
9292
assert_script_run("diff -urN $dir1 $dir2", fail_message => 'Copied images are not identical.');
9393

94-
######### Spin-up an instance of the latest Registry
95-
my $registry_image = is_opensuse ? "registry.opensuse.org/opensuse/registry:latest" : "registry.suse.com/suse/registry:latest";
96-
assert_script_run("podman run --rm -d -p 5050:5000 --name skopeo-registry $registry_image",
97-
fail_message => "Failed to start local registry container");
98-
99-
######### Wait until the registry is up
100-
script_retry("curl http://localhost:5050/v2", delay => 2, fail_message => "Local registry not reachable");
101-
10294
######### Pull the image into a our local repository
10395
# skipping tls verification as by default most local registries don't have certificates
10496
record_info('Copy Image', 'Copy image from remote repository into the local repository.');
@@ -130,10 +122,6 @@ sub run {
130122
sub cleanup {
131123
record_info('Cleanup', 'Delete copied image directories');
132124
script_run "rm -rf $workdir";
133-
134-
record_info('Cleanup Registry', 'Remove local image Registry');
135-
script_run "podman stop skopeo-registry";
136-
script_run "podman rm -vf skopeo-registry";
137125
}
138126

139127
sub post_run_hook {

0 commit comments

Comments
 (0)