Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
f128b7ea
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看板
未验证
提交
f128b7ea
编写于
3月 03, 2023
作者:
L
Linhe Huo
提交者:
GitHub
3月 03, 2023
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #20248 from taosdata/test/3.0/TD-22945
ci:add cache in ci compling
上级
b84b8e58
18cc1eb6
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
30 addition
and
3 deletion
+30
-3
Jenkinsfile2
Jenkinsfile2
+3
-3
tests/parallel_test/container_build.sh
tests/parallel_test/container_build.sh
+27
-0
未找到文件。
Jenkinsfile2
浏览文件 @
f128b7ea
...
@@ -40,7 +40,7 @@ def check_docs() {
...
@@ -40,7 +40,7 @@ def check_docs() {
sh '''
sh '''
cd ${WKC}
cd ${WKC}
git reset --hard
git reset --hard
git clean -f
xd
git clean -f
rm -rf examples/rust/
rm -rf examples/rust/
git remote prune origin
git remote prune origin
git fetch
git fetch
...
@@ -86,7 +86,7 @@ def pre_test(){
...
@@ -86,7 +86,7 @@ def pre_test(){
git fetch
git fetch
cd ${WKC}
cd ${WKC}
git reset --hard
git reset --hard
git clean -f
xd
git clean -f
rm -rf examples/rust/
rm -rf examples/rust/
git remote prune origin
git remote prune origin
git fetch
git fetch
...
@@ -201,7 +201,7 @@ def pre_test_win(){
...
@@ -201,7 +201,7 @@ def pre_test_win(){
'''
'''
bat '''
bat '''
cd %WIN_COMMUNITY_ROOT%
cd %WIN_COMMUNITY_ROOT%
git clean -f
xd
git clean -f
git reset --hard
git reset --hard
git remote prune origin
git remote prune origin
git fetch
git fetch
...
...
tests/parallel_test/container_build.sh
浏览文件 @
f128b7ea
...
@@ -51,10 +51,24 @@ else
...
@@ -51,10 +51,24 @@ else
REP_DIR
=
/home/TDinternal
REP_DIR
=
/home/TDinternal
REP_REAL_PATH
=
$WORKDIR
/TDinternal
REP_REAL_PATH
=
$WORKDIR
/TDinternal
REP_MOUNT_PARAM
=
$REP_REAL_PATH
:/home/TDinternal
REP_MOUNT_PARAM
=
$REP_REAL_PATH
:/home/TDinternal
fi
fi
date
date
docker run
\
docker run
\
-v
$REP_MOUNT_PARAM
\
-v
$REP_MOUNT_PARAM
\
-v
/root/.cargo/registry:/root/.cargo/registry
\
-v
/root/.cargo/git:/root/.cargo/git
\
-v
/root/go/pkg/mod:/root/go/pkg/mod
\
-v
/root/.cache/go-build:/root/.cache/go-build
\
-v
${
REP_REAL_PATH
}
/enterprise/src/plugins/taosx/target:
${
REP_DIR
}
/enterprise/src/plugins/taosx/target
\
-v
${
REP_REAL_PATH
}
/community/tools/taosws-rs/target:
${
REP_DIR
}
/community/tools/taosws-rs/target
\
-v
${
REP_REAL_PATH
}
/community/contrib/cJson/:
${
REP_DIR
}
/community/contrib/cJson
\
-v
${
REP_REAL_PATH
}
/community/contrib/googletest/:
${
REP_DIR
}
/community/contrib/googletest
\
-v
${
REP_REAL_PATH
}
/community/contrib/cpp-stub/:
${
REP_DIR
}
/community/contrib/cpp-stub
\
-v
${
REP_REAL_PATH
}
/community/contrib/libuv/:
${
REP_DIR
}
/community/contrib/libuv
\
-v
${
REP_REAL_PATH
}
/community/contrib/lz4/:
${
REP_DIR
}
/community/contrib/lz4
\
-v
${
REP_REAL_PATH
}
/community/contrib/zlib/:
${
REP_DIR
}
/community/contrib/zlib
\
-v
${
REP_REAL_PATH
}
/community/contrib/jemalloc/:
${
REP_DIR
}
/community/contrib/jemalloc
\
--rm
--ulimit
core
=
-1
taos_test:v1.0 sh
-c
"pip uninstall taospy -y;pip3 install taospy==2.7.2;cd
$REP_DIR
;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DBUILD_TEST=true -DWEBSOCKET=true -DBUILD_TAOSX=true;make -j || exit 1"
--rm
--ulimit
core
=
-1
taos_test:v1.0 sh
-c
"pip uninstall taospy -y;pip3 install taospy==2.7.2;cd
$REP_DIR
;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DBUILD_TEST=true -DWEBSOCKET=true -DBUILD_TAOSX=true;make -j || exit 1"
if
[[
-d
${
WORKDIR
}
/debugNoSan
]]
;
then
if
[[
-d
${
WORKDIR
}
/debugNoSan
]]
;
then
...
@@ -70,6 +84,19 @@ mv ${REP_REAL_PATH}/debug ${WORKDIR}/debugNoSan
...
@@ -70,6 +84,19 @@ mv ${REP_REAL_PATH}/debug ${WORKDIR}/debugNoSan
date
date
docker run
\
docker run
\
-v
$REP_MOUNT_PARAM
\
-v
$REP_MOUNT_PARAM
\
-v
/root/.cargo/registry:/root/.cargo/registry
\
-v
/root/.cargo/git:/root/.cargo/git
\
-v
/root/go/pkg/mod:/root/go/pkg/mod
\
-v
/root/.cache/go-build:/root/.cache/go-build
\
-v
${
REP_REAL_PATH
}
/enterprise/src/plugins/taosx/target:
${
REP_DIR
}
/enterprise/src/plugins/taosx/target
\
-v
${
REP_REAL_PATH
}
/community/tools/taosws-rs/target:
${
REP_DIR
}
/community/tools/taosws-rs/target
\
-v
${
REP_REAL_PATH
}
/community/contrib/cJson/:
${
REP_DIR
}
/community/contrib/cJson
\
-v
${
REP_REAL_PATH
}
/community/contrib/googletest/:
${
REP_DIR
}
/community/contrib/googletest
\
-v
${
REP_REAL_PATH
}
/community/contrib/cpp-stub/:
${
REP_DIR
}
/community/contrib/cpp-stub
\
-v
${
REP_REAL_PATH
}
/community/contrib/libuv/:
${
REP_DIR
}
/community/contrib/libuv
\
-v
${
REP_REAL_PATH
}
/community/contrib/lz4/:
${
REP_DIR
}
/community/contrib/lz4
\
-v
${
REP_REAL_PATH
}
/community/contrib/zlib/:
${
REP_DIR
}
/community/contrib/zlib
\
-v
${
REP_REAL_PATH
}
/community/contrib/jemalloc/:
${
REP_DIR
}
/community/contrib/jemalloc
\
--rm
--ulimit
core
=
-1
taos_test:v1.0 sh
-c
"pip uninstall taospy -y;pip3 install taospy==2.7.2;cd
$REP_DIR
;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DBUILD_TEST=true -DWEBSOCKET=true -DBUILD_SANITIZER=1 -DTOOLS_SANITIZE=true -DTOOLS_BUILD_TYPE=Debug -DBUILD_TAOSX=true;make -j || exit 1 "
--rm
--ulimit
core
=
-1
taos_test:v1.0 sh
-c
"pip uninstall taospy -y;pip3 install taospy==2.7.2;cd
$REP_DIR
;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DBUILD_TEST=true -DWEBSOCKET=true -DBUILD_SANITIZER=1 -DTOOLS_SANITIZE=true -DTOOLS_BUILD_TYPE=Debug -DBUILD_TAOSX=true;make -j || exit 1 "
mv
${
REP_REAL_PATH
}
/debug
${
WORKDIR
}
/debugSan
mv
${
REP_REAL_PATH
}
/debug
${
WORKDIR
}
/debugSan
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录