mirror of
https://github.com/containers/podman.git
synced 2025-09-10 06:22:21 +08:00
podman upgrade tests
Initial validation of using podman-in-podman to create an old-podman root, then use new-podman to play with the containers created therein. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
33
.cirrus.yml
33
.cirrus.yml
@ -598,6 +598,38 @@ rootless_system_test_task:
|
||||
main_script: *main
|
||||
always: *logs_artifacts
|
||||
|
||||
# FIXME: we may want to consider running this from nightly cron instead of CI.
|
||||
# The tests are actually pretty quick (less than a minute) but they do rely
|
||||
# on pulling images from quay.io, which means we're subject to network flakes.
|
||||
#
|
||||
# FIXME: how does this env matrix work, anyway? Does it spin up multiple VMs?
|
||||
# We might just want to encode the version matrix in runner.sh instead
|
||||
upgrade_test_task:
|
||||
name: "Upgrade test: from $PODMAN_UPGRADE_FROM"
|
||||
alias: upgrade_test
|
||||
skip: *tags
|
||||
only_if: *not_docs
|
||||
depends_on:
|
||||
- local_system_test
|
||||
matrix:
|
||||
- env:
|
||||
PODMAN_UPGRADE_FROM: v1.9.0
|
||||
- env:
|
||||
PODMAN_UPGRADE_FROM: v2.0.6
|
||||
- env:
|
||||
PODMAN_UPGRADE_FROM: v2.1.1
|
||||
gce_instance: *standardvm
|
||||
env:
|
||||
TEST_FLAVOR: upgrade_test
|
||||
DISTRO_NV: ${FEDORA_NAME}
|
||||
VM_IMAGE_NAME: ${FEDORA_CACHE_IMAGE_NAME}
|
||||
# ID for re-use of build output
|
||||
_BUILD_CACHE_HANDLE: ${FEDORA_NAME}-build-${CIRRUS_BUILD_ID}
|
||||
clone_script: *noop
|
||||
gopath_cache: *ro_gopath_cache
|
||||
setup_script: *setup
|
||||
main_script: *main
|
||||
always: *logs_artifacts
|
||||
|
||||
# This task is critical. It updates the "last-used by" timestamp stored
|
||||
# in metadata for all VM images. This mechanism functions in tandem with
|
||||
@ -654,6 +686,7 @@ success_task:
|
||||
- local_system_test
|
||||
- remote_system_test
|
||||
- rootless_system_test
|
||||
- upgrade_test
|
||||
- meta
|
||||
container: *smallcontainer
|
||||
env:
|
||||
|
Reference in New Issue
Block a user