mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00
Upgrade tests: reexamine cross-testing matrix
- removed: v1.9.0, v2.0.6 + added: v3.4.0 (Cannot add v4 because there's no such image on quay. As soon as one appears, we should add it.) Add a workaround for a UTS namespace conflict new in v3.4 Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -721,14 +721,12 @@ upgrade_test_task:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- local_system_test
|
- local_system_test
|
||||||
matrix:
|
matrix:
|
||||||
- env:
|
|
||||||
PODMAN_UPGRADE_FROM: v1.9.0
|
|
||||||
- env:
|
|
||||||
PODMAN_UPGRADE_FROM: v2.0.6
|
|
||||||
- env:
|
- env:
|
||||||
PODMAN_UPGRADE_FROM: v2.1.1
|
PODMAN_UPGRADE_FROM: v2.1.1
|
||||||
- env:
|
- env:
|
||||||
PODMAN_UPGRADE_FROM: v3.1.2
|
PODMAN_UPGRADE_FROM: v3.1.2
|
||||||
|
- env:
|
||||||
|
PODMAN_UPGRADE_FROM: v3.4.4
|
||||||
gce_instance: *standardvm
|
gce_instance: *standardvm
|
||||||
env:
|
env:
|
||||||
TEST_FLAVOR: upgrade_test
|
TEST_FLAVOR: upgrade_test
|
||||||
|
@ -75,6 +75,16 @@ setup() {
|
|||||||
cat >| $pmscript <<EOF
|
cat >| $pmscript <<EOF
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# Argh! podman >= 3.4 something something namespace something, fails with
|
||||||
|
# Error: invalid config provided: cannot set hostname when running in the host UTS namespace: invalid configuration
|
||||||
|
#
|
||||||
|
# https://github.com/containers/podman/issues/11969#issuecomment-943386484
|
||||||
|
#
|
||||||
|
if grep -q utsns /etc/containers/containers.conf; then
|
||||||
|
sed -i -e '/^\utsns=/d' /etc/containers/containers.conf
|
||||||
|
fi
|
||||||
|
|
||||||
# events-backend=journald does not work inside a container
|
# events-backend=journald does not work inside a container
|
||||||
opts="--events-backend=file $_PODMAN_TEST_OPTS"
|
opts="--events-backend=file $_PODMAN_TEST_OPTS"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user