Commit 860f47c
authored
fix(flake-info): fail group import when any member fails (#1238)
The 2-hourly flake import previously exited 0 even when individual
group members failed to evaluate, leaving CI green and hiding the
failure until a user reported it.
`flake-info group` now still pushes the successfully evaluated members
to Elasticsearch, but propagates a non-zero exit afterwards so the
workflow fails. The `import-flakes` job in the 2-hourly workflow also
gains the same `Create issue if failed` step that `import-nixpkgs`
already has, so a tracking issue is opened on failure.
Closes #12331 parent 1eb6dd4 commit 860f47c
2 files changed
Lines changed: 44 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
204 | 210 | | |
205 | 211 | | |
206 | 212 | | |
| |||
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
226 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
227 | 240 | | |
228 | 241 | | |
229 | 242 | | |
| |||
249 | 262 | | |
250 | 263 | | |
251 | 264 | | |
252 | | - | |
| 265 | + | |
253 | 266 | | |
254 | 267 | | |
255 | 268 | | |
| |||
284 | 297 | | |
285 | 298 | | |
286 | 299 | | |
| 300 | + | |
287 | 301 | | |
288 | 302 | | |
289 | 303 | | |
| |||
316 | 330 | | |
317 | 331 | | |
318 | 332 | | |
| 333 | + | |
319 | 334 | | |
320 | 335 | | |
321 | 336 | | |
| |||
369 | 384 | | |
370 | 385 | | |
371 | 386 | | |
372 | | - | |
| 387 | + | |
373 | 388 | | |
374 | 389 | | |
375 | 390 | | |
| |||
383 | 398 | | |
384 | 399 | | |
385 | 400 | | |
386 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
387 | 406 | | |
388 | 407 | | |
389 | 408 | | |
| |||
395 | 414 | | |
396 | 415 | | |
397 | 416 | | |
398 | | - | |
| 417 | + | |
399 | 418 | | |
400 | 419 | | |
401 | 420 | | |
| |||
0 commit comments