-
Notifications
You must be signed in to change notification settings - Fork 1
77 lines (71 loc) · 2.09 KB
/
PMM_PSMDB_PBM.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: PMM_PSMDB_PBM
on:
workflow_dispatch:
inputs:
psmdb_version:
description: "psmdb version"
default: "latest"
required: false
pbm_version:
description: "pbm version"
default: "latest"
required: false
pmm_version:
description: "pmm2-client version"
default: "3-dev-latest"
required: false
pmm_image:
description: "pmm-server docker image"
default: "perconalab/pmm-server:3-dev-latest"
required: false
push:
branches:
- main
- -v3
pull_request:
branches:
- main
- v3
jobs:
test_replica_set:
runs-on: ubuntu-20.04
timeout-minutes: 20
env:
PSMDB_VERSION: ${{ inputs.psmdb_version || 'latest' }}
PBM_VERSION: ${{ inputs.pbm_version || 'latest' }}
PMM_CLIENT_VERSION: ${{ inputs.pmm_version || '3-dev-latest' }}
PMM_IMAGE: ${{ inputs.pmm_image || 'perconalab/pmm-server:3-dev-latest' }}
steps:
- uses: actions/checkout@v2
- name: test-rs
run: |
./start-rs.sh
working-directory: ./pmm_psmdb-pbm_setup
test_sharded_cluster:
runs-on: ubuntu-20.04
timeout-minutes: 20
env:
PSMDB_VERSION: ${{ inputs.psmdb_version || 'latest' }}
PBM_VERSION: ${{ inputs.pbm_version || 'latest' }}
PMM_CLIENT_VERSION: ${{ inputs.pmm_version || '3-dev-latest' }}
PMM_IMAGE: ${{ inputs.pmm_image || 'perconalab/pmm-server:3-dev-latest' }}
steps:
- uses: actions/checkout@v2
- name: test-sharded
run: |
./start-sharded.sh
working-directory: ./pmm_psmdb-pbm_setup
test_diff_auth:
runs-on: ubuntu-20.04
timeout-minutes: 20
env:
PSMDB_VERSION: ${{ inputs.psmdb_version || 'latest' }}
PBM_VERSION: ${{ inputs.pbm_version || 'latest' }}
PMM_CLIENT_VERSION: ${{ inputs.pmm_version || '3-dev-latest' }}
PMM_IMAGE: ${{ inputs.pmm_image || 'perconalab/pmm-server:3-dev-latest' }}
steps:
- uses: actions/checkout@v3
- name: test-auth
run: |
./test-auth.sh
working-directory: ./pmm_psmdb_diffauth_setup