mirror of https://github.com/citusdata/citus.git
Add PG16 tests to CI using test images that have 16beta2
Depends on https://github.com/citusdata/the-process/pull/135naisila/check_router_fix
parent
286816f7c3
commit
1cc885f1ef
|
@ -6,16 +6,19 @@ orbs:
|
|||
parameters:
|
||||
image_suffix:
|
||||
type: string
|
||||
default: '-vbab548a'
|
||||
default: '-dev-1efd0cf'
|
||||
pg14_version:
|
||||
type: string
|
||||
default: '14.8'
|
||||
pg15_version:
|
||||
type: string
|
||||
default: '15.3'
|
||||
pg16_version:
|
||||
type: string
|
||||
default: '16beta2'
|
||||
upgrade_pg_versions:
|
||||
type: string
|
||||
default: '14.8-15.3'
|
||||
default: '14.8-15.3-16beta2'
|
||||
style_checker_tools_version:
|
||||
type: string
|
||||
default: '0.8.18'
|
||||
|
@ -722,6 +725,10 @@ workflows:
|
|||
name: build-15
|
||||
pg_major: 15
|
||||
image_tag: '<< pipeline.parameters.pg15_version >>'
|
||||
- build:
|
||||
name: build-16
|
||||
pg_major: 16
|
||||
image_tag: '<< pipeline.parameters.pg16_version >>'
|
||||
|
||||
- check-style
|
||||
- check-sql-snapshots
|
||||
|
@ -872,6 +879,79 @@ workflows:
|
|||
image: citus/failtester
|
||||
make: check-failure
|
||||
|
||||
- test-citus: &test-citus-16
|
||||
name: 'test-16_check-split'
|
||||
make: check-split
|
||||
pg_major: 16
|
||||
image_tag: '<< pipeline.parameters.pg16_version >>'
|
||||
requires: [build-16]
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-enterprise'
|
||||
make: check-enterprise
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-enterprise-isolation'
|
||||
make: check-enterprise-isolation
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-enterprise-isolation-logicalrep-1'
|
||||
make: check-enterprise-isolation-logicalrep-1
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-enterprise-isolation-logicalrep-2'
|
||||
make: check-enterprise-isolation-logicalrep-2
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-enterprise-isolation-logicalrep-3'
|
||||
make: check-enterprise-isolation-logicalrep-3
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-enterprise-failure'
|
||||
image: citus/failtester
|
||||
make: check-enterprise-failure
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-multi'
|
||||
make: check-multi
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-multi-1'
|
||||
make: check-multi-1
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-mx'
|
||||
make: check-multi-mx
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-vanilla'
|
||||
make: check-vanilla
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-isolation'
|
||||
make: check-isolation
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-operations'
|
||||
make: check-operations
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-follower-cluster'
|
||||
make: check-follower-cluster
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-columnar'
|
||||
make: check-columnar
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-columnar-isolation'
|
||||
make: check-columnar-isolation
|
||||
- test-citus:
|
||||
<<: *test-citus-16
|
||||
name: 'test-16_check-failure'
|
||||
image: citus/failtester
|
||||
make: check-failure
|
||||
|
||||
- test-pytest:
|
||||
name: 'test-14_pytest'
|
||||
pg_major: 14
|
||||
|
@ -884,6 +964,12 @@ workflows:
|
|||
image_tag: '<< pipeline.parameters.pg15_version >>'
|
||||
requires: [build-15]
|
||||
|
||||
- test-pytest:
|
||||
name: 'test-16_pytest'
|
||||
pg_major: 16
|
||||
image_tag: '<< pipeline.parameters.pg16_version >>'
|
||||
requires: [build-16]
|
||||
|
||||
- tap-test-citus:
|
||||
name: 'test-15_tap-cdc'
|
||||
suite: cdc
|
||||
|
@ -903,6 +989,12 @@ workflows:
|
|||
image_tag: '<< pipeline.parameters.pg15_version >>'
|
||||
requires: [build-15]
|
||||
|
||||
- test-arbitrary-configs:
|
||||
name: 'test-16_check-arbitrary-configs'
|
||||
pg_major: 16
|
||||
image_tag: '<< pipeline.parameters.pg16_version >>'
|
||||
requires: [build-16]
|
||||
|
||||
- test-query-generator:
|
||||
name: 'test-14_check-query-generator'
|
||||
pg_major: 14
|
||||
|
@ -915,6 +1007,12 @@ workflows:
|
|||
image_tag: '<< pipeline.parameters.pg15_version >>'
|
||||
requires: [build-15]
|
||||
|
||||
- test-query-generator:
|
||||
name: 'test-16_check-query-generator'
|
||||
pg_major: 16
|
||||
image_tag: '<< pipeline.parameters.pg16_version >>'
|
||||
requires: [build-16]
|
||||
|
||||
- test-pg-upgrade:
|
||||
name: 'test-14-15_check-pg-upgrade'
|
||||
old_pg_major: 14
|
||||
|
@ -922,6 +1020,20 @@ workflows:
|
|||
image_tag: '<< pipeline.parameters.upgrade_pg_versions >>'
|
||||
requires: [build-14, build-15]
|
||||
|
||||
- test-pg-upgrade:
|
||||
name: 'test-15-16_check-pg-upgrade'
|
||||
old_pg_major: 15
|
||||
new_pg_major: 16
|
||||
image_tag: '<< pipeline.parameters.upgrade_pg_versions >>'
|
||||
requires: [build-15, build-16]
|
||||
|
||||
- test-pg-upgrade:
|
||||
name: 'test-14-16_check-pg-upgrade'
|
||||
old_pg_major: 14
|
||||
new_pg_major: 16
|
||||
image_tag: '<< pipeline.parameters.upgrade_pg_versions >>'
|
||||
requires: [build-14, build-16]
|
||||
|
||||
- test-citus-upgrade:
|
||||
name: test-14_check-citus-upgrade
|
||||
pg_major: 14
|
||||
|
@ -968,7 +1080,28 @@ workflows:
|
|||
- test-15_check-split
|
||||
- test-15_check-arbitrary-configs
|
||||
- test-15_check-query-generator
|
||||
- test-16_check-multi
|
||||
- test-16_check-multi-1
|
||||
- test-16_check-mx
|
||||
- test-16_check-vanilla
|
||||
- test-16_check-isolation
|
||||
- test-16_check-operations
|
||||
- test-16_check-follower-cluster
|
||||
- test-16_check-columnar
|
||||
- test-16_check-columnar-isolation
|
||||
- test-16_check-failure
|
||||
- test-16_check-enterprise
|
||||
- test-16_check-enterprise-isolation
|
||||
- test-16_check-enterprise-isolation-logicalrep-1
|
||||
- test-16_check-enterprise-isolation-logicalrep-2
|
||||
- test-16_check-enterprise-isolation-logicalrep-3
|
||||
- test-16_check-enterprise-failure
|
||||
- test-16_check-split
|
||||
- test-16_check-arbitrary-configs
|
||||
- test-16_check-query-generator
|
||||
- test-14-15_check-pg-upgrade
|
||||
- test-15-16_check-pg-upgrade
|
||||
- test-14-16_check-pg-upgrade
|
||||
- test-14_check-citus-upgrade
|
||||
|
||||
- ch_benchmark:
|
||||
|
|
|
@ -92,6 +92,7 @@ PG_MAJOR_VERSION = get_pg_major_version()
|
|||
OLDEST_SUPPORTED_CITUS_VERSION_MATRIX = {
|
||||
14: "10.2.0",
|
||||
15: "11.1.5",
|
||||
16: "12.1devel"
|
||||
}
|
||||
|
||||
OLDEST_SUPPORTED_CITUS_VERSION = OLDEST_SUPPORTED_CITUS_VERSION_MATRIX[PG_MAJOR_VERSION]
|
||||
|
|
Loading…
Reference in New Issue