Commit d496850
committed
fix(ci): make CI status reporting accurate
Two related fixes so that a single required status check on
'ci / ci_trunk / post-processing' correctly gates merges.
1) Make vela_*.bin copy optional in artifact backup.
Only full-image configs (goldfish) produce vela_*.bin; configs
like qemu-* only produce the nuttx ELF. When the glob resolved
to nothing cp failed with 'No such file or directory' and the
matrix job was marked failed even though the build succeeded.
Now nuttx and .config are copied required; vela_*.bin is best
effort with '|| true'.
Observed here:
https://github.com/open-vela/packages_fe_examples/actions/runs/25427679424/job/74586459600
2) Make post-processing fail when any matrix group failed.
Previously post-processing only reported status via curl to
dependent PRs; its own shell exited 0 regardless, so the job
stayed green even when ci-tasks aggregated to 'failure'. That
meant ruleset entries still pinned to the now-removed
'ubuntu22-01/02' checks were pending, and the actually failing
group (e.g. qemu) was not required, so PRs could merge.
Now post-processing exits 1 when needs.ci-tasks.result is not
success. This lets the ruleset require a single aggregate check
('ci / ci_trunk / post-processing' on trunk, or
'ci / ci_dev / post-processing' on dev) instead of listing every
matrix group by name; new vendor groups can be added without
updating the ruleset.1 parent 14d267f commit d496850
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
| |||
594 | 597 | | |
595 | 598 | | |
596 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
0 commit comments