This commit is contained in:
@@ -31,11 +31,12 @@ function wait_for_container {
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "${container_name}: container_state=${container_state}"
|
echo "${container_name}: container_state=${container_state}"
|
||||||
|
health_status="${container_state}"
|
||||||
waiting_done="true"
|
waiting_done="true"
|
||||||
fi
|
fi
|
||||||
sleep 1;
|
sleep 1;
|
||||||
done;
|
done;
|
||||||
[ "${health_status}" == "healthy" ] || die "Container ${container_name} is not healthy"
|
[ "${health_status}" == "healthy" ] || die "Container ${container_name} is not healthy: ${health_status}"
|
||||||
}
|
}
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user