Skip to content

Commit

Permalink
rename to compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YC committed Dec 29, 2023
1 parent 856ee27 commit 9787a5e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ config*.yml
*.exe
wakapi
Dockerfile
docker-compose.yml
compose.yml
.dockerignore
.git*
node_modules/
testing/*.zip
testing/wakapi
testing/
coverage/
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions testing/run_api_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ cleanup() {
kill -TERM "$pid"
fi
if [ "${docker_down-0}" -eq 1 ]; then
docker compose -f "$script_dir/docker-compose.yml" down
docker compose -f "$script_dir/compose.yml" down
fi
}
trap cleanup EXIT

# Initialise test data
case $DB_TYPE in
postgres|mysql|mariadb|cockroach)
docker compose -f "$script_dir/docker-compose.yml" down
docker compose -f "$script_dir/compose.yml" down

docker_down=1
docker compose -f "$script_dir/docker-compose.yml" up --wait --detach "$DB_TYPE"
docker compose -f "$script_dir/compose.yml" up --wait --detach "$DB_TYPE"

config="config.$DB_TYPE.yml"
if [ "$DB_TYPE" == "mariadb" ]; then
Expand Down

0 comments on commit 9787a5e

Please sign in to comment.