-
Notifications
You must be signed in to change notification settings - Fork 198
103 lines (89 loc) · 2.65 KB
/
test_daily.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
name: test:daily
on:
schedule:
- cron: "0 8 * * *"
repository_dispatch:
types: ["test:daily"]
workflow_dispatch:
jobs:
lint:
uses: ./.github/workflows/_lint.yml
unit:
uses: ./.github/workflows/_test_unit.yml
with:
excludePackages: cmd/werf/docs
coverage: true
e2e_simple_per-k8s-version:
uses: ./.github/workflows/_test_e2e_per-k8s-version.yml
with:
scope: simple
secrets: inherit
# e2e_complex_per-k8s-version:
# uses: ./.github/workflows/_test_e2e_per-k8s-version.yml
# with:
# scope: complex
# timeout: 120
# secrets: inherit
# e2e_extra_per-k8s-version:
# uses: ./.github/workflows/_test_e2e_per-k8s-version.yml
# with:
# scope: extra
# secrets: inherit
integration_main:
uses: ./.github/workflows/_test_integration_regular.yml
with:
packages: integration/suites
excludePackages: integration/suites/deploy,integration/suites/cleanup_after_converge,integration/suites/helm/deploy_rollback,integration/suites/bundles,integration/suites/ansible,integration/suites/build/stapel_image/git,integration/suites/docs
fetchDepth: 0 # Git history as fixtures for tests.
coverage: true
secrets: inherit
integration_git:
uses: ./.github/workflows/_test_integration_regular.yml
with:
packages: integration/suites/build/stapel_image/git
coverage: true
secrets: inherit
integration_ansible:
uses: ./.github/workflows/_test_integration_regular.yml
with:
packages: integration/suites/ansible
coverage: true
secrets: inherit
integration_per-k8s:
uses: ./.github/workflows/_test_integration_per-k8s-version.yml
with:
coverage: true
secrets: inherit
integration_per-cr:
uses: ./.github/workflows/_test_integration_per-container-registry.yml
with:
coverage: true
secrets: inherit
integration_per-k8s-and-cr:
uses: ./.github/workflows/_test_integration_per-k8s-version-and-container-registry.yml
with:
coverage: true
secrets: inherit
coverage_report:
uses: ./.github/workflows/_coverage_report.yml
needs:
- unit
- integration_main
- integration_git
- integration_ansible
- integration_per-k8s
- integration_per-cr
- integration_per-k8s-and-cr
- e2e_simple_per-k8s-version
# - e2e_complex_per-k8s-version
# - e2e_extra_per-k8s-version
secrets: inherit
notify:
if: always()
needs:
- lint
- coverage_report
uses: ./.github/workflows/_notification.yml
secrets:
mentionGroupID: ${{ secrets.SLACK_MENTION_GROUP_ID }}
webhook: ${{ secrets.SLACK_WEBHOOK }}