Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Metz
oceanbase
提交
9ec1f3f9
O
oceanbase
项目概览
Metz
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9ec1f3f9
编写于
8月 18, 2022
作者:
O
obdev
提交者:
wangzelin.wzl
8月 18, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[obd] alter for sync obd.sh
上级
e322ab10
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
22 addition
and
5 deletion
+22
-5
deps/3rd/oceanbase.el7.x86_64.deps
deps/3rd/oceanbase.el7.x86_64.deps
+1
-0
tools/deploy/obd.sh
tools/deploy/obd.sh
+21
-5
未找到文件。
deps/3rd/oceanbase.el7.x86_64.deps
浏览文件 @
9ec1f3f9
...
...
@@ -31,4 +31,5 @@ obdevtools-llvm-11.0.1-40.el7.x86_64.rpm
devdeps-rocksdb-6.22.1-26.el7.x86_64.rpm
[test-utils]
ob-deploy-1.5.0-12.el7.x86_64.rpm target=community
tools/deploy/obd.sh
浏览文件 @
9ec1f3f9
...
...
@@ -249,7 +249,6 @@ function get_obproxy {
get_version_and_release
get_baseurl
obd mirror disable remote
if
[[
"
$baseurl
"
!=
""
&&
"
$version
"
!=
""
&&
"
$release
"
!=
""
]]
then
pkg_name
=
"obproxy-
$version
-
$release
.x86_64.rpm"
...
...
@@ -548,9 +547,27 @@ function main() {
case
"
$1
"
in
-v
)
VERBOSE_FLAG
=
'-v'
;
set
-x
;
shift
;;
--with-local-obproxy
)
WITH_LOCAL_PROXY
=
"1"
;
SKIP_COPY
=
"1"
;
shift
;;
-c
|
--config
)
YAML_CONF
=
"
$2
"
;
shift
2
;;
-c
|
--config
)
if
[[
"
$commond
"
==
"deploy"
||
"
$commond
"
==
"redeploy"
||
"
$commond
"
==
"mysqltest"
]]
then
YAML_CONF
=
"
$2
"
shift
2
else
extra_args
=
"
$extra_args
$1
"
shift
fi
;;
-n
|
--deploy-name
)
DEPLOY_NAME
=
"
$2
"
;
shift
2
;;
-p
|
--data-path
)
DATA_PATH
=
"
$2
"
;
shift
2
;;
-p
|
--data-path
)
if
[[
"
$commond
"
==
"prepare"
]]
then
DATA_PATH
=
"
$2
"
;
shift
2
else
extra_args
=
"
$extra_args
$1
"
shift
fi
;;
-N
)
NO_CONFIRM
=
"1"
;
shift
;;
--ip
)
IPADDRESS
=
"
$2
"
;
shift
2
;;
# --disable-reboot ) DISABLE_REBOOT="1"; extra_args="$extra_args $1"; shift ;;
...
...
@@ -565,7 +582,6 @@ function main() {
if
[[
!
-f
$DEPLOY_PATH
/.obd/.obd_environ
||
"
$(
grep
'"OBD_DEV_MODE": "1"'
$DEPLOY_PATH
/.obd/.obd_environ
)
"
==
""
]]
then
obd devmode
enable
||
(
echo
"Exec obd cmd failed. If your branch is based on 3.1_opensource_release, please go to the deps/3rd directory and execute 'bash dep_create.sh all' to install obd."
&&
exit
1
)
obd mirror disable remote
fi
if
[[
"
$(
grep
'"OBD_DEPLOY_BASE_DIR":'
$DEPLOY_PATH
/.obd/.obd_environ
)
"
==
""
]]
then
...
...
@@ -583,7 +599,7 @@ function main() {
deploy
;;
redeploy
)
deploy
_cluster
deploy
;;
start
)
start_cluster
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录