Skip to content

Commit

Permalink
trial
Browse files Browse the repository at this point in the history
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
  • Loading branch information
JasonYangShadow committed Apr 18, 2024
1 parent 5dafda0 commit aa17f15
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions e2e/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit aa17f15

Please sign in to comment.