-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable configure and add PG17 CI tests
(cherry picked from commit ae3ed7d)
- Loading branch information
Showing
4 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,11 +27,12 @@ jobs: | |
style_checker_image_name: "ghcr.io/citusdata/stylechecker" | ||
style_checker_tools_version: "0.8.18" | ||
sql_snapshot_pg_version: "16.3" | ||
image_suffix: "-v13fd57c" | ||
image_suffix: "-dev-e5b0348" | ||
pg14_version: '{ "major": "14", "full": "14.12" }' | ||
pg15_version: '{ "major": "15", "full": "15.7" }' | ||
pg16_version: '{ "major": "16", "full": "16.3" }' | ||
upgrade_pg_versions: "14.12-15.7-16.3" | ||
pg17_version: '{ "major": "17", "full": "17.0" }' | ||
upgrade_pg_versions: "14.12-15.7-16.3-17.0" | ||
steps: | ||
# Since GHA jobs needs at least one step we use a noop step here. | ||
- name: Set up parameters | ||
|
@@ -108,6 +109,7 @@ jobs: | |
- ${{ needs.params.outputs.pg14_version }} | ||
- ${{ needs.params.outputs.pg15_version }} | ||
- ${{ needs.params.outputs.pg16_version }} | ||
- ${{ needs.params.outputs.pg17_version }} | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: "${{ matrix.image_name }}:${{ fromJson(matrix.pg_version).full }}${{ matrix.image_suffix }}" | ||
|
@@ -139,6 +141,7 @@ jobs: | |
- ${{ needs.params.outputs.pg14_version }} | ||
- ${{ needs.params.outputs.pg15_version }} | ||
- ${{ needs.params.outputs.pg16_version }} | ||
- ${{ needs.params.outputs.pg17_version }} | ||
make: | ||
- check-split | ||
- check-multi | ||
|
@@ -168,6 +171,10 @@ jobs: | |
pg_version: ${{ needs.params.outputs.pg16_version }} | ||
suite: regress | ||
image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
- make: check-failure | ||
pg_version: ${{ needs.params.outputs.pg17_version }} | ||
suite: regress | ||
image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
- make: check-enterprise-failure | ||
pg_version: ${{ needs.params.outputs.pg14_version }} | ||
suite: regress | ||
|
@@ -180,6 +187,10 @@ jobs: | |
pg_version: ${{ needs.params.outputs.pg16_version }} | ||
suite: regress | ||
image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
- make: check-enterprise-failure | ||
pg_version: ${{ needs.params.outputs.pg17_version }} | ||
suite: regress | ||
image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
- make: check-pytest | ||
pg_version: ${{ needs.params.outputs.pg14_version }} | ||
suite: regress | ||
|
@@ -192,6 +203,10 @@ jobs: | |
pg_version: ${{ needs.params.outputs.pg16_version }} | ||
suite: regress | ||
image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
- make: check-pytest | ||
pg_version: ${{ needs.params.outputs.pg17_version }} | ||
suite: regress | ||
image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
- make: installcheck | ||
suite: cdc | ||
image_name: ${{ needs.params.outputs.test_image_name }} | ||
|
@@ -200,6 +215,10 @@ jobs: | |
suite: cdc | ||
image_name: ${{ needs.params.outputs.test_image_name }} | ||
pg_version: ${{ needs.params.outputs.pg16_version }} | ||
- make: installcheck | ||
suite: cdc | ||
image_name: ${{ needs.params.outputs.test_image_name }} | ||
pg_version: ${{ needs.params.outputs.pg17_version }} | ||
- make: check-query-generator | ||
pg_version: ${{ needs.params.outputs.pg14_version }} | ||
suite: regress | ||
|
@@ -212,6 +231,10 @@ jobs: | |
pg_version: ${{ needs.params.outputs.pg16_version }} | ||
suite: regress | ||
image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
- make: check-query-generator | ||
pg_version: ${{ needs.params.outputs.pg17_version }} | ||
suite: regress | ||
image_name: ${{ needs.params.outputs.fail_test_image_name }} | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: "${{ matrix.image_name }}:${{ fromJson(matrix.pg_version).full }}${{ needs.params.outputs.image_suffix }}" | ||
|
@@ -255,6 +278,7 @@ jobs: | |
- ${{ needs.params.outputs.pg14_version }} | ||
- ${{ needs.params.outputs.pg15_version }} | ||
- ${{ needs.params.outputs.pg16_version }} | ||
- ${{ needs.params.outputs.pg17_version }} | ||
parallel: [0,1,2,3,4,5] # workaround for running 6 parallel jobs | ||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -303,6 +327,10 @@ jobs: | |
new_pg_major: 16 | ||
- old_pg_major: 14 | ||
new_pg_major: 16 | ||
- old_pg_major: 16 | ||
new_pg_major: 17 | ||
- old_pg_major: 15 | ||
new_pg_major: 17 | ||
env: | ||
old_pg_major: ${{ matrix.old_pg_major }} | ||
new_pg_major: ${{ matrix.new_pg_major }} | ||
|
@@ -386,7 +414,7 @@ jobs: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: ${{ needs.params.outputs.test_image_name }}:${{ fromJson(needs.params.outputs.pg16_version).full }}${{ needs.params.outputs.image_suffix }} | ||
image: ${{ needs.params.outputs.test_image_name }}:${{ fromJson(needs.params.outputs.pg17_version).full }}${{ needs.params.outputs.image_suffix }} | ||
needs: | ||
- params | ||
- test-citus | ||
|
@@ -481,7 +509,7 @@ jobs: | |
name: Test flakyness | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: ${{ needs.params.outputs.fail_test_image_name }}:${{ needs.params.outputs.pg16_version }}${{ needs.params.outputs.image_suffix }} | ||
image: ${{ needs.params.outputs.fail_test_image_name }}:${{ needs.params.outputs.pg17_version }}${{ needs.params.outputs.image_suffix }} | ||
options: --user root | ||
env: | ||
runs: 8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters