File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
130122sub 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
139127sub post_run_hook {
You can’t perform that action at this time.
0 commit comments