Commit 84726793 authored by 智勇's avatar 智勇

up

parent fcd605f6
......@@ -117,6 +117,7 @@ else
echo 192.168.4.3 sonar.quantgroups.com >> /etc/hosts
echo 192.168.4.3 git.q-gp.com >> /etc/hosts
echo 192.168.4.117 yapi.quantgroups.com >> /etc/hosts
echo 172.20.3.249 featureapi.quantgroup.cn >> /etc/hosts
echo "sed domain from xyqb.com to liangkebang.com"
sed -i "s#.xyqb.com#-$NAMESPACE.liangkebang.com#g" ${config_path}
......
......@@ -18,7 +18,7 @@ rm -rf ${log_path}/*
# kill -9 $(ps -ef |grep '/home/quant_group/project/app.jar' | grep -v 'grep' | awk '{ print $2 }')
echo 192.168.6.13 eos.quantgroups.com >> /etc/hosts
echo 192.168.4.117 apollo-dev.quantgroups.com >> /etc/hosts
echo 139.198.7.186 apollo-dev.quantgroups.com >> /etc/hosts
echo 172.20.3.11 sentry.quantgroups.com >> /etc/hosts
echo 192.168.4.3 sonar.quantgroups.com >> /etc/hosts
echo 192.168.4.3 git.q-gp.com >> /etc/hosts
......
......@@ -4,11 +4,13 @@ echo "start run ui"
current="/home/quant_group"
echo "current: ${current}"
export NAMESPACE=`cat /var/run/secrets/kubernetes.io/serviceaccount/namespace`
echo "NAMESPACE is $NAMESPACE"
# 运行qa工具
echo "SYSTEM_NAME is $SYSTEM_NAME"
host=`curl -s http://172.30.220.22:3003/proconfig/get_host?system_name=${SYSTEM_NAME}`
host=`curl -s "http://qaapi.liangkebang.com/proconfig/get_info?system_name=${SYSTEM_NAME}&key=host_name"`
echo "host: ${host}"
for entry in ./*tgz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment