summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-26 13:19:25 +0100
committerGitHub <noreply@github.com>2021-02-26 13:19:25 +0100
commit397aae32b9ae219eda190cde65b18e4361427932 (patch)
treec2a488d448e0c2fd3e52cda6325dfde8796c55f9 /.cirrus.yml
parent05410e81efec2ef2398f740b81610fbad73b7bf2 (diff)
parent79eaadd3fb480255fa0b9fbfc5517425b7c1730b (diff)
downloadpodman-397aae32b9ae219eda190cde65b18e4361427932.tar.gz
podman-397aae32b9ae219eda190cde65b18e4361427932.tar.bz2
podman-397aae32b9ae219eda190cde65b18e4361427932.zip
Merge pull request #8749 from edsantiago/upgrade_test
podman upgrade tests
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index db2e86d83..4e7893e3b 100644
--- a/.cirrus.yml
+++ b/.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: