diff options
author | Naoto Kobayashi <naoto.kobayashi4c@gmail.com> | 2022-08-11 20:35:13 +0900 |
---|---|---|
committer | Naoto Kobayashi <naoto.kobayashi4c@gmail.com> | 2022-08-11 20:35:13 +0900 |
commit | a4efd401cd87d98dced4f4eda41a8a1b86e72379 (patch) | |
tree | 3300101275e016f34ec2bbf889041e46a8593d8f /test/e2e | |
parent | 59ab5cce7d20be703f5528a12a971b2ef1e2a784 (diff) | |
download | podman-a4efd401cd87d98dced4f4eda41a8a1b86e72379.tar.gz podman-a4efd401cd87d98dced4f4eda41a8a1b86e72379.tar.bz2 podman-a4efd401cd87d98dced4f4eda41a8a1b86e72379.zip |
remote manifest push: show copy progress
`podman-remote manifest push` has shown absolutely no progress at all.
Fix that by doing the same as the remote-push code does.
Like remote-push, `quiet` parameter is true by default for backwards
compatibility.
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/manifest_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go index e80772aed..ee954a1a4 100644 --- a/test/e2e/manifest_test.go +++ b/test/e2e/manifest_test.go @@ -379,6 +379,11 @@ var _ = Describe("Podman manifest", func() { push = podmanTest.Podman([]string{"manifest", "push", "--tls-verify=false", "--creds=" + registry.User + ":" + registry.Password, "foo", "localhost:" + registry.Port + "/credstest"}) push.WaitWithDefaultTimeout() Expect(push).Should(Exit(0)) + output := push.ErrorToString() + Expect(output).To(ContainSubstring("Copying blob ")) + Expect(output).To(ContainSubstring("Copying config ")) + Expect(output).To(ContainSubstring("Writing manifest to image destination")) + Expect(output).To(ContainSubstring("Storing signatures")) push = podmanTest.Podman([]string{"manifest", "push", "--tls-verify=false", "--creds=podmantest:wrongpasswd", "foo", "localhost:" + registry.Port + "/credstest"}) push.WaitWithDefaultTimeout() |