-
Notifications
You must be signed in to change notification settings - Fork 14
79 lines (75 loc) · 2.37 KB
/
fb-tarball-suite.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
name: _FB tarball tests
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
package_testing_branch:
description: 'Target branch for package-testing repository'
type: string
default: 'master'
required: true
pmm_server_image:
description: "pmm-server docker image"
required: true
type: string
default: "perconalab/pmm-server:dev-latest"
pmm_client_tarball:
description: "PMM Client tarball link or FB-code"
default: 'dev-latest'
type: string
required: true
metrics_mode:
description: 'Select the Metrics Mode for PMM Client:'
required: true
default: 'auto'
type: choice
options:
- auto
- push
- pull
sha:
description: "SHA (leave default if running manually)"
default: 'null'
required: false
type: string
workflow_call:
inputs:
package_testing_branch:
type: string
required: false
pmm_server_image:
required: true
type: string
pmm_client_tarball:
type: string
required: true
metrics_mode:
type: string
required: false
sha:
required: false
type: string
jobs:
tarball_install:
name: Tarball Install test
uses: ./.github/workflows/package-test-fb.yml
secrets: inherit
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:dev-latest' }}
pmm_client_tarball: ${{ inputs.pmm_client_tarball || 'dev-latest' }}
playbook: 'pmm2-client_integration_custom_port'
test_name: 'tarball install'
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
tarball_upgrade:
name: Tarball Upgrade test
uses: ./.github/workflows/package-test-fb.yml
secrets: inherit
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:dev-latest' }}
pmm_client_tarball: ${{ inputs.pmm_client_tarball || 'dev-latest' }}
playbook: 'pmm2-client_integration_upgrade_custom_path'
test_name: 'tarball upgrade'
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}