From 818e726154e9715405639553d58e1c70c1b7f699 Mon Sep 17 00:00:00 2001 From: jason yang Date: Wed, 10 Apr 2024 17:37:34 +0900 Subject: [PATCH] trial Signed-off-by: jason yang --- e2e/registry/registry.go | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/e2e/registry/registry.go b/e2e/registry/registry.go index b0632a7661..79315b50da 100644 --- a/e2e/registry/registry.go +++ b/e2e/registry/registry.go @@ -324,7 +324,6 @@ func (c ctx) registryAuthTester(t *testing.T, withCustomAuthFile bool) { }) orasCustomPushTarget := fmt.Sprintf("oras://%s/authfile-pushtest-oras-alpine:latest", c.env.TestRegistryPrivPath) - dockerCustomPushTarget := fmt.Sprintf("docker://%s/authfile-pushtest-ocisif-alpine:latest", c.env.TestRegistryPrivPath) tests := []struct { name string @@ -354,13 +353,6 @@ func (c ctx) registryAuthTester(t *testing.T, withCustomAuthFile bool) { whileLoggedIn: false, expectExit: 255, }, - { - name: "docker pull ocisif", - cmd: "pull", - args: []string{"-F", "--oci", "--disable-cache", "--no-https", c.env.TestRegistryPrivImage}, - whileLoggedIn: true, - expectExit: 0, - }, { name: "noauth oras push", cmd: "push", @@ -375,20 +367,6 @@ func (c ctx) registryAuthTester(t *testing.T, withCustomAuthFile bool) { whileLoggedIn: true, expectExit: 0, }, - { - name: "noauth docker push", - cmd: "push", - args: []string{"my-alpine_latest.oci.sif", dockerCustomPushTarget}, - whileLoggedIn: false, - expectExit: 255, - }, - { - name: "docker push", - cmd: "push", - args: []string{"my-alpine_latest.oci.sif", dockerCustomPushTarget}, - whileLoggedIn: true, - expectExit: 0, - }, { name: "noauth oras pull", cmd: "pull",