-
Notifications
You must be signed in to change notification settings - Fork 1
74 lines (68 loc) · 2.15 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
name: PMM_PSMDB_PBM
on:
workflow_dispatch:
inputs:
psmdb_version:
description: "psmdb version"
required: false
pbm_version:
description: "pbm version"
required: false
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-20.04
timeout-minutes: 20
env:
PSMDB_VERSION: ${{ github.event.inputs.psmdb_version || 'latest' }}
PBM_VERSION: ${{ github.event.inputs.pbm_version || 'latest' }}
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
run: |
./start-rs.sh
working-directory: ./pmm_psmdb-pbm_setup
test_sharded_cluster:
runs-on: ubuntu-20.04
timeout-minutes: 20
env:
PSMDB_VERSION: ${{ github.event.inputs.psmdb_version || 'latest' }}
PBM_VERSION: ${{ github.event.inputs.pbm_version || 'latest' }}
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
run: |
./start-sharded.sh
working-directory: ./pmm_psmdb-pbm_setup
test_diff_auth:
runs-on: ubuntu-20.04
timeout-minutes: 20
env:
PSMDB_VERSION: ${{ github.event.inputs.psmdb_version || 'latest' }}
PBM_VERSION: ${{ github.event.inputs.pbm_version || 'latest' }}
PMM_CLIENT_VERSION: ${{ github.event.inputs.pmm_version || 'latest' }}
PMM_IMAGE: ${{ github.event.inputs.pmm_image || 'perconalab/pmm-server:dev-latest' }}
steps:
- uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: '2.17.2'
- uses: actions/checkout@v3
- name: test-auth
run: |
./test-auth.sh
working-directory: ./pmm_psmdb_diffauth_setup