Skip to content

Commit

Permalink
Fix tests as the base images have Compose V2 installed
Browse files Browse the repository at this point in the history
  • Loading branch information
drautureau-sonarsource committed Sep 27, 2023
1 parent ecc9777 commit 60d00be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ sanity_check_image() {
cd $test_compose_path
export PORT=$port
export IMAGE=$1
docker-compose up -d sonarqube
docker compose up -d sonarqube
if wait_for_sonarqube_dce "$image"; then
info "$image-app: OK !"
result=ok
Expand All @@ -126,7 +126,7 @@ sanity_check_image() {
fi

info "$image-app: stopping container stack"
docker-compose stop
docker compose stop

[[ $result == ok ]]
fi
Expand Down

0 comments on commit 60d00be

Please sign in to comment.