Commit 9678a21
committed
Matrix: retry docker push on exception, drop to 3 attempts
push() throwing was bypassing the verify loop and failing the build
immediately. Wrap push() so a thrown push counts as one of the retry
attempts alongside the post-push visibility check. Aligns with review
feedback that Harbor push itself is a flaky surface, not only the
post-push registry visibility race. Lower attempts from 6 to 3 since
the loop now covers both failure modes with one budget.1 parent f0edcd3 commit 9678a21
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | | - | |
| 1193 | + | |
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
1197 | | - | |
1198 | | - | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1199 | 1206 | | |
1200 | 1207 | | |
1201 | 1208 | | |
1202 | 1209 | | |
1203 | 1210 | | |
1204 | | - | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
1205 | 1214 | | |
1206 | 1215 | | |
1207 | 1216 | | |
| |||
0 commit comments