提交 f66ce38c 编写于 作者: D David Krieger 提交者: David Krieger

gpstop whitelist removal: add Behave tests to CI pipeline

(cherry picked from commit 35861a99)
上级 e498a59f
......@@ -12,7 +12,7 @@
## 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: 2019-07-10 11:40:53.021787
## Generated by gen_pipeline.py at: 2019-07-10 07:11:09.654016
## Template file: gpdb-tpl.yml
## OS Types: ['centos6', 'centos7', 'ubuntu18.04', 'win']
## Test Sections: ['ICW', 'Replication', 'ResourceGroups', 'Interconnect', 'CLI', 'UD', 'AA', 'Extensions', 'Gpperfmon']
......@@ -86,6 +86,8 @@ groups:
- gpconfig_ubuntu18
- gpssh-exkeys
- gpssh-exkeys_ubuntu18
- gpstop
- gpstop_ubuntu18
- check_centos
## --------------------------------------------------------------------
- gate_advanced_analytics_start
......@@ -199,6 +201,8 @@ groups:
- gpconfig_ubuntu18
- gpssh-exkeys
- gpssh-exkeys_ubuntu18
- gpstop
- gpstop_ubuntu18
- check_centos
- compile_gpdb_centos6
- gpexpand
......@@ -2443,6 +2447,111 @@ jobs:
BEHAVE_FLAGS: --tags=gpssh-exkeys --tags=~concourse_cluster,demo_cluster
- name: gpstop
plan:
- aggregate:
- get: gpdb_src
params:
submodules:
- gpMgmt/bin/pythonSrc/ext
passed: [gate_cli_start]
- get: gpdb6-centos6-test
- aggregate:
- do:
- get: gpdb_binary
resource: bin_gpdb_centos6
passed: [gate_cli_start]
trigger: true
- get: ccp_src
- get: ccp-image
- put: terraform
params:
<<: *ccp_default_params
vars:
<<: *ccp_default_vars
- task: gen_cluster
file: ccp_src/ci/tasks/gen_cluster.yml
params:
<<: *ccp_gen_cluster_default_params
- task: gpinitsystem
file: ccp_src/ci/tasks/gpinitsystem.yml
- task: gpstop_concourse_cluster_tests
file: gpdb_src/concourse/tasks/run_behave.yml
image: ccp-image
params:
BEHAVE_FLAGS: --tags=gpstop --tags=concourse_cluster
on_success:
<<: *ccp_destroy
ensure:
<<: *set_failed
- do:
- get: bin_gpdb
resource: bin_gpdb_centos6
passed: [gate_cli_start]
trigger: true
- task: gpstop_demo_cluster_tests
file: gpdb_src/concourse/tasks/behave_gpdb.yml
image: gpdb6-centos6-test
params:
BEHAVE_FLAGS: --tags=gpstop --tags=~concourse_cluster,demo_cluster
- name: gpstop_ubuntu18
plan:
- aggregate:
- get: gpdb_src
params:
submodules:
- gpMgmt/bin/pythonSrc/ext
passed: [compile_gpdb_ubuntu18.04]
- get: gpdb6-ubuntu18.04-test
- aggregate:
- do:
- get: gpdb_binary
resource: bin_gpdb_ubuntu18.04
passed: [compile_gpdb_ubuntu18.04]
trigger: true
- get: ccp_src
- put: terraform
params:
<<: *ccp_default_params
vars:
<<: *ccp_default_vars
PLATFORM: ubuntu18.04
- task: gen_cluster
file: ccp_src/ci/tasks/gen_cluster.yml
params:
<<: *ccp_gen_cluster_default_params
PLATFORM: ubuntu18.04
- task: gpinitsystem
file: ccp_src/ci/tasks/gpinitsystem.yml
- task: gpstop_concourse_cluster_tests
file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
image: gpdb6-ubuntu18.04-test
params:
BEHAVE_FLAGS: --tags=gpstop --tags=concourse_cluster
on_success:
<<: *ccp_destroy
ensure:
<<: *set_failed
- do:
- get: bin_gpdb_ubuntu18.04
resource: bin_gpdb_ubuntu18.04
passed: [compile_gpdb_ubuntu18.04]
trigger: true
- task: gpstop_demo_cluster_tests
file: gpdb_src/concourse/tasks/behave_gpdb.yml
image: gpdb6-ubuntu18.04-test
input_mapping:
bin_gpdb: bin_gpdb_ubuntu18.04
params:
BEHAVE_FLAGS: --tags=gpstop --tags=~concourse_cluster,demo_cluster
- name: pg_upgrade
ensure:
......@@ -2721,6 +2830,8 @@ jobs:
- gpconfig_ubuntu18
- gpssh-exkeys
- gpssh-exkeys_ubuntu18
- gpstop
- gpstop_ubuntu18
## - madlib_build_gppkg
## - MADlib_Test_orca_centos6
## - MADlib_Test_planner_centos6
......@@ -2752,6 +2863,7 @@ jobs:
- gpaddmirrors
- gpconfig
- gpssh-exkeys
- gpstop
## - MADlib_Test_orca_centos6
## - MADlib_Test_planner_centos6
- gpexpand
......@@ -2791,6 +2903,7 @@ jobs:
- gpaddmirrors_ubuntu18
- gpconfig_ubuntu18
- gpssh-exkeys_ubuntu18
- gpstop_ubuntu18
- get: bin_gpdb_clients_ubuntu18.04
passed:
- compile_gpdb_ubuntu18.04
......
......@@ -29,6 +29,8 @@
{'name': 'gpssh-exkeys',
'use_concourse_cluster': true,
'additional_ccp_vars': 'number_of_nodes: 4'},
{'name': 'gpstop',
'use_concourse_cluster': true},
] %}
## ======================================================================
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册