Skip to content

Commit d1be855

Browse files
authored
PMM-14087 matrix cron workflow for testing (#802)
* PMM-14087 matrix cron workflow for testing * PMM-14087 handle defaults * PMM-14087 new line eof * PMM-14087 eof
1 parent a895326 commit d1be855

1 file changed

Lines changed: 77 additions & 0 deletions

File tree

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: V3 E2E Tests - Every 2 Hours
2+
3+
on:
4+
schedule:
5+
- cron: '0 */2 * * *'
6+
workflow_dispatch:
7+
inputs:
8+
pmm_ui_tests_branch:
9+
description: 'pmm-ui-tests repository branch(CLI tests)'
10+
default: 'v3'
11+
required: false
12+
type: string
13+
pmm_qa_branch:
14+
description: 'qa-integration repository branch(for setup)'
15+
default: 'v3'
16+
required: false
17+
type: string
18+
pmm_server_image:
19+
description: 'PMM Server docker image'
20+
default: 'perconalab/pmm-server-fb:PR-3982-1aa6576'
21+
required: true
22+
type: string
23+
pmm_client_image:
24+
description: 'pmm-client docker image'
25+
default: 'perconalab/pmm-client-fb:PR-3982-1aa6576'
26+
required: false
27+
type: string
28+
pmm_client_version:
29+
description: 'PMM Client version (3-dev-latest|pmm3-rc|x.xx.x|https...)'
30+
default: 'https://s3.us-east-2.amazonaws.com/pmm-build-cache/PR-BUILDS/pmm-client/pmm-client-PR-3982-1aa6576.tar.gz'
31+
required: false
32+
type: string
33+
sha:
34+
description: "SHA (leave default if running manually)"
35+
default: 'null'
36+
required: false
37+
type: string
38+
39+
workflow_call:
40+
inputs:
41+
pmm_ui_tests_branch:
42+
required: false
43+
type: string
44+
pmm_qa_branch:
45+
required: false
46+
type: string
47+
pmm_server_image:
48+
required: true
49+
type: string
50+
pmm_client_image:
51+
required: false
52+
type: string
53+
pmm_client_version:
54+
required: false
55+
type: string
56+
sha:
57+
required: false
58+
type: string
59+
60+
secrets:
61+
BACKUP_LOCATION_ACCESS_KEY:
62+
required: false
63+
BACKUP_LOCATION_SECRET_KEY:
64+
required: false
65+
66+
jobs:
67+
trigger_v3-e2e-codeceptjs:
68+
name: V3 E2E CodeceptJS Matrix Workflow
69+
uses: percona/pmm-qa/.github/workflows/e2e-codeceptjs-matrix.yml@v3
70+
secrets: inherit
71+
with:
72+
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
73+
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server-fb:PR-3982-1aa6576' }}
74+
pmm_client_version: ${{ inputs.pmm_client_version || 'https://s3.us-east-2.amazonaws.com/pmm-build-cache/PR-BUILDS/pmm-client/pmm-client-PR-3982-1aa6576.tar.gz' }}
75+
pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-client-fb:PR-3982-1aa6576' }}
76+
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'v3' }}
77+
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'v3' }}

0 commit comments

Comments
 (0)