Skip to content

Commit

Permalink
Add PG16 tests to CI using test images that have 16beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
naisila committed Jun 6, 2023
1 parent 9a22264 commit 5f13313
Showing 1 changed file with 127 additions and 2 deletions.
129 changes: 127 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ orbs:
parameters:
image_suffix:
type: string
default: '-vf5dc39a'
default: '-dev-681a6a2'
pg13_version:
type: string
default: '13.11'
Expand All @@ -16,9 +16,12 @@ parameters:
pg15_version:
type: string
default: '15.3'
pg16_version:
type: string
default: '16beta1'
upgrade_pg_versions:
type: string
default: '13.11-14.8-15.3'
default: '13.11-14.8-15.3-16beta1'
style_checker_tools_version:
type: string
default: '0.8.18'
Expand Down Expand Up @@ -729,6 +732,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
Expand Down Expand Up @@ -952,6 +959,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-13_pytest'
pg_major: 13
Expand All @@ -970,6 +1050,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
Expand All @@ -995,6 +1081,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-13_check-query-generator'
pg_major: 13
Expand All @@ -1013,6 +1105,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-13-14_check-pg-upgrade'
old_pg_major: 13
Expand All @@ -1027,6 +1125,13 @@ 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-citus-upgrade:
name: test-13_check-citus-upgrade
pg_major: 13
Expand Down Expand Up @@ -1092,8 +1197,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-13-14_check-pg-upgrade
- test-14-15_check-pg-upgrade
- test-15-16_check-pg-upgrade
- test-13_check-citus-upgrade

- ch_benchmark:
Expand Down

0 comments on commit 5f13313

Please sign in to comment.