-
Notifications
You must be signed in to change notification settings - Fork 1
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 #91 from Percona-Lab/PSMDB_gh_workflow
PSMDB. Run tests for all major versions
- Loading branch information
Showing
3 changed files
with
72 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: PMM_PSMDB_PBM_FULL | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pmm_version: | ||
description: "pmm2-client version" | ||
required: false | ||
pmm_image: | ||
description: "pmm-server docker image" | ||
required: false | ||
|
||
push: | ||
branches: | ||
- main | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test_replica_set: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 20 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
psmdb: ["6.0", "7.0"] | ||
env: | ||
PMM_CLIENT_VERSION: ${{ github.event.inputs.pmm_version || 'latest' }} | ||
PMM_IMAGE: ${{ github.event.inputs.pmm_image || 'perconalab/pmm-server:dev-latest' }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Test RS with PSMDB ${{ matrix.psmdb }} | ||
run: | | ||
PSMDB_VERSION=${{ matrix.psmdb }} ./start-rs.sh | ||
working-directory: ./pmm_psmdb-pbm_setup | ||
|
||
test_sharded_cluster: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 20 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
psmdb: ["6.0", "7.0"] | ||
env: | ||
PMM_CLIENT_VERSION: ${{ github.event.inputs.pmm_version || 'latest' }} | ||
PMM_IMAGE: ${{ github.event.inputs.pmm_image || 'perconalab/pmm-server:dev-latest' }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Test sharded with PSMDB ${{ matrix.psmdb }} | ||
run: | | ||
PSMDB_VERSION=${{ matrix.psmdb }} ./start-sharded.sh | ||
working-directory: ./pmm_psmdb-pbm_setup | ||
|
||
test_diff_auth: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 20 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
psmdb: ["6.0", "7.0"] | ||
env: | ||
PMM_CLIENT_VERSION: ${{ github.event.inputs.pmm_version || 'latest' }} | ||
PMM_IMAGE: ${{ github.event.inputs.pmm_image || 'perconalab/pmm-server:dev-latest' }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Test auth with PSMDB ${{ matrix.psmdb }} | ||
run: | | ||
PSMDB_VERSION=${{ matrix.psmdb }} ./test-auth.sh | ||
working-directory: ./pmm_psmdb_diffauth_setup |
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