2
0

fix: build enhancement

This commit is contained in:
zhangsz
2025-02-24 14:05:48 +08:00
parent 9ba56e815f
commit 69d4a61177
5 changed files with 11 additions and 11 deletions

View File

@@ -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