-
Notifications
You must be signed in to change notification settings - Fork 1
176 lines (153 loc) · 4.89 KB
/
job_1603_16__cron.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# SPDX-License-Identifier: Unlicense OR 0BSD
# .github/workflows/job_1603_16__cron.yml
name: job_1603_16__cron
on:
schedule:
# we will split by UNm49 to avoid overload jobs at once
- cron: "30 0 * * *"
- cron: "30 1 * * *"
- cron: "30 2 * * *"
- cron: "30 3 * * *"
- cron: "30 4 * * *"
- cron: "30 5 * * *"
- cron: "30 6 * * *"
- cron: "30 7 * * *"
- cron: "30 8 * * *"
- cron: "30 9 * * *"
jobs:
job_1603_16__cron__common:
runs-on: ubuntu-latest
steps:
- name: Always run
run: |
echo "TODO Always run test"
- name: 0-99
if: github.event.schedule=='30 0 * * *'
run: |
echo "TODO 0-99"
- name: 100-199
if: github.event.schedule=='30 1 * * *'
run: |
echo "TODO 100-199"
- name: 200-299
if: github.event.schedule=='30 2 * * *'
run: |
echo "TODO 200-299"
- name: 300-399
if: github.event.schedule=='30 3 * * *'
run: |
echo "TODO 300-399"
- name: 400-499
if: github.event.schedule=='30 4 * * *'
run: |
echo "TODO 400-499"
- name: 500-599
if: github.event.schedule=='30 5 * * *'
run: |
echo "TODO 500-599"
- name: 600-699
if: github.event.schedule=='30 6 * * *'
run: |
echo "TODO 600-699"
- name: 700-799
if: github.event.schedule=='30 7 * * *'
run: |
echo "TODO 700-799"
- name: 800-899
if: github.event.schedule=='30 8 * * *'
run: |
echo "TODO 800-899"
- name: 900-999
if: github.event.schedule=='30 9 * * *'
run: |
echo "TODO 900-999"
job_1603_16__cron__0-99:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 0 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 0
UNM49_FINALI: 99
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__100-199:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 1 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 100
UNM49_FINALI: 199
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__200-299:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 2 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 200
UNM49_FINALI: 299
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__300-399:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 3 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 300
UNM49_FINALI: 399
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__400-399:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 4 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 400
UNM49_FINALI: 499
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__500-599:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 5 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 500
UNM49_FINALI: 599
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__600-699:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 6 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 600
UNM49_FINALI: 699
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__700-799:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 7 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 700
UNM49_FINALI: 799
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__800-899:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 8 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 800
UNM49_FINALI: 899
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}
job_1603_16__cron__900-999:
uses: ./.github/workflows/r1603_16__NNN-NNN.yml
if: github.event.schedule=='30 9 * * *'
with:
AUTOMATON__1603_16__CPLP_UNICAE: "0"
UNM49_INITIALI: 900
UNM49_FINALI: 999
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY__ID_ED25519__GITHUBRUNNER2022 }}