Skip to content

Commit

Permalink
Remove ""
Browse files Browse the repository at this point in the history
  • Loading branch information
juuso-j committed Oct 7, 2024
1 parent 3182492 commit 96fa50e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run-pytest
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ misc_opts=(
# docker compose down
docker_compose_exec=("docker compose" "exec")

# if ! tty -s; then
# docker_compose_exec+=("-T") # If there is no TTY available, pass -T
# fi
if ! tty -s; then
docker_compose_exec+=("-T") # If there is no TTY available, pass -T
fi
echo "-------------------------!!!!!!!!!!!!!11--------------"
echo "docker_compose_exec: ${docker_compose_exec[@]}"
echo "-------------------------!!!!!!!!!!!!!11--------------"

# Wait until the database is ready
"${docker_compose_exec[@]}" -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true
${docker_compose_exec[@]} -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true
#docker compose exec -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true

set +e
Expand Down

0 comments on commit 96fa50e

Please sign in to comment.