Skip to content

Commit

Permalink
run exec without pseudo TTY in make up
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Mar 26, 2024
1 parent 0b063fd commit 246087a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ setup: ##@docker prepare test-application stack

up: ##@docker start test-application stack
$(DOCKER_COMPOSE) up -d
$(DOCKER_COMPOSE) exec mariadb /init-example-databases.sh
$(DOCKER_COMPOSE) exec -T mariadb /init-example-databases.sh

test: ##@docker run tests
$(DOCKER_COMPOSE) run $(PHP) bash -c "while ! curl mariadb:3306; do ((c++)) && ((c==30)) && break; sleep 2; done"
Expand Down Expand Up @@ -80,4 +80,4 @@ help: ##@base Show this help
#
# General targets
#
@perl -e '$(HELP_FUN)' $(MAKEFILE_LIST)
@perl -e '$(HELP_FUN)' $(MAKEFILE_LIST)

0 comments on commit 246087a

Please sign in to comment.