-
Notifications
You must be signed in to change notification settings - Fork 3
123 lines (117 loc) · 3.53 KB
/
scheduled-by-category.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
116
117
118
119
120
121
122
123
# Periodic Tests by Category
#
# This workflow runs on a schedule with 4 main frequencies, hourly, six-hourly and two daily
# (midnight and noon) and for each of those periodicies different sets of test category tags.
name: Periodic Tests by Category
on:
schedule:
- cron: '0 * * * *' # Hourly tests
- cron: '0 */6 * * *' # Six-hourly tests
- cron: '0 0 * * *' # Daily tests (midnight)
- cron: '0 12 * * *' # Daily tests (noon)
push:
branches:
- schedule-all # for debugging purposes, a branch name can be used here
jobs:
hourly-tests:
if: github.event.schedule == '0 * * * *' # Hourly schedule
strategy:
fail-fast: false
matrix:
category:
- BucketManagement
- BucketPermission
- BucketSharing
- BucketLabelling
- ColdStorage
- ServiceAccounts
region:
- br-ne1
- br-se1
client:
- aws
- mgc
- rclone
name: 1h ${{ matrix.category }} ${{ matrix.region }} ${{ matrix.client }}
uses: ./.github/workflows/run-tests.yml
with:
category: ${{ matrix.category }}
region: ${{ matrix.region }}
client: ${{ matrix.client }}
number_of_waits: ${{ vars.NUMBER_OF_WAITS }}
skip_known_issues: ${{ vars.SKIP_KNOWN_ISSUES }}
secrets:
PROFILES: ${{ secrets.PROFILES }}
six-hourly-tests:
if: github.event.schedule == '0 */6 * * *' # Six-hourly schedule
strategy:
fail-fast: false
matrix:
category:
- BucketPolicy
- ObjectManagement
- ObjectVersioning
region:
- br-ne1
- br-se1
client:
- aws
- mgc
- rclone
name: 6h ${{ matrix.category }} ${{ matrix.region }} ${{ matrix.client }}
uses: ./.github/workflows/run-tests.yml
with:
category: ${{ matrix.category }}
region: ${{ matrix.region }}
client: ${{ matrix.client }}
number_of_waits: ${{ vars.NUMBER_OF_WAITS }}
skip_known_issues: ${{ vars.SKIP_KNOWN_ISSUES }}
secrets:
PROFILES: ${{ secrets.PROFILES }}
daily-tests-noon:
if: github.event.schedule == '0 12 * * *' # Daily schedule (noon)
strategy:
matrix:
category:
- BigObjects
region:
- br-ne1
- br-se1
client:
- aws
- mgc
- rclone
name: 1d ${{ matrix.category }} ${{ matrix.region }} ${{ matrix.client }}
uses: ./.github/workflows/run-tests.yml
with:
category: ${{ matrix.category }}
region: ${{ matrix.region }}
client: ${{ matrix.client }}
number_of_waits: ${{ vars.NUMBER_OF_WAITS }}
skip_known_issues: ${{ vars.SKIP_KNOWN_ISSUES }}
secrets:
PROFILES: ${{ secrets.PROFILES }}
daily-tests-midnight:
if: github.event.schedule == '0 0 * * *' # Daily schedule (midnight)
strategy:
matrix:
category:
- BigBuckets
# - ObjectLocking # Disabled while Magalu Cloud doesn't launch the feature
region:
- br-ne1
- br-se1
client:
- aws
- mgc
- rclone
name: 1d ${{ matrix.category }} ${{ matrix.region }} ${{ matrix.client }}
uses: ./.github/workflows/run-tests.yml
with:
category: ${{ matrix.category }}
region: ${{ matrix.region }}
client: ${{ matrix.client }}
number_of_waits: ${{ vars.NUMBER_OF_WAITS }}
skip_known_issues: ${{ vars.SKIP_KNOWN_ISSUES }}
secrets:
PROFILES: ${{ secrets.PROFILES }}