-
Notifications
You must be signed in to change notification settings - Fork 4
60 lines (56 loc) · 2.32 KB
/
pmm-ui-tests-matrix.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
name: PMM e2e Tests(Playwright)
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
pmm_ui_tests_branch:
description: 'pmm-ui-tests repository branch'
default: 'main'
required: true
pmm_qa_branch:
description: 'pmm-qa repository branch(for setup)'
default: 'main'
required: true
pmm_server_version:
description: 'PMM Server docker image'
default: 'perconalab/pmm-server:dev-latest'
required: true
pmm_client_version:
description: 'PMM Client version to test (dev-latest|pmm2-latest|pmm2-rc|x.xx.x)'
default: 'dev-latest'
required: true
jobs:
rbac:
name: RBAC
uses: ./.github/workflows/pmm-ui-tests.yml
secrets: inherit
with:
pmm_ui_tests_branch: ${{ github.event.inputs.pmm_ui_tests_branch || github.head_ref || 'main '}}
pmm_test_flag: '@rbac'
pmm_server_version: ${{ github.event.inputs.pmm_server_version || 'perconalab/pmm-server:dev-latest' }}
pmm_client_version: ${{ github.event.inputs.pmm_client_version || 'dev-latest' }}
pmm_clients: '--addclient=ps,1 --addclient=pdpgsql,1'
pmm_qa_branch: ${{ github.event.inputs.pmm_qa_branch || 'main' }}
portal:
name: Portal
uses: ./.github/workflows/pmm-ui-tests.yml
secrets: inherit
with:
pmm_ui_tests_branch: ${{ github.event.inputs.pmm_ui_tests_branch || github.head_ref || 'main '}}
pmm_test_flag: '@portal'
pmm_server_version: ${{ github.event.inputs.pmm_server_version || 'perconalab/pmm-server:dev-latest' }}
pmm_client_version: ${{ github.event.inputs.pmm_client_version || 'dev-latest' }}
pmm_clients: ''
pmm_qa_branch: ${{ github.event.inputs.pmm_qa_branch || 'main' }}
inventory:
name: Inventory
uses: ./.github/workflows/pmm-ui-tests.yml
secrets: inherit
with:
pmm_ui_tests_branch: ${{ github.event.inputs.pmm_ui_tests_branch || github.head_ref || 'main '}}
pmm_test_flag: '@inventory'
pmm_server_version: ${{ github.event.inputs.pmm_server_version || 'perconalab/pmm-server:dev-latest' }}
pmm_client_version: ${{ github.event.inputs.pmm_client_version || 'dev-latest' }}
pmm_clients: '--addclient=modb,1 --addclient=ps,1 --addclient=pdpgsql,1'
pmm_qa_branch: ${{ github.event.inputs.pmm_qa_branch || 'main' }}