Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
6e19703c
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
6e19703c
编写于
5月 23, 2023
作者:
Y
Yaqiang Li
提交者:
GitHub
5月 23, 2023
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #21422 from taosdata/3.0-yq
Remove taosx, connector, explorer and taoskeeper in cloud tdengine
上级
0716ab61
ef9affa2
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
31 addition
and
16 deletion
+31
-16
packaging/docker/dockerbuild.sh
packaging/docker/dockerbuild.sh
+10
-0
packaging/tools/makeclient.sh
packaging/tools/makeclient.sh
+2
-2
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+19
-14
未找到文件。
packaging/docker/dockerbuild.sh
浏览文件 @
6e19703c
...
...
@@ -123,6 +123,16 @@ else
echo
"Unknown cpuType:
${
cpuType
}
"
exit
1
fi
# check the tdengine cloud base image existed or not
if
[
"
$cloudBuild
"
==
"y"
]
;
then
CloudBase
=
$(
docker images |
grep
tdengine/tdengine-cloud-base
||
:
)
if
[[
"
$CloudBase
"
==
""
]]
;
then
echo
"Rebuild tdengine cloud base image..."
docker build
--rm
-f
"
${
communityDir
}
/packaging/docker/DockerfileCloud.base"
-t
tdengine/tdengine-cloud-base
"."
--build-arg
cpuType
=
${
cpuTypeAlias
}
else
echo
"Already found tdengine cloud base image"
fi
fi
docker build
--rm
-f
"
${
Dockerfile
}
"
--network
=
host
-t
tdengine/tdengine-
${
dockername
}
:
${
version
}
"."
--build-arg
pkgFile
=
${
pkgFile
}
--build-arg
dirName
=
${
dirName
}
--build-arg
cpuType
=
${
cpuTypeAlias
}
if
[
"
$cloudBuild
"
!=
"y"
]
;
then
...
...
packaging/tools/makeclient.sh
浏览文件 @
6e19703c
...
...
@@ -175,7 +175,7 @@ if [ "$pagMode" == "lite" ]; then
fi
chmod
a+x
${
install_dir
}
/install_client.sh
if
[[
$productName
==
"TDengine"
]]
;
then
if
[[
$productName
==
"TDengine"
]]
&&
[
"
$verMode
"
!=
"cloud"
]
;
then
# Copy example code
mkdir
-p
${
install_dir
}
/examples
examples_dir
=
"
${
top_dir
}
/examples"
...
...
@@ -191,7 +191,7 @@ if [[ $productName == "TDengine" ]]; then
mkdir
-p
${
install_dir
}
/examples/taosbenchmark-json
&&
cp
${
examples_dir
}
/../tools/taos-tools/example/
*
${
install_dir
}
/examples/taosbenchmark-json
fi
if
[
"
$verMode
"
==
"cluster"
]
||
[
"
$verMode
"
==
"cloud"
]
;
then
if
[
"
$verMode
"
==
"cluster"
]
;
then
# Copy connector
connector_dir
=
"
${
code_dir
}
/connector"
mkdir
-p
${
install_dir
}
/connector
...
...
packaging/tools/makepkg.sh
浏览文件 @
6e19703c
...
...
@@ -69,7 +69,10 @@ if [ "$pagMode" == "lite" ]; then
bin_files
=
"
${
build_dir
}
/bin/
${
serverName
}
${
build_dir
}
/bin/
${
clientName
}
${
script_dir
}
/remove.sh
${
script_dir
}
/startPre.sh
${
build_dir
}
/bin/taosBenchmark "
taostools_bin_files
=
""
else
if
[
"
$verMode
"
==
"cloud"
]
;
then
taostools_bin_files
=
"
${
build_dir
}
/bin/taosdump
\
${
build_dir
}
/bin/taosBenchmark"
else
wget https://github.com/taosdata/grafanaplugin/releases/latest/download/TDinsight.sh
-O
${
build_dir
}
/bin/TDinsight.sh
\
&&
echo
"TDinsight.sh downloaded!"
\
||
echo
"failed to download TDinsight.sh"
...
...
@@ -79,7 +82,7 @@ else
cd
${
build_dir
}
/bin/
&&
\
chmod
+x TDinsight.sh
./TDinsight.sh
--download-only
||
:
# tdinsight_caches=$(./TDinsight.sh --download-only | xargs -I printf "${build_dir}/bin/{} ")
# tdinsight_caches=$(./TDinsight.sh --download-only | xargs -I printf "${build_dir}/bin/{} ")
cd
$orig_pwd
echo
"TDinsight caches:
$tdinsight_caches
"
...
...
@@ -88,6 +91,8 @@ else
${
build_dir
}
/bin/TDinsight.sh
\
${
build_dir
}
/bin/tdengine-datasource.zip
\
${
build_dir
}
/bin/tdengine-datasource.zip.md5sum"
fi
[
-f
${
build_dir
}
/bin/taosx
]
&&
taosx_bin
=
"
${
build_dir
}
/bin/taosx"
explorer_bin_files
=
$(
find
${
build_dir
}
/bin/
-name
'*-explorer'
)
...
...
@@ -334,7 +339,7 @@ mkdir -p ${install_dir}/driver && cp ${lib_files} ${install_dir}/driver && echo
[
-f
${
wslib_files
}
]
&&
cp
${
wslib_files
}
${
install_dir
}
/driver
||
:
# Copy connector
if
[
"
$verMode
"
==
"cluster"
]
||
[
"
$verMode
"
==
"cloud"
]
;
then
if
[
"
$verMode
"
==
"cluster"
]
;
then
connector_dir
=
"
${
code_dir
}
/connector"
mkdir
-p
${
install_dir
}
/connector
if
[[
"
$pagMode
"
!=
"lite"
]]
&&
[[
"
$cpuType
"
!=
"aarch32"
]]
;
then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录