summaryrefslogtreecommitdiff
path: root/contrib/cirrus/setup_environment.sh
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2022-03-17 14:15:32 -0400
committerMatthew Heon <mheon@redhat.com>2022-03-17 14:29:48 -0400
commitbde3ca8c363bfbd0f50fe9c787960836212e0167 (patch)
treef772f8120f469b849d521ca5f67e8f6408dcd587 /contrib/cirrus/setup_environment.sh
parent0793a58343a49b2ed30d3da2d10dd5f14cc13f1a (diff)
downloadpodman-bde3ca8c363bfbd0f50fe9c787960836212e0167.tar.gz
podman-bde3ca8c363bfbd0f50fe9c787960836212e0167.tar.bz2
podman-bde3ca8c363bfbd0f50fe9c787960836212e0167.zip
Add tests with Docker Compose v2
Add a pair of new Cirrus test suites using Compose v2 instead of Compose v1 (as is currently packaged in Fedora). They work identically, and run the same tests, as the Compose v1 tests, but with the new v2 binary instead. [NO NEW TESTS NEEDED] This adds an entire Cirrus suite... Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'contrib/cirrus/setup_environment.sh')
-rwxr-xr-xcontrib/cirrus/setup_environment.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index 696560166..864c78484 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -272,6 +272,11 @@ case "$TEST_FLAVOR" in
;;
build) make clean ;;
unit) ;;
+ compose_v2)
+ dnf -y remove docker-compose
+ curl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
+ chmod +x /usr/local/bin/docker-compose
+ ;& # Continue with next item
apiv2)
msg "Installing previously downloaded/cached packages"
dnf install -y $PACKAGE_DOWNLOAD_DIR/python3*.rpm