Skip to content

Commit

Permalink
Add a pipeline job for hot standby tests
Browse files Browse the repository at this point in the history
  • Loading branch information
huansong committed Jan 8, 2024
1 parent 35e95b9 commit ef6aa16
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
24 changes: 23 additions & 1 deletion concourse/pipelines/gpdb_main-generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2023-12-21 18:23:53.667031
## Generated by gen_pipeline.py at: 2024-01-04 13:21:40.733077
## Template file: gpdb-tpl.yml
## OS Types:
## Test Sections: ['icw', 'cli', 'release']
Expand Down Expand Up @@ -199,6 +199,7 @@ groups:
- pg_upgrade_rocky8
- interconnect_rocky8
- pg_filedump_rocky8
- hot_standby_rocky8
- icw_planner_resgroup_rocky8
- icw_gporca_resgroup_rocky8
- gate_icw_end
Expand Down Expand Up @@ -273,6 +274,7 @@ groups:
- pg_upgrade_rocky8
- interconnect_rocky8
- pg_filedump_rocky8
- hot_standby_rocky8
- icw_planner_resgroup_rocky8
- icw_gporca_resgroup_rocky8
- gate_icw_end
Expand Down Expand Up @@ -1070,6 +1072,24 @@ jobs:
BUILD_TYPE=((rc-build-type)) installcheck
TEST_OS: centos

- name: hot_standby_rocky8
plan:
- in_parallel:
steps:
- get: gpdb_src
passed: [gate_icw_start]
- get: bin_gpdb
passed: [gate_icw_start]
trigger: true
- get: gpdb7-rocky8-test
- task: ic_hot_standby
file: gpdb_src/concourse/tasks/ic_gpdb.yml
image: gpdb7-rocky8-test
params:
MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off -c jit=off'
BUILD_TYPE=((rc-build-type)) -C src/test/isolation2 installcheck-hot-standby
TEST_OS: centos

- name: icw_extensions_gpcloud_rocky8
plan:
- in_parallel:
Expand Down Expand Up @@ -1302,6 +1322,7 @@ jobs:
- pg_upgrade_rocky8
- interconnect_rocky8
- pg_filedump_rocky8
- hot_standby_rocky8
- get: icw_planner_rocky8_dump
params:
skip_download: 'true'
Expand All @@ -1328,6 +1349,7 @@ jobs:
- icw_gporca_resgroup_rocky8
- interconnect_rocky8
- pg_filedump_rocky8
- hot_standby_rocky8
trigger: true
- get: bin_gpdb_clients
params:
Expand Down
22 changes: 22 additions & 0 deletions concourse/pipelines/templates/gpdb-tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ groups:
- pg_upgrade_[[ os_type ]]
- interconnect_[[ os_type ]]
- pg_filedump_[[ os_type ]]
- hot_standby_[[ os_type ]]
- icw_planner_resgroup_[[ os_type ]]
- icw_gporca_resgroup_[[ os_type ]]
- gate_icw_end
Expand Down Expand Up @@ -308,6 +309,7 @@ groups:
- pg_upgrade_[[ os_type ]]
- interconnect_[[ os_type ]]
- pg_filedump_[[ os_type ]]
- hot_standby_[[ os_type ]]
- icw_planner_resgroup_[[ os_type ]]
- icw_gporca_resgroup_[[ os_type ]]
- gate_icw_end
Expand Down Expand Up @@ -1232,6 +1234,24 @@ jobs:
BUILD_TYPE=((rc-build-type)) installcheck
TEST_OS: [[ test_os ]]

- name: hot_standby_[[ os_type ]]
plan:
- in_parallel:
steps:
- get: gpdb_src
passed: [gate_icw_start]
- get: bin_gpdb
passed: [gate_icw_start]
trigger: true
- get: gpdb7-[[ os_type ]]-test
- task: ic_hot_standby
file: gpdb_src/concourse/tasks/ic_gpdb.yml
image: gpdb7-[[ os_type ]]-test
params:
MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off -c jit=off'
BUILD_TYPE=((rc-build-type)) -C src/test/isolation2 installcheck-hot-standby
TEST_OS: [[ test_os ]]

- name: icw_extensions_gpcloud_[[ os_type ]]
plan:
- in_parallel:
Expand Down Expand Up @@ -1464,6 +1484,7 @@ jobs:
- pg_upgrade_[[ os_type ]]
- interconnect_[[ os_type ]]
- pg_filedump_[[ os_type ]]
- hot_standby_[[ os_type ]]
- get: icw_planner_[[ os_type ]]_dump
params:
skip_download: 'true'
Expand All @@ -1490,6 +1511,7 @@ jobs:
- icw_gporca_resgroup_[[ os_type ]]
- interconnect_[[ os_type ]]
- pg_filedump_[[ os_type ]]
- hot_standby_[[ os_type ]]
trigger: true
- get: bin_gpdb_clients
params:
Expand Down

0 comments on commit ef6aa16

Please sign in to comment.