-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into contributing-dev
- Loading branch information
Showing
218 changed files
with
9,690 additions
and
1,363 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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -24,27 +24,28 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: Initialize parameters | ||
outputs: | ||
build_image_name: "citus/extbuilder" | ||
test_image_name: "citus/exttester" | ||
citusupgrade_image_name: "citus/citusupgradetester" | ||
fail_test_image_name: "citus/failtester" | ||
pgupgrade_image_name: "citus/pgupgradetester" | ||
style_checker_image_name: "citus/stylechecker" | ||
build_image_name: "ghcr.io/citusdata/extbuilder" | ||
test_image_name: "ghcr.io/citusdata/exttester" | ||
citusupgrade_image_name: "ghcr.io/citusdata/citusupgradetester" | ||
fail_test_image_name: "ghcr.io/citusdata/failtester" | ||
pgupgrade_image_name: "ghcr.io/citusdata/pgupgradetester" | ||
style_checker_image_name: "ghcr.io/citusdata/stylechecker" | ||
style_checker_tools_version: "0.8.18" | ||
image_suffix: "-v19b671f" | ||
pg14_version: '{ "major": "14", "full": "14.10" }' | ||
pg15_version: '{ "major": "15", "full": "15.5" }' | ||
pg16_version: '{ "major": "16", "full": "16.1" }' | ||
upgrade_pg_versions: "14.10-15.5-16.1" | ||
sql_snapshot_pg_version: "16.6" | ||
image_suffix: "-v5779674" | ||
pg14_version: '{ "major": "14", "full": "14.15" }' | ||
pg15_version: '{ "major": "15", "full": "15.10" }' | ||
pg16_version: '{ "major": "16", "full": "16.6" }' | ||
upgrade_pg_versions: "14.15-15.10-16.6" | ||
steps: | ||
# Since GHA jobs needs at least one step we use a noop step here. | ||
# Since GHA jobs need at least one step we use a noop step here. | ||
- name: Set up parameters | ||
run: echo 'noop' | ||
check-sql-snapshots: | ||
needs: params | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: ${{ needs.params.outputs.build_image_name }}:latest | ||
image: ${{ needs.params.outputs.build_image_name }}:${{ needs.params.outputs.sql_snapshot_pg_version }}${{ needs.params.outputs.image_suffix }} | ||
options: --user root | ||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -61,7 +62,7 @@ jobs: | |
- name: Check Snapshots | ||
run: | | ||
git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check C Style | ||
|
@@ -117,7 +118,7 @@ jobs: | |
image: "${{ matrix.image_name }}:${{ fromJson(matrix.pg_version).full }}${{ matrix.image_suffix }}" | ||
options: --user root | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- name: Expose $PG_MAJOR to Github Env | ||
run: echo "PG_MAJOR=${PG_MAJOR}" >> $GITHUB_ENV | ||
shell: bash | ||
|
@@ -227,7 +228,7 @@ jobs: | |
- params | ||
- build | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Run Test | ||
run: gosu circleci make -C src/test/${{ matrix.suite }} ${{ matrix.make }} | ||
|
@@ -261,7 +262,7 @@ jobs: | |
- ${{ needs.params.outputs.pg16_version }} | ||
parallel: [0,1,2,3,4,5] # workaround for running 6 parallel jobs | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Test arbitrary configs | ||
run: |- | ||
|
@@ -311,7 +312,7 @@ jobs: | |
old_pg_major: ${{ matrix.old_pg_major }} | ||
new_pg_major: ${{ matrix.new_pg_major }} | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
with: | ||
pg_major: "${{ env.old_pg_major }}" | ||
|
@@ -349,7 +350,7 @@ jobs: | |
- params | ||
- build | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
with: | ||
skip_installation: true | ||
|
@@ -413,7 +414,7 @@ jobs: | |
needs: | ||
- build | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: azure/login@v1 | ||
with: | ||
creds: ${{ secrets.AZURE_CREDENTIALS }} | ||
|
@@ -431,7 +432,7 @@ jobs: | |
needs: | ||
- build | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: azure/login@v1 | ||
with: | ||
creds: ${{ secrets.AZURE_CREDENTIALS }} | ||
|
@@ -450,7 +451,7 @@ jobs: | |
outputs: | ||
json: ${{ steps.parallelization.outputs.json }} | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/parallelization" | ||
id: parallelization | ||
with: | ||
|
@@ -463,7 +464,7 @@ jobs: | |
outputs: | ||
tests: ${{ steps.detect-regression-tests.outputs.tests }} | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Detect regression tests need to be ran | ||
|
@@ -514,7 +515,7 @@ jobs: | |
fail-fast: false | ||
matrix: ${{ fromJson(needs.prepare_parallelization_matrix_32.outputs.json) }} | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Run minimal tests | ||
run: |- | ||
|
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
Oops, something went wrong.