-
Notifications
You must be signed in to change notification settings - Fork 666
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from gokhangulbiz/circleci-gha-migration-pr-tri…
…gger
- Loading branch information
Showing
4 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.github/actions/install_extension/action.yml → .github/actions/setup_extension/action.yml
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: install_extension | ||
name: setup_extension | ||
inputs: | ||
pg_major: | ||
required: false | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: Build & Test | ||
run-name: Build & Test - ${{ github.event.pull_request.number || github.ref_name }} - ${{ github.sha }} | ||
run-name: Build & Test - ${{ github.event.pull_request.title || github.ref_name }} | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
@@ -170,7 +170,7 @@ jobs: | |
- build | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/install_extension" | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Run Test | ||
run: gosu circleci make -C src/test/${{ matrix.suite }} ${{ matrix.make }} | ||
timeout-minutes: 20 | ||
|
@@ -182,6 +182,7 @@ jobs: | |
if: always() | ||
with: | ||
flags: ${{ env.PG_MAJOR }}_${{ matrix.suite }}_${{ matrix.make }} | ||
codecov_token: ${{ secrets.CODECOV_TOKEN }} | ||
prepare_parallelization_matrix_6: | ||
name: Parallel 6 | ||
runs-on: ubuntu-latest | ||
|
@@ -195,10 +196,8 @@ jobs: | |
with: | ||
count: 6 | ||
test-arbitrary-configs: | ||
if: ${{ false }} | ||
# disable this job till we have 16core VMs | ||
name: PG${{ matrix.pg_version }} - regress - check-arbitrary-configs | ||
runs-on: ubuntu-latest #-16core | ||
runs-on: ubuntu-latest #-16core - we need 16 cores VMs to run this job successfully | ||
container: | ||
image: "${{ matrix.image_name }}:${{ matrix.pg_version }}${{ vars.image_suffix }}" | ||
options: --user root | ||
|
@@ -216,7 +215,7 @@ jobs: | |
parallel: [1,2,3,4,5,6] | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/install_extension" | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Test arbitrary configs | ||
run: |- | ||
TESTS=$(src/test/regress/citus_tests/print_test_names.py) | ||
|
@@ -233,6 +232,7 @@ jobs: | |
if: always() | ||
with: | ||
flags: ${{ env.pg_major }}_upgrade | ||
codecov_token: ${{ secrets.CODECOV_TOKEN }} | ||
test-pg-upgrade: | ||
runs-on: ubuntu-latest | ||
container: | ||
|
@@ -248,10 +248,10 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
path: "." | ||
- uses: "./.github/actions/install_extension" | ||
- uses: "./.github/actions/setup_extension" | ||
with: | ||
pg_major: "${{ env.old_pg_major }}" | ||
- uses: "./.github/actions/install_extension" | ||
- uses: "./.github/actions/setup_extension" | ||
with: | ||
pg_major: "${{ env.new_pg_major }}" | ||
- name: Install and test postgres upgrade | ||
|
@@ -274,6 +274,7 @@ jobs: | |
if: always() | ||
with: | ||
flags: ${{ env.old_pg_major }}_${{ env.new_pg_major }}_upgrade | ||
codecov_token: ${{ secrets.CODECOV_TOKEN }} | ||
test-citus-upgrade: | ||
runs-on: ubuntu-latest | ||
container: | ||
|
@@ -283,7 +284,7 @@ jobs: | |
- build | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/install_extension" | ||
- uses: "./.github/actions/setup_extension" | ||
with: | ||
skip_installation: true | ||
- name: Install and test citus upgrade | ||
|
@@ -316,6 +317,7 @@ jobs: | |
if: always() | ||
with: | ||
flags: ${{ env.pg_major }}_upgrade | ||
codecov_token: ${{ secrets.CODECOV_TOKEN }} | ||
upload-coverage: | ||
if: always() | ||
env: | ||
|
@@ -429,7 +431,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/install_extension" | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Run minimal tests | ||
run: |- | ||
tests="${{ needs.test-flakyness-pre.outputs.tests }}" | ||
|
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 |
---|---|---|
|
@@ -68,7 +68,7 @@ jobs: | |
matrix: ${{ fromJson(needs.prepare_parallelization_matrix.outputs.json) }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/install_extension" | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Run minimal tests | ||
run: |- | ||
gosu circleci src/test/regress/citus_tests/run_test.py ${{ env.test }} --repeat ${{ env.runs }} --use-base-schedule --use-whole-schedule-line | ||
|