Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
db95eb96
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
db95eb96
编写于
6月 29, 2018
作者:
K
kaknikhil
提交者:
GitHub
6月 29, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add advanced analytics tests to gpdb master pipeline (#5187)
上级
c97870fc
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
321 addition
and
6 deletion
+321
-6
concourse/pipelines/gen_pipeline.py
concourse/pipelines/gen_pipeline.py
+3
-2
concourse/pipelines/gpdb_master-generated.yml
concourse/pipelines/gpdb_master-generated.yml
+146
-3
concourse/pipelines/templates/gpdb-tpl.yml
concourse/pipelines/templates/gpdb-tpl.yml
+172
-1
未找到文件。
concourse/pipelines/gen_pipeline.py
浏览文件 @
db95eb96
...
...
@@ -53,6 +53,7 @@ JOBS_THAT_ARE_GATES = ['gate_icw_start',
'gate_resource_groups_start'
,
'gate_cli_start'
,
'gate_ud_start'
,
'gate_advanced_analytics_start'
,
'gate_release_candidate_start'
]
JOBS_THAT_SHOULD_NOT_BLOCK_RELEASE
=
[
'compile_gpdb_binary_swap_centos6'
,
'icw_gporca_centos6_gpos_memory'
]
+
RELEASE_VALIDATOR_JOB
+
JOBS_THAT_ARE_GATES
...
...
@@ -221,7 +222,7 @@ if __name__ == "__main__":
PARSER
.
add_argument
(
'-a'
,
'--test_sections'
,
action
=
'store'
,
dest
=
'test_sections'
,
choices
=
[
'ICW'
,
'Replication'
,
'ResourceGroups'
,
'Interconnect'
,
'CLI'
,
'UD'
],
choices
=
[
'ICW'
,
'Replication'
,
'ResourceGroups'
,
'Interconnect'
,
'CLI'
,
'UD'
,
'AA'
],
default
=
[
'ICW'
],
nargs
=
'+'
,
help
=
'Select tests sections to run'
)
...
...
@@ -241,7 +242,7 @@ if __name__ == "__main__":
if
ARGS
.
pipeline_type
==
'prod'
:
ARGS
.
os_types
=
[
'centos6'
,
'centos7'
,
'sles'
,
'aix7'
,
'win'
,
'ubuntu16'
]
ARGS
.
test_sections
=
[
'ICW'
,
'Replication'
,
'ResourceGroups'
,
'Interconnect'
,
'CLI'
,
'UD'
]
ARGS
.
test_sections
=
[
'ICW'
,
'Replication'
,
'ResourceGroups'
,
'Interconnect'
,
'CLI'
,
'UD'
,
'AA'
]
# if generating a dev pipeline but didn't specify an output, don't overwrite the master pipeline
if
ARGS
.
pipeline_type
!=
'prod'
and
os
.
path
.
basename
(
ARGS
.
output_filepath
)
==
default_output_filename
:
...
...
concourse/pipelines/gpdb_master-generated.yml
浏览文件 @
db95eb96
...
...
@@ -12,10 +12,10 @@
## file (example: templates/gpdb-tpl.yml) and regenerate the pipeline
## using appropriate tool (example: gen_pipeline.py -t prod).
## ----------------------------------------------------------------------
## Generated by gen_pipeline.py at: 2018-06-2
7 00:48:09.907065
## Generated by gen_pipeline.py at: 2018-06-2
9 11:58:39.648381
## Template file: gpdb-tpl.yml
## OS Types: ['centos6', 'centos7', 'sles', 'aix7', 'win', 'ubuntu16']
## Test Sections: ['ICW', 'Replication', 'ResourceGroups', 'Interconnect', 'CLI', 'UD']
## Test Sections: ['ICW', 'Replication', 'ResourceGroups', 'Interconnect', 'CLI', 'UD'
, 'AA'
]
## ======================================================================
## ======================================================================
...
...
@@ -87,6 +87,13 @@ groups:
-
regression_tests_pxf
-
regression_tests_gphdfs_hadoop_centos
-
regression_tests_gphdfs_mapr_centos
## --------------------------------------------------------------------
-
gate_advanced_analytics_start
-
MADlib_Test_orca_centos6
-
MADlib_Test_planner_centos6
-
MADlib_Test_orca_centos7
-
MADlib_Test_planner_centos7
## ======================================================================
...
...
@@ -202,6 +209,15 @@ groups:
-
regression_tests_gphdfs_mapr_centos
-
compile_gpdb_centos6
-
name
:
AdvancedAnalytics
jobs
:
-
gate_advanced_analytics_start
-
MADlib_Test_orca_centos6
-
MADlib_Test_planner_centos6
-
MADlib_Test_orca_centos7
-
MADlib_Test_planner_centos7
## ======================================================================
## _
## _ __ ___ ___ ___ _ _ _ __ ___ ___ | |_ _ _ _ __ ___ ___
...
...
@@ -497,6 +513,23 @@ resources:
start
:
6:00 AM
stop
:
7:00 AM
-
name
:
madlib_ci
type
:
git
source
:
branch
:
{{
madlib-ci-git-branch
}}
uri
:
{{
madlib-ci-git-remote
}}
private_key
:
{{
madlib-ci-git-key
}}
-
name
:
madlib_gppkg
type
:
s3
source
:
access_key_id
:
{{
bucket-access-key-id
}}
bucket
:
{{
madlib-gppkg-bucket
}}
region_name
:
{{
aws-region
}}
secret_access_key
:
{{
bucket-secret-access-key
}}
regexp
:
{{
madlib-gpdb6-centos6-gppkg
}}
-
name
:
reduced-frequency-trigger
type
:
time
source
:
...
...
@@ -504,7 +537,6 @@ resources:
days
:
[
Sunday
,
Monday
,
Tuesday
,
Wednesday
,
Thursday
,
Friday
,
Saturday
]
start
:
{{
reduced-frequency-trigger-start
}}
stop
:
{{
reduced-frequency-trigger-stop
}}
## ======================================================================
## _
## __ _ _ __ ___| |__ ___ _ __ ___
...
...
@@ -2167,6 +2199,109 @@ jobs:
TARGET_OS
:
centos
TARGET_OS_VERSION
:
6
## ======================================================================
## _ _
## / \ / \
## / _ \ / _ \
## / ___ \ / ___ \
## /_/ \_\/_/ \_\
## ======================================================================
-
name
:
gate_advanced_analytics_start
plan
:
-
aggregate
:
-
get
:
gpdb_src
passed
:
-
compile_gpdb_centos6
-
compile_gpdb_centos7
trigger
:
true
-
get
:
bin_gpdb_centos6
passed
:
-
compile_gpdb_centos6
-
get
:
bin_gpdb_centos7
passed
:
-
compile_gpdb_centos7
-
name
:
MADlib_Test_planner_centos6
plan
:
-
aggregate
:
-
get
:
madlib_ci
-
get
:
gpdb_src
passed
:
[
gate_advanced_analytics_start
]
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos6
trigger
:
true
passed
:
[
gate_advanced_analytics_start
]
-
get
:
centos-gpdb-dev-6
-
get
:
madlib_gppkg
-
task
:
MADlib_Test_gppkg
file
:
madlib_ci/concourse/tasks/madlib_test_gppkg.yml
image
:
centos-gpdb-dev-6
params
:
TEST_OS
:
centos
ORCA
:
"
off"
DBVER
:
gpdb6-assert
-
name
:
MADlib_Test_orca_centos6
plan
:
-
aggregate
:
-
get
:
madlib_ci
-
get
:
gpdb_src
passed
:
[
gate_advanced_analytics_start
]
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos6
trigger
:
true
passed
:
[
gate_advanced_analytics_start
]
-
get
:
centos-gpdb-dev-6
-
get
:
madlib_gppkg
-
task
:
MADlib_Test_gppkg
file
:
madlib_ci/concourse/tasks/madlib_test_gppkg.yml
image
:
centos-gpdb-dev-6
params
:
TEST_OS
:
centos
ORCA
:
"
on"
DBVER
:
gpdb6-assert
-
name
:
MADlib_Test_planner_centos7
plan
:
-
aggregate
:
-
get
:
madlib_ci
-
get
:
gpdb_src
passed
:
[
gate_advanced_analytics_start
]
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos7
trigger
:
true
passed
:
[
gate_advanced_analytics_start
]
-
get
:
centos-gpdb-test-7
-
get
:
madlib_gppkg
-
task
:
MADlib_Test_gppkg
file
:
madlib_ci/concourse/tasks/madlib_test_gppkg.yml
image
:
centos-gpdb-test-7
params
:
TEST_OS
:
centos
ORCA
:
"
off"
DBVER
:
gpdb6-assert
-
name
:
MADlib_Test_orca_centos7
plan
:
-
aggregate
:
-
get
:
madlib_ci
-
get
:
gpdb_src
passed
:
[
gate_advanced_analytics_start
]
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos7
trigger
:
true
passed
:
[
gate_advanced_analytics_start
]
-
get
:
centos-gpdb-test-7
-
get
:
madlib_gppkg
-
task
:
MADlib_Test_gppkg
file
:
madlib_ci/concourse/tasks/madlib_test_gppkg.yml
image
:
centos-gpdb-test-7
params
:
TEST_OS
:
centos
ORCA
:
"
on"
DBVER
:
gpdb6-assert
## ======================================================================
## ____ _
## | _ \ ___| | ___ __ _ ___ ___
...
...
@@ -2219,6 +2354,10 @@ jobs:
-
gpinitsystem
-
gpexpand_1
-
gpexpand_2
-
MADlib_Test_orca_centos6
-
MADlib_Test_planner_centos6
-
MADlib_Test_orca_centos7
-
MADlib_Test_planner_centos7
-
gpaddmirrors
-
gpexpand
-
gpcheck
...
...
@@ -2250,6 +2389,8 @@ jobs:
-
gpinitsystem
-
gpexpand_1
-
gpexpand_2
-
MADlib_Test_orca_centos6
-
MADlib_Test_planner_centos6
-
gpexpand
-
gpcheck
-
gppkg
...
...
@@ -2263,6 +2404,8 @@ jobs:
-
icw_gporca_centos7
-
icw_planner_centos7
-
resource_group_centos7
-
MADlib_Test_orca_centos7
-
MADlib_Test_planner_centos7
-
get
:
bin_gpdb_sles11
trigger
:
true
passed
:
...
...
concourse/pipelines/templates/gpdb-tpl.yml
浏览文件 @
db95eb96
...
...
@@ -114,6 +114,19 @@ groups:
-
regression_tests_gphdfs_hadoop_centos
-
regression_tests_gphdfs_mapr_centos
{
%
endif %
}
{
%
if "AA" in test_sections %
}
## --------------------------------------------------------------------
-
gate_advanced_analytics_start
{
%
if "centos6" in os_types %
}
-
MADlib_Test_orca_centos6
-
MADlib_Test_planner_centos6
{
%
endif %
}
{
%
if "centos7" in os_types %
}
-
MADlib_Test_orca_centos7
-
MADlib_Test_planner_centos7
{
%
endif %
}
{
%
endif %
}
{
%
if pipeline_type == "prod" %
}
## ======================================================================
...
...
@@ -269,6 +282,21 @@ groups:
-
compile_gpdb_centos6
{
%
endif %
}
{
%
if "AA" in test_sections %
}
-
name
:
AdvancedAnalytics
jobs
:
-
gate_advanced_analytics_start
{
%
if "centos6" in os_types %
}
-
MADlib_Test_orca_centos6
-
MADlib_Test_planner_centos6
{
%
endif %
}
{
%
if "centos7" in os_types %
}
-
MADlib_Test_orca_centos7
-
MADlib_Test_planner_centos7
{
%
endif %
}
{
%
endif %
}
## ======================================================================
## _
## _ __ ___ ___ ___ _ _ _ __ ___ ___ | |_ _ _ _ __ ___ ___
...
...
@@ -612,6 +640,25 @@ resources:
stop
:
7:00 AM
{
%
endif %
}
{
%
if "AA" in test_sections %
}
-
name
:
madlib_ci
type
:
git
source
:
branch
:
{{
madlib-ci-git-branch
}}
uri
:
{{
madlib-ci-git-remote
}}
private_key
:
{{
madlib-ci-git-key
}}
-
name
:
madlib_gppkg
type
:
s3
source
:
access_key_id
:
{{
bucket-access-key-id
}}
bucket
:
{{
madlib-gppkg-bucket
}}
region_name
:
{{
aws-region
}}
secret_access_key
:
{{
bucket-secret-access-key
}}
regexp
:
{{
madlib-gpdb6-centos6-gppkg
}}
{
%
endif %
}
-
name
:
reduced-frequency-trigger
type
:
time
source
:
...
...
@@ -619,7 +666,6 @@ resources:
days
:
[
Sunday
,
Monday
,
Tuesday
,
Wednesday
,
Thursday
,
Friday
,
Saturday
]
start
:
{{
reduced-frequency-trigger-start
}}
stop
:
{{
reduced-frequency-trigger-stop
}}
## ======================================================================
## _
## __ _ _ __ ___| |__ ___ _ __ ___
...
...
@@ -2198,6 +2244,123 @@ jobs:
TARGET_OS_VERSION
:
6
{
%
endif %
}
{
%
if "AA" in test_sections %
}
## ======================================================================
## _ _
## / \ / \
## / _ \ / _ \
## / ___ \ / ___ \
## /_/ \_\/_/ \_\
## ======================================================================
-
name
:
gate_advanced_analytics_start
plan
:
-
aggregate
:
-
get
:
gpdb_src
passed
:
{
%
if "centos6" in os_types %
}
-
compile_gpdb_centos6
{
%
endif %
}
{
%
if "centos7" in os_types %
}
-
compile_gpdb_centos7
{
%
endif %
}
trigger
:
true
{
%
if "centos6" in os_types %
}
-
get
:
bin_gpdb_centos6
passed
:
-
compile_gpdb_centos6
{
%
endif %
}
{
%
if "centos7" in os_types %
}
-
get
:
bin_gpdb_centos7
passed
:
-
compile_gpdb_centos7
{
%
endif %
}
{
%
if "centos6" in os_types %
}
-
name
:
MADlib_Test_planner_centos6
plan
:
-
aggregate
:
-
get
:
madlib_ci
-
get
:
gpdb_src
passed
:
[
gate_advanced_analytics_start
]
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos6
trigger
:
[[
test_trigger
]]
passed
:
[
gate_advanced_analytics_start
]
-
get
:
centos-gpdb-dev-6
-
get
:
madlib_gppkg
-
task
:
MADlib_Test_gppkg
file
:
madlib_ci/concourse/tasks/madlib_test_gppkg.yml
image
:
centos-gpdb-dev-6
params
:
TEST_OS
:
centos
ORCA
:
"
off"
DBVER
:
gpdb6-assert
-
name
:
MADlib_Test_orca_centos6
plan
:
-
aggregate
:
-
get
:
madlib_ci
-
get
:
gpdb_src
passed
:
[
gate_advanced_analytics_start
]
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos6
trigger
:
[[
test_trigger
]]
passed
:
[
gate_advanced_analytics_start
]
-
get
:
centos-gpdb-dev-6
-
get
:
madlib_gppkg
-
task
:
MADlib_Test_gppkg
file
:
madlib_ci/concourse/tasks/madlib_test_gppkg.yml
image
:
centos-gpdb-dev-6
params
:
TEST_OS
:
centos
ORCA
:
"
on"
DBVER
:
gpdb6-assert
{
%
endif %
}
{
%
if "centos7" in os_types %
}
-
name
:
MADlib_Test_planner_centos7
plan
:
-
aggregate
:
-
get
:
madlib_ci
-
get
:
gpdb_src
passed
:
[
gate_advanced_analytics_start
]
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos7
trigger
:
[[
test_trigger
]]
passed
:
[
gate_advanced_analytics_start
]
-
get
:
centos-gpdb-test-7
-
get
:
madlib_gppkg
-
task
:
MADlib_Test_gppkg
file
:
madlib_ci/concourse/tasks/madlib_test_gppkg.yml
image
:
centos-gpdb-test-7
params
:
TEST_OS
:
centos
ORCA
:
"
off"
DBVER
:
gpdb6-assert
-
name
:
MADlib_Test_orca_centos7
plan
:
-
aggregate
:
-
get
:
madlib_ci
-
get
:
gpdb_src
passed
:
[
gate_advanced_analytics_start
]
-
get
:
bin_gpdb
resource
:
bin_gpdb_centos7
trigger
:
[[
test_trigger
]]
passed
:
[
gate_advanced_analytics_start
]
-
get
:
centos-gpdb-test-7
-
get
:
madlib_gppkg
-
task
:
MADlib_Test_gppkg
file
:
madlib_ci/concourse/tasks/madlib_test_gppkg.yml
image
:
centos-gpdb-test-7
params
:
TEST_OS
:
centos
ORCA
:
"
on"
DBVER
:
gpdb6-assert
{
%
endif %
}
{
%
endif %
}
{
%
if pipeline_type == "prod" %
}
## ======================================================================
## ____ _
...
...
@@ -2247,6 +2410,10 @@ jobs:
CLI_gpexpand_suites %
}
-
[[
test_name
]]
{
%
endfor %
}
-
MADlib_Test_orca_centos6
-
MADlib_Test_planner_centos6
-
MADlib_Test_orca_centos7
-
MADlib_Test_planner_centos7
-
gpaddmirrors
-
gpexpand
-
gpcheck
...
...
@@ -2274,6 +2441,8 @@ jobs:
CLI_gpexpand_suites %
}
-
[[
test_name
]]
{
%
endfor %
}
-
MADlib_Test_orca_centos6
-
MADlib_Test_planner_centos6
-
gpexpand
-
gpcheck
-
gppkg
...
...
@@ -2287,6 +2456,8 @@ jobs:
-
icw_gporca_centos7
-
icw_planner_centos7
-
resource_group_centos7
-
MADlib_Test_orca_centos7
-
MADlib_Test_planner_centos7
-
get
:
bin_gpdb_sles11
trigger
:
true
passed
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录