Browse Source

docker github action

pull/2/head
xiaochun.liu 4 years ago
parent
commit
8a362b5464
  1. 1
      dockerfile/hooks/check

1
dockerfile/hooks/check

@ -16,6 +16,7 @@
# limitations under the License.
#
echo "------ dolphinscheduler check - server - status -------"
sleep 20
server_num=$(docker top `docker container list | grep startup | awk '{print $1}'`| grep java | grep "dolphinscheduler" | awk -F 'classpath ' '{print $2}' | awk '{print $2}' | sort | uniq -c | wc -l)
if [ $server_num -eq 5 ]
then

Loading…
Cancel
Save