We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db5fff commit 565f69fCopy full SHA for 565f69f
.github/workflows/ci.yml
@@ -15,7 +15,7 @@ jobs:
15
16
- name: Wait for the environment to get up
17
run: |
18
- while ! docker exec codelytv-java_ddd_skeleton-mysql mysqladmin --user=root --password= --host "127.0.0.1" ping --silent &> /dev/null ; do
+ while ! make ping-mysql &>/dev/null; do
19
echo "Waiting for database connection..."
20
sleep 2
21
done
Makefile
@@ -1,4 +1,4 @@
1
-.PONY: all build test
+.PHONY: all build test ping-mysql
2
3
all: build
4
@@ -16,6 +16,9 @@ test:
run:
@./gradlew :run
+
+ping-mysql:
+ @docker exec codelytv-java_ddd_skeleton-mysql mysqladmin --user=root --password= --host "127.0.0.1" ping --silent
22
23
# Start the app
24
start-mooc_backend:
0 commit comments