mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix Docker compose commands in UI tests
This commit is contained in:
parent
5be457d6a9
commit
ea0db859cb
1 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ if [ "$integration" == "docker" ] ; then
|
|||
i=$((i+1))
|
||||
done
|
||||
if [ $i -ge 120 ] ; then
|
||||
docker-compose logs
|
||||
docker compose logs
|
||||
echo "❌ Docker stack is not healthy"
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -142,14 +142,14 @@ fi
|
|||
# Start tests
|
||||
if [ "$integration" == "docker" ] ; then
|
||||
echo "TEST_FILE=$test" > .env
|
||||
docker-compose -f docker-compose.test.yml build
|
||||
docker compose -f docker-compose.test.yml build
|
||||
# shellcheck disable=SC2181
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "❌ Build failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker-compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from ui-tests
|
||||
docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from ui-tests
|
||||
else
|
||||
python3 "$test"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue