提交 559ed8c7 authored 作者: Andy's avatar Andy

345

上级 d329087f
#!/bin/bash
###################################################
# 安装路径
Install_Dir="/home/deploy/wkgameplat"
# 平台名
GamePlatName=1031_Game_JinSha
# 分支
PlatSvr_Ranch=1031_Game_JinSha
PlatWeb_Ranch=1031_Game_JinSha
GameSvr_Ranch=1031_Game_JinSha
GameWeb_Ranch=1031_Game_JinSha
PlatSvr_Repo_Url="git@git.wkwork.xyz:LaunchDeploy/wk_gameplat_svr.git"
# git 路径
Git_Path=git@git.wkwork.xyz:LaunchDeploy
###################################################
# 脚本地址前缀
Fun_Script_Url_Path=http://oauth2:QFF_7BNyjHsq_Zvfsfut@$Git_Path/install/raw/master
PlatSvr_Repo_Url="$Git_Path/wk_gameplat_svr.git"
PlatSvr_Base_Dir="./platsvr"
PlatSvr_Branches=(
$PlatSvr_Ranch
)
PlatWeb_Repo_Url="git@git.wkwork.xyz:LaunchDeploy/wk_gameplat_web.git"
PlatWeb_Repo_Url="$Git_Path/wk_gameplat_web.git"
PlatWeb_Base_Dir="./platweb"
PlatWeb_Branches=(
$PlatWeb_Ranch
)
GameSvr_Repo_Url="git@git.wkwork.xyz:LaunchDeploy/wk_bdgame_svr.git"
GameSvr_Repo_Url="$Git_Path/wk_bdgame_svr.git"
GameSvr_Base_Dir="./bdgamesvr"
GameSvr_Branches=(
$GameSvr_Ranch
)
GameWeb_Repo_Url="git@git.wkwork.xyz:LaunchDeploy/wk_bdgame_web.git"
GameWeb_Repo_Url="$Git_Path/wk_bdgame_web.git"
GameWeb_Base_Dir="./bdgameweb"
GameWeb_Branches=(
$GameWeb_Ranch
......@@ -57,35 +68,32 @@ echo_content() {
esac
}
Fun_Script_Url=http://oauth2:QFF_7BNyjHsq_Zvfsfut@git.wkwork.xyz/LaunchDeploy/install/raw/master
check_install_deps() {
bash <(curl -sSL $Fun_Script_Url/fun_deps.sh) check_install_deps
bash <(curl -sSL $Fun_Script_Url_Path/fun_deps.sh) check_install_deps
}
check_gitaccount() {
bash <(curl -sSL $Fun_Script_Url/fun_git.sh) check_gitaccount
bash <(curl -sSL $Fun_Script_Url_Path/fun_git.sh) check_gitaccount
}
fetch_git_platsvr() {
bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git $PlatSvr_Repo_Url $PlatSvr_Base_Dir $PlatSvr_Branches
bash <(curl -sSL $Fun_Script_Url_Path/fun_git.sh) fetch_git $PlatSvr_Repo_Url $PlatSvr_Base_Dir $PlatSvr_Branches
}
fetch_git_platweb() {
bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git $PlatWeb_Repo_Url $PlatWeb_Base_Dir $PlatWeb_Branches
bash <(curl -sSL $Fun_Script_Url_Path/fun_git.sh) fetch_git $PlatWeb_Repo_Url $PlatWeb_Base_Dir $PlatWeb_Branches
}
fetch_git_gamesvr() {
# echo "bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git $GameSvr_Repo_Url $GameSvr_Base_Dir $GameSvr_Branches"
bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git $GameSvr_Repo_Url $GameSvr_Base_Dir $GameSvr_Branches
bash <(curl -sSL $Fun_Script_Url_Path/fun_git.sh) fetch_git $GameSvr_Repo_Url $GameSvr_Base_Dir $GameSvr_Branches
}
fetch_git_gameweb() {
bash <(curl -sSL $Fun_Script_Url/fun_git.sh) fetch_git $GameWeb_Repo_Url $GameWeb_Base_Dir $GameWeb_Branches
bash <(curl -sSL $Fun_Script_Url_Path/fun_git.sh) fetch_git $GameWeb_Repo_Url $GameWeb_Base_Dir $GameWeb_Branches
}
linux_docker() {
bash <(curl -sSL $Fun_Script_Url/fun_docker.sh) linux_docker
bash <(curl -sSL $Fun_Script_Url_Path/fun_docker.sh) linux_docker
}
run_platsvr_docker() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论