Skip to content

Commit

Permalink
ci: Upgrade to compose v2
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Aug 4, 2024
1 parent 6472571 commit 44a3f05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions tests/scripts/docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

if [[ "$1" == "up" ]]; then
docker-compose -f $DIR/../docker-compose.yml up --build "${@:2}"
docker compose -f $DIR/../compose.yml up --build "${@:2}"
elif [[ "$1" == "pull" ]]; then
docker-compose -f $DIR/../docker-compose.yml pull
docker compose -f $DIR/../compose.yml pull
elif [[ "$1" == "down" ]]; then
docker-compose -f $DIR/../docker-compose.yml down
docker compose -f $DIR/../compose.yml down
elif [[ "$1" == "shutdown" ]]; then
docker-compose -f $DIR/../docker-compose.yml down -v --remove-orphans
docker compose -f $DIR/../compose.yml down -v --remove-orphans
fi
2 changes: 1 addition & 1 deletion tests/scripts/docker-utils/exec-selenium.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e

docker exec -t tests_selenium-tests_1 \
docker exec -t tests-selenium-tests-1 \
python "/app/tests/$@"

0 comments on commit 44a3f05

Please sign in to comment.