summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-21 13:45:28 +0000
committerGitHub <noreply@github.com>2021-10-21 13:45:28 +0000
commit54f2c9a54034c01a542b2b1c79bbbceb7d12c260 (patch)
tree9fe7bfb41f073b7f5b02fe816a26cf3dbae55f87 /test
parent6338e74cc9cf667ac90242112f1bbae6dc3a555d (diff)
parentf4f96962c0133726b0aac6352720bde411792c47 (diff)
downloadpodman-54f2c9a54034c01a542b2b1c79bbbceb7d12c260.tar.gz
podman-54f2c9a54034c01a542b2b1c79bbbceb7d12c260.tar.bz2
podman-54f2c9a54034c01a542b2b1c79bbbceb7d12c260.zip
Merge pull request #12057 from flouthoc/allow-tagging-manifest-list
tag: Support tagging manifest list instead of resolving to images
Diffstat (limited to 'test')
-rw-r--r--test/e2e/manifest_test.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go
index 27aaaba48..5978214ff 100644
--- a/test/e2e/manifest_test.go
+++ b/test/e2e/manifest_test.go
@@ -93,6 +93,25 @@ var _ = Describe("Podman manifest", func() {
Expect(session.OutputToString()).To(ContainSubstring(imageListARM64InstanceDigest))
})
+ It("podman manifest tag", func() {
+ session := podmanTest.Podman([]string{"manifest", "create", "foobar"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ session = podmanTest.Podman([]string{"manifest", "add", "foobar", "quay.io/libpod/busybox"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ session = podmanTest.Podman([]string{"tag", "foobar", "foobar2"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ session = podmanTest.Podman([]string{"manifest", "inspect", "foobar"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ session2 := podmanTest.Podman([]string{"manifest", "inspect", "foobar2"})
+ session2.WaitWithDefaultTimeout()
+ Expect(session2).Should(Exit(0))
+ Expect(session2.OutputToString()).To(Equal(session.OutputToString()))
+ })
+
It("podman manifest add --all", func() {
session := podmanTest.Podman([]string{"manifest", "create", "foo"})
session.WaitWithDefaultTimeout()