fix: build enhancement
This commit is contained in:
@@ -183,8 +183,9 @@ EOF"
|
||||
while [ $elapsed -lt $timeout ]; do
|
||||
health_status=$(docker inspect --format='{{.State.Health.Status}}' $mysql_container_name)
|
||||
if [ "$health_status" == "healthy" ]; then
|
||||
echo "Upgrade database: "
|
||||
${wfc_work_dir}/bin/wfcupgdb.sh all
|
||||
echo "Container $mysql_container_name is healthy"
|
||||
echo "Executing database upgrade scripts ..."
|
||||
${wfc_work_dir}/bin/wfcupgrade.sh
|
||||
exit 0
|
||||
fi
|
||||
sleep $interval
|
||||
|
||||
Reference in New Issue
Block a user