This repository was archived by the owner on Aug 1, 2024. It is now read-only.
Commit c180e48
committed
build: ensure check.sh fails if *any* requested check fails
The current logic, which is bugged, is:
if at least one health check succeeded, check.sh succeeds.
otherwise, check.sh fails.
This is bugged because it allows CI to pass even if all
healthchecks except for one failed.
We change the logic to instead be:
if no checks ran at all OR if at least one check failed, check.sh fails.
otherwise, check.sh suceeds.1 parent 8009b94 commit c180e48
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
0 commit comments