Skip to content

Commit

Permalink
Merge pull request #20673 from edsantiago/emergency_ci_fix
Browse files Browse the repository at this point in the history
(Temporary) Emergency CI fix: quay search is broken
  • Loading branch information
openshift-merge-bot[bot] authored Nov 13, 2023
2 parents b7cfcea + 047da19 commit a9a74da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/bindings/test/images_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ var _ = Describe("Podman images", func() {
}

// Search with a fqdn
reports, err = images.Search(bt.conn, "quay.io/libpod/alpine_nginx", nil)
reports, err = images.Search(bt.conn, "quay.io/podman/stable", nil)
Expect(err).ToNot(HaveOccurred(), "Error in images.Search()")
Expect(reports).ToNot(BeEmpty())
})
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ registries = []`
})

It("podman search image with description", func() {
search := podmanTest.Podman([]string{"search", "quay.io/libpod/whalesay"})
search := podmanTest.Podman([]string{"search", "quay.io/podman/stable"})
search.WaitWithDefaultTimeout()
Expect(search).Should(ExitCleanly())
output := string(search.Out.Contents())
Expect(output).To(MatchRegexp(`(?m)NAME\s+DESCRIPTION$`))
Expect(output).To(MatchRegexp(`(?m)quay.io/libpod/whalesay\s+Static image used for automated testing.+$`))
Expect(output).To(MatchRegexp(`(?m)quay.io/podman/stable\s+.*PODMAN logo`))
})

It("podman search image with --compatible", func() {
search := podmanTest.Podman([]string{"search", "--compatible", "quay.io/libpod/whalesay"})
search := podmanTest.Podman([]string{"search", "--compatible", "quay.io/podman/stable"})
search.WaitWithDefaultTimeout()
Expect(search).Should(ExitCleanly())
output := string(search.Out.Contents())
Expand Down

0 comments on commit a9a74da

Please sign in to comment.