Commit 071bafef authored by 黎博's avatar 黎博

test for saas

parent 9b18cf18
...@@ -28,6 +28,13 @@ if [[ ${#dubboPort} == 5 ]];then ...@@ -28,6 +28,13 @@ if [[ ${#dubboPort} == 5 ]];then
echo "export DUBBO_PORT_TO_REGISTRY=$dubboPort" >> ~/.bashrc echo "export DUBBO_PORT_TO_REGISTRY=$dubboPort" >> ~/.bashrc
fi fi
# 给saas测试
if [[ $SYSTEM_NAME == 'nebula-goods' ]];then
lanIp=`curl -s "http://holmes-fe.liangkebang.net/k8s/podIp?namespace=$NAMESPACE&serviceType=java&serviceName=${SYSTEM_NAME}"`
export DUBBO_IP_TO_REGISTRY=$lanIp
fi
#OLD_IFS="$IFS" #OLD_IFS="$IFS"
#IFS="&" #IFS="&"
#array=($HOSTS) #array=($HOSTS)
......
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