-
Notifications
You must be signed in to change notification settings - Fork 220
61 lines (60 loc) · 2.09 KB
/
nightly-main-e2e.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
name: Nightly Main E2E tests
on:
workflow_dispatch:
schedule:
- cron: '0 16 * * *'
jobs:
main_e2e_1:
name: "Run Main E2E Tests 1"
uses: ./.github/workflows/e2e-run.yml
if: ${{ github.repository_owner == 'AutoMQ' }}
with:
suite-id: "main1"
test-yaml: "tests/suites/main_kos_test_suite1.yml"
runner: "e2e"
main_e2e_2:
name: "Run Main E2E Tests 2"
uses: ./.github/workflows/e2e-run.yml
if: ${{ github.repository_owner == 'AutoMQ' }}
with:
suite-id: "main2"
test-yaml: "tests/suites/main_kos_test_suite2.yml"
runner: "e2e"
main_e2e_3:
name: "Run Main E2E Tests 3"
uses: ./.github/workflows/e2e-run.yml
if: ${{ github.repository_owner == 'AutoMQ' }}
with:
suite-id: "main3"
test-yaml: "tests/suites/main_kos_test_suite3.yml"
runner: "e2e"
main_e2e_4:
name: "Run Main E2E Tests 4"
uses: ./.github/workflows/e2e-run.yml
if: ${{ github.repository_owner == 'AutoMQ' }}
with:
suite-id: "main4"
test-yaml: "tests/suites/main_kos_test_suite4.yml"
runner: "e2e"
main_e2e_5:
name: "Run Main E2E Tests 5"
uses: ./.github/workflows/e2e-run.yml
if: ${{ github.repository_owner == 'AutoMQ' }}
with:
suite-id: "main5"
test-path: "tests/kafkatest/automq"
runner: "e2e"
e2e_summary:
runs-on: "e2e"
name: "E2E Tests Summary"
if: ${{ always() && github.repository_owner == 'AutoMQ' }}
needs: [ main_e2e_1, main_e2e_2, main_e2e_3, main_e2e_4, main_e2e_5 ]
steps:
- name: Report results
run: python3 tests/report_e2e_results.py
env:
CURRENT_REPO: ${{ github.repository }}
RUN_ID: ${{ github.run_id }}
WEB_HOOK_URL: ${{ secrets.E2E_REPORT_WEB_HOOK_URL }}
DATA_MAP: "{\"main_e2e_1\": ${{ toJSON(needs.main_e2e_1.outputs) }}, \"main_e2e_2\": ${{ toJSON(needs.main_e2e_2.outputs) }}, \"main_e2e_3\": ${{ toJSON(needs.main_e2e_3.outputs) }}, \"main_e2e_4\": ${{ toJSON(needs.main_e2e_4.outputs) }}, \"main_e2e_5\": ${{ toJSON(needs.main_e2e_5.outputs) }}}"
REPORT_TITLE_PREFIX: "Main"