summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-12-15 14:40:16 -0700
committerEd Santiago <santiago@redhat.com>2021-02-23 06:58:54 -0700
commit79eaadd3fb480255fa0b9fbfc5517425b7c1730b (patch)
treea596b0a5cdc7c3e60aa060e9fceaaee6095ec7d0 /contrib
parenta6e7d19c463a55a7d3bf6e47faec1906f3f32380 (diff)
downloadpodman-79eaadd3fb480255fa0b9fbfc5517425b7c1730b.tar.gz
podman-79eaadd3fb480255fa0b9fbfc5517425b7c1730b.tar.bz2
podman-79eaadd3fb480255fa0b9fbfc5517425b7c1730b.zip
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>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/cirrus/runner.sh4
-rwxr-xr-xcontrib/cirrus/setup_environment.sh1
2 files changed, 5 insertions, 0 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index ccbdb63b6..fca9aff93 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -70,6 +70,10 @@ function _run_sys() {
dotest system
}
+function _run_upgrade_test() {
+ bats test/upgrade |& logformatter
+}
+
function _run_bindings() {
# shellcheck disable=SC2155
export PATH=$PATH:$GOSRC/hack
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index 4c95d0254..64ea3b7b4 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -200,6 +200,7 @@ case "$TEST_FLAVOR" in
compose) ;&
int) ;&
sys) ;&
+ upgrade_test) ;&
bindings) ;&
endpoint)
# Use existing host bits when testing is to happen inside a container