Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
02f29ade
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1187
Star
22018
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看板
未验证
提交
02f29ade
编写于
10月 15, 2021
作者:
H
Hui Li
提交者:
GitHub
10月 15, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #8260 from taosdata/ci_blm3_support
[TD-10640]update jenkins & Drone for blm3
上级
4d9e67e8
62b29652
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
69 addition
and
67 deletion
+69
-67
.drone.yml
.drone.yml
+39
-38
Jenkinsfile
Jenkinsfile
+30
-29
未找到文件。
.drone.yml
浏览文件 @
02f29ade
---
kind
:
pipeline
name
:
test_amd64
platform
:
os
:
linux
arch
:
amd64
steps
:
-
name
:
build
image
:
gcc
commands
:
-
apt-get update
-
apt-get install -y cmake build-essential
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
-
cmake ..
-
make -j4
trigger
:
event
:
-
pull_request
when
:
branch
:
-
develop
-
master
-
2.0
---
kind
:
pipeline
name
:
test_arm64_bionic
platform
:
...
...
@@ -37,7 +10,10 @@ steps:
image
:
arm64v8/ubuntu:bionic
commands
:
-
apt-get update
-
apt-get install -y cmake build-essential
-
apt-get install -y cmake git build-essential wget
-
wget https://dl.google.com/go/go1.16.9.linux-arm64.tar.gz
-
tar -C /usr/local -xzf go1.16.9.linux-arm64.tar.gz
-
export PATH=$PATH:/usr/local/go/bin
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
...
...
@@ -65,7 +41,10 @@ steps:
commands
:
-
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
-
apt-get update
-
apt-get install -y -qq cmake build-essential
-
apt-get install -y -qq git cmake build-essential wget
-
wget https://dl.google.com/go/go1.16.9.linux-arm64.tar.gz
-
tar -C /usr/local -xzf go1.16.9.linux-arm64.tar.gz
-
export PATH=$PATH:/usr/local/go/bin
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
...
...
@@ -91,11 +70,18 @@ steps:
-
name
:
build
image
:
arm64v8/centos:7
commands
:
-
yum install -y gcc gcc-c++ make cmake git
-
yum install -y epel-release
-
yum update
-
yum install -y gcc gcc-c++ make cmake3 wget git
-
wget https://dl.google.com/go/go1.16.9.linux-arm64.tar.gz
-
tar -C /usr/local -xzf go1.16.9.linux-arm64.tar.gz
-
export PATH=$PATH:/usr/local/go/bin
-
ln -s /usr/bin/cmake3 /usr/bin/cmake
-
go version
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
-
cmake .. -DCPUTYPE=aarch64 > /dev/null
-
cmake
3
.. -DCPUTYPE=aarch64 > /dev/null
-
make -j4
trigger
:
event
:
...
...
@@ -117,7 +103,7 @@ steps:
-
name
:
build
image
:
arm64v8/centos:8
commands
:
-
dnf install -y gcc gcc-c++ make cmake epel-release git libarchive
-
dnf install -y gcc gcc-c++ make cmake epel-release git libarchive
golang
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
...
...
@@ -144,7 +130,7 @@ steps:
image
:
arm32v7/ubuntu:bionic
commands
:
-
apt-get update
-
apt-get install -y cmake build-essential
-
apt-get install -y cmake build-essential
golang-go git
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
...
...
@@ -171,7 +157,10 @@ steps:
image
:
ubuntu:trusty
commands
:
-
apt-get update
-
apt-get install -y gcc cmake3 build-essential git binutils-2.26
-
apt-get install -y gcc cmake3 build-essential git binutils-2.26 wget
-
wget https://dl.google.com/go/go1.16.9.linux-amd64.tar.gz
-
tar -C /usr/local -xzf go1.16.9.linux-amd64.tar.gz
-
export PATH=$PATH:/usr/local/go/bin
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
...
...
@@ -198,7 +187,10 @@ steps:
image
:
ubuntu:xenial
commands
:
-
apt-get update
-
apt-get install -y gcc cmake build-essential
-
apt-get install -y gcc cmake build-essential git wget
-
wget https://dl.google.com/go/go1.16.9.linux-amd64.tar.gz
-
tar -C /usr/local -xzf go1.16.9.linux-amd64.tar.gz
-
export PATH=$PATH:/usr/local/go/bin
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
...
...
@@ -224,7 +216,10 @@ steps:
image
:
ubuntu:bionic
commands
:
-
apt-get update
-
apt-get install -y gcc cmake build-essential
-
apt-get install -y gcc cmake build-essential git wget
-
wget https://dl.google.com/go/go1.16.9.linux-amd64.tar.gz
-
tar -C /usr/local -xzf go1.16.9.linux-amd64.tar.gz
-
export PATH=$PATH:/usr/local/go/bin
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
...
...
@@ -249,11 +244,17 @@ steps:
-
name
:
build
image
:
ansible/centos7-ansible
commands
:
-
yum install -y gcc gcc-c++ make cmake
-
yum install -y epel-release
-
yum update
-
yum install -y gcc gcc-c++ make cmake3 wget git
-
wget https://dl.google.com/go/go1.16.9.linux-amd64.tar.gz
-
tar -C /usr/local -xzf go1.16.9.linux-amd64.tar.gz
-
export PATH=$PATH:/usr/local/go/bin
-
ln -s /usr/bin/cmake3 /usr/bin/cmake
-
git submodule update --init --recursive
-
mkdir debug
-
cd debug
-
cmake ..
-
cmake
3
..
-
make -j4
trigger
:
event
:
...
...
Jenkinsfile
浏览文件 @
02f29ade
...
...
@@ -99,7 +99,7 @@ def pre_test(){
sh
'''
cd ${WK}
git pull >/dev/null
git submodule update --init --recursive
export TZ=Asia/Harbin
date
git clean -dfx
...
...
@@ -149,6 +149,7 @@ def pre_test_win(){
git fetch origin +refs/pull/%CHANGE_ID%/merge
git checkout -qf FETCH_HEAD
git clean -dfx
git submodule update --init --recursive
cd C:\\workspace\\TDinternal
git reset --hard HEAD~10
'''
...
...
@@ -469,35 +470,35 @@ pipeline {
}
}
stage
(
'build'
){
agent
{
label
" wintest "
}
steps
{
pre_test
()
script
{
while
(
win_stop
==
0
){
sleep
(
1
)
}
}
}
}
stage
(
'test'
){
agent
{
label
"win"
}
steps
{
//
stage('build'){
//
agent{label " wintest "}
//
steps {
//
pre_test()
//
script{
//
while(win_stop == 0){
//
sleep(1)
//
}
//
}
//
}
//
}
//
stage('test'){
//
agent{label "win"}
//
steps{
catchError
(
buildResult:
'FAILURE'
,
stageResult:
'FAILURE'
)
{
pre_test_win
()
timeout
(
time:
20
,
unit:
'MINUTES'
){
bat
'''
cd C:\\workspace\\TDinternal\\community\\tests\\pytest
.\\test-all.bat Wintest
'''
}
}
script
{
win_stop
=
1
}
}
}
//
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
//
pre_test_win()
//
timeout(time: 20, unit: 'MINUTES'){
//
bat'''
//
cd C:\\workspace\\TDinternal\\community\\tests\\pytest
//
.\\test-all.bat Wintest
//
'''
//
}
//
}
//
script{
//
win_stop=1
//
}
//
}
//
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录