generated from ow2-proactive/yamt
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unified deployment and data persistance (#122)
* unified deployment for linux and windows * persistent volume updates * updating info related to kubernetes deployment
- Loading branch information
1 parent
c3457ce
commit aee32f0
Showing
6 changed files
with
39 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Loop until the MariaDB port is listening | ||
while ! nc -z $DB_HOSTNAME $DB_PORT; do | ||
echo "Port $DB_PORT is not yet listening, waiting..." | ||
echo "Waiting for MariaDB to be ready..." | ||
|
||
until nc -z "$DB_HOSTNAME" "$DB_PORT"; do | ||
echo "MariaDB is not ready yet..." | ||
sleep 5 | ||
done | ||
|
||
echo "Port $DB_PORT is now listening!" | ||
echo "MariaDB is ready!" |