mirror of https://github.com/containers/podman.git
test/e2e: work around new push warning
c/image now throws a warning when using encryption and zstd:chunked as they do not work together[1]. As CI uses default configs from fedora it means rawhide now defaults to zstd:chunked which trigger the warning there. To work around that force zstd compression. [1] https://github.com/containers/image/issues/2485 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
be41ee4131
commit
20a32d33cd
|
@ -609,7 +609,8 @@ var _ = Describe("Podman pull", func() {
|
|||
_, wrongPrivateKeyFileName, err := WriteRSAKeyPair(wrongKeyFileName, bitSize)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
session := podmanTest.Podman([]string{"push", "-q", "--encryption-key", "jwe:" + publicKeyFileName, "--tls-verify=false", "--remove-signatures", ALPINE, imgPath})
|
||||
// Force zstd here because zstd:chunked throws a warning, https://github.com/containers/image/issues/2485.
|
||||
session := podmanTest.Podman([]string{"push", "-q", "--compression-format=zstd", "--encryption-key", "jwe:" + publicKeyFileName, "--tls-verify=false", "--remove-signatures", ALPINE, imgPath})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(ExitCleanly())
|
||||
|
||||
|
|
Loading…
Reference in New Issue