Skip to content

Commit

Permalink
(Temporary) Emergency CI fix: quay search is broken
Browse files Browse the repository at this point in the history
Someone please revert this once quay search is fixed.

Signed-off-by: Ed Santiago <[email protected]>
(cherry picked from commit 047da19)
Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
edsantiago authored and lsm5 committed Jan 4, 2024
1 parent 1aaff8d commit 2fe6265
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 @@ -349,7 +349,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 @@ -87,16 +87,16 @@ registries = ['{{.Host}}:{{.Port}}']`
})

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(Exit(0))
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(Exit(0))
output := string(search.Out.Contents())
Expand Down

0 comments on commit 2fe6265

Please sign in to comment.