Skip to content

Commit 7fcc5a0

Browse files
committed
Use docker compose instead of docker-compose.
1 parent 4a2940c commit 7fcc5a0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integrationtest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -eux
33
docker version
4-
docker-compose version
4+
docker compose version
55

66
echo "Downloading test project"
77
mkdir -p downloads

tests/test-generic.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ COMPOSEFILE=$1
66
TIMEOUT=180s
77

88
echo "test.sh [TEST STARTED] starting docker-compose $COMPOSEFILE"
9-
docker-compose -f $COMPOSEFILE up &
9+
docker compose -f $COMPOSEFILE up &
1010

1111
timeout $TIMEOUT bash -c 'until curl -s http://localhost:8080 | grep "<title>Mendix</title>"; do sleep 5; done'
1212

@@ -17,5 +17,5 @@ if [ $RETURN_CODE -eq "0" ]; then
1717
else
1818
echo "test.sh [TEST FAILED] App is not reachable in timeout delay $TIMEOUT for $COMPOSEFILE"
1919
fi
20-
docker-compose -f $COMPOSEFILE kill
20+
docker compose -f $COMPOSEFILE kill
2121
exit $RETURN_CODE

0 commit comments

Comments
 (0)