Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
野花太放肆
oceanbase
提交
a6956003
O
oceanbase
项目概览
野花太放肆
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
1
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,发现更多精彩内容 >>
提交
a6956003
编写于
2月 24, 2023
作者:
O
obdev
提交者:
ob-robot
2月 24, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加对切换ob do中obd 关于activate-obd.sh obd.sh的修改 更新obd版本支持mysqltest测试描述
上级
198dac00
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
5 deletion
+7
-5
tools/deploy/activate_obd.sh
tools/deploy/activate_obd.sh
+6
-2
tools/deploy/obd.sh
tools/deploy/obd.sh
+1
-3
未找到文件。
tools/deploy/activate_obd.sh
浏览文件 @
a6956003
...
...
@@ -4,8 +4,12 @@ export DEPLOY_PATH=$DIR/tools/deploy
DEP_PATH
=
$DIR
/deps/3rd
export
OBD_BIN
=
${
_OBD_BIN
:-
$DEP_PATH
/usr/bin/obd
}
alias
obd
=
"
${
OBD_BIN
}
"
export
OBD_HOME
=
$DIR
/tools/deploy
export
OBD_INSTALL_PRE
=
$DEP_PATH
export
OBD_HOME
=
${
_OBD_HOME
:-
$DIR
/tools/deploy
}
export
OBD_INSTALL_PRE
=
${
_OBD_INSTALL_PRE
:-
$DEP_PATH
}
if
[
${
_OBD_PROFILE
}
]
;
then
source
${
_OBD_PROFILE
}
fi
if
[
-f
$OBD_INSTALL_PRE
/etc/profile.d/obd.sh
]
then
...
...
tools/deploy/obd.sh
浏览文件 @
a6956003
...
...
@@ -32,8 +32,6 @@ function variables_parpare {
OBCLIENT_BIN
=
$DEP_PATH
/u01/obclient/bin/obclient
MYSQLTEST_BIN
=
$DEP_PATH
/u01/obclient/bin/mysqltest
export
OBD_HOME
=
$DEPLOY_PATH
export
OBD_INSTALL_PRE
=
$DEP_PATH
DEFAULT_DEPLOY_NAME_FILE
=
$OBD_HOME
/.obd/.default_deploy
}
...
...
@@ -545,7 +543,7 @@ function main() {
*
)
extra_args
=
"
$extra_args
$1
"
;
[[
"
$1
"
==
"--help"
||
"
$1
"
==
"-h"
]]
&&
HELP
=
"1"
;
shift
;;
esac
done
if
[[
!
-f
$
DEPLOY_PATH
/.obd/.obd_environ
||
"
$(
grep
'"OBD_DEV_MODE": "1"'
$DEPLOY_PATH
/.obd/.obd_environ
)
"
==
""
]]
if
[[
!
-f
$
OBD_HOME
/.obd/.obd_environ
||
"
$(
grep
'"OBD_DEV_MODE": "1"'
$OBD_HOME
/.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
)
fi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录