Add postgres upgrade job (#2973)

pull/3012/head
SaitTalhaNisanci 2019-09-25 17:31:19 +03:00 committed by GitHub
parent cc5d68577a
commit 24a56d2257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 3 deletions

View File

@ -5,7 +5,7 @@ orbs:
jobs:
build:
docker:
- image: 'citusdata/extbuilder:werror'
- image: 'citus/extbuilder:latest'
steps:
- checkout
- run:
@ -207,6 +207,27 @@ jobs:
- run:
name: 'Install and Test (check-failure)'
command: 'install-and-test-ext check-failure'
test-10-11_check-pg-upgrade:
docker:
- image: 'citus/pgupgradetester:latest'
working_directory: /home/circleci/project
steps:
- attach_workspace:
at: .
- run:
name: 'Install and test postgres upgrade'
command: 'install-and-test-ext --target check-upgrade --old-pg-version 10 --new-pg-version 11'
test-11-12_check-pg-upgrade:
docker:
- image: 'citus/pgupgradetester:latest'
working_directory: /home/circleci/project
steps:
- attach_workspace:
at: .
- run:
name: 'Install and test postgres upgrade'
command: 'install-and-test-ext --target check-upgrade --old-pg-version 11 --new-pg-version 12'
workflows:
version: 2
build_and_test:
@ -243,3 +264,8 @@ workflows:
requires: [build]
- test-11_check-non-adaptive-isolation:
requires: [build]
- test-10-11_check-pg-upgrade:
requires: [build]
- test-11-12_check-pg-upgrade:
requires: [build]