summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-05-05 10:04:52 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-05-05 11:03:14 +0200
commit6eaa9ca2645b00672bea966175c29ca4c2ee5a02 (patch)
tree845119c6ab69c132bc9ef932787daf6ce07418ee
parent22c51da0ccd5accbf50161dc8762f6adce4dc3f6 (diff)
downloadpodman-6eaa9ca2645b00672bea966175c29ca4c2ee5a02.tar.gz
podman-6eaa9ca2645b00672bea966175c29ca4c2ee5a02.tar.bz2
podman-6eaa9ca2645b00672bea966175c29ca4c2ee5a02.zip
e2e: manifest_test: use cached registry
Used the cached registry archive instead of pulling down the image from Quay. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
-rw-r--r--test/e2e/manifest_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go
index 92b8bc2e1..88ccdc87d 100644
--- a/test/e2e/manifest_test.go
+++ b/test/e2e/manifest_test.go
@@ -273,7 +273,10 @@ var _ = Describe("Podman manifest", func() {
})
It("authenticated push", func() {
- registry, err := podmanRegistry.Start()
+ registryOptions := &podmanRegistry.Options{
+ Image: "docker-archive:" + imageTarPath(registry),
+ }
+ registry, err := podmanRegistry.StartWithOptions(registryOptions)
Expect(err).To(BeNil())
session := podmanTest.Podman([]string{"manifest", "create", "foo"})