feat(config): 添加公测自营大区配置

This commit is contained in:
liangtongchuan
2023-04-08 21:16:19 +08:00
parent 94614cc96a
commit cbf2bd28f8
10 changed files with 581 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ if [ $# != 1 ] ; then
echo "monitor: 同步代码到 monitor 服务器上,用做监控和压力测试"
echo "distribute: 同步代码到 distribute 服务器上,用做监控和压力测试"
echo "sq1: 同步代码到 sq1 服务器上,用做 37 功能测试服 game-server 部署"
echo "zyx: 同步代码到 zyx 服务器上,用做公测自营大区 game-server 部署"
exit 1;
fi
@@ -68,6 +69,26 @@ elif [ ${1} == 'sq10' ] ; then
destUrl="root@sq10:/root/zyz/"
port=22
env='sq9'
elif [ ${1} == 'zy1' ] ; then
destUrl="root@yjz-zy-game1:/root/zyz/"
port=22
env='zy1'
elif [ ${1} == 'zy2' ] ; then
destUrl="root@yjz-zy-game2:/root/zyz/"
port=22
env='zy1'
elif [ ${1} == 'zy3' ] ; then
destUrl="root@yjz-zy-game3:/root/zyz/"
port=22
env='zy1'
elif [ ${1} == 'zy4' ] ; then
destUrl="root@yjz-zy-game4:/root/zyz/"
port=22
env='zy1'
elif [ ${1} == 'zy5' ] ; then
destUrl="root@yjz-zy-game5:/root/zyz/"
port=22
env='zy1'
else
echo "需要一个参数指明服务器"
exit 1;