mirror of
https://github.com/containers/podman.git
synced 2025-06-22 09:58:10 +08:00
Merge pull request #20673 from edsantiago/emergency_ci_fix
(Temporary) Emergency CI fix: quay search is broken
This commit is contained in:
@ -350,7 +350,7 @@ var _ = Describe("Podman images", func() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Search with a fqdn
|
// 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(err).ToNot(HaveOccurred(), "Error in images.Search()")
|
||||||
Expect(reports).ToNot(BeEmpty())
|
Expect(reports).ToNot(BeEmpty())
|
||||||
})
|
})
|
||||||
|
@ -58,16 +58,16 @@ registries = []`
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("podman search image with description", func() {
|
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()
|
search.WaitWithDefaultTimeout()
|
||||||
Expect(search).Should(ExitCleanly())
|
Expect(search).Should(ExitCleanly())
|
||||||
output := string(search.Out.Contents())
|
output := string(search.Out.Contents())
|
||||||
Expect(output).To(MatchRegexp(`(?m)NAME\s+DESCRIPTION$`))
|
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() {
|
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()
|
search.WaitWithDefaultTimeout()
|
||||||
Expect(search).Should(ExitCleanly())
|
Expect(search).Should(ExitCleanly())
|
||||||
output := string(search.Out.Contents())
|
output := string(search.Out.Contents())
|
||||||
|
Reference in New Issue
Block a user