mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
(Temporary) Emergency CI fix: quay search is broken
Someone please revert this once quay search is fixed. Signed-off-by: Ed Santiago <santiago@redhat.com> <MH: Cherry-pick into v4.2.0-rhel to fix CI> Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
@ -346,7 +346,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).To(BeNil(), "Error in images.Search()")
|
Expect(err).To(BeNil(), "Error in images.Search()")
|
||||||
Expect(len(reports)).To(BeNumerically(">=", 1))
|
Expect(len(reports)).To(BeNumerically(">=", 1))
|
||||||
})
|
})
|
||||||
|
@ -88,16 +88,16 @@ registries = ['{{.Host}}:{{.Port}}']`
|
|||||||
})
|
})
|
||||||
|
|
||||||
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(Exit(0))
|
Expect(search).Should(Exit(0))
|
||||||
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(Exit(0))
|
Expect(search).Should(Exit(0))
|
||||||
output := string(search.Out.Contents())
|
output := string(search.Out.Contents())
|
||||||
|
Reference in New Issue
Block a user