Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
install
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
LaunchDeploy
install
Commits
559ed8c7
提交
559ed8c7
authored
11月 05, 2025
作者:
Andy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
345
上级
d329087f
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
23 行增加
和
15 行删除
+23
-15
1031_Game_JinSha.sh
1031_Game_JinSha.sh
+23
-15
没有找到文件。
1031_Game_JinSha.sh
浏览文件 @
559ed8c7
#!/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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论