-
Notifications
You must be signed in to change notification settings - Fork 21
115 lines (110 loc) · 3.28 KB
/
pmm-package-test-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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
name: Package Test Matrix
on:
workflow_dispatch:
inputs:
package_testing_branch:
description: 'Target branch for package-testing repository'
type: string
default: 'master'
required: true
repository:
description: 'Select Repo for Client:'
required: true
default: 'dev-latest'
type: choice
options:
- release
- release candidate
- patch-release candidate
- dev-latest
metrics_mode:
description: 'Select the Metrics Mode for PMM Client:'
required: true
default: 'auto'
type: choice
options:
- auto
- push
- pull
push:
branches:
- PMM-12770-gh-action
jobs:
get_versions:
name: Get versions
uses: percona/pmm-ui-tests/.github/workflows/pmm-version-getter.yml@main
with:
repository: ${{ inputs.repository || 'release'}}
i_test:
name: "pmm2-client_integration"
uses: ./.github/workflows/pmm-package-test.yml
secrets: inherit
needs: get_versions
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
playbook: "pmm2-client_integration"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
u_test:
name: "pmm2-client_integration_upgrade"
uses: ./.github/workflows/pmm-package-test.yml
secrets: inherit
needs: get_versions
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
playbook: "pmm2-client_integration_upgrade"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
t_test:
name: "pmm2-client_integration_upgrade_custom_path"
uses: ./.github/workflows/pmm-package-test.yml
secrets: inherit
needs: get_versions
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
playbook: "pmm2-client_integration_upgrade_custom_path"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}