mirror of
https://github.com/containers/podman.git
synced 2025-10-20 20:54:45 +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>
This commit is contained in:

committed by
Miloslav Trmač

parent
f426f5fba7
commit
a9d8205b33
@ -337,7 +337,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(len(reports)).To(BeNumerically(">=", 1))
|
Expect(len(reports)).To(BeNumerically(">=", 1))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -100,11 +100,11 @@ 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.ExitCode()).To(Equal(0))
|
Expect(search.ExitCode()).To(Equal(0))
|
||||||
output := string(search.Out.Contents())
|
output := string(search.Out.Contents())
|
||||||
match, _ := regexp.MatchString(`(?m)^quay.io\s+quay.io/libpod/whalesay\s+Static image used for automated testing.+$`, output)
|
match, _ := regexp.MatchString(`(?m)quay.io/podman/stable\s+.*PODMAN logo`, output)
|
||||||
Expect(match).To(BeTrue())
|
Expect(match).To(BeTrue())
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user