Repository navigation
Commit 4990143
committed
test(e2e): harden ghcr-mirror endpoint resolution, drop dead helper
Address non-blocking review nits on the ghcr-mirror helper:
- Only commit the mirror endpoint once its tenant egress allow actually
applied; a failed policy apply now falls back to direct pulls instead of
pointing workers at a ClusterIP the default-deny egress drops (keeps the
'can only help, never make CI worse' invariant).
- Distinguish a genuine NotFound (stable, cached) from a transient apiserver
error (not cached, retried) so one blip does not disable the mirror for the
whole sandbox run; write the decision file atomically (temp + mv).
- Remove talos_image_factory_spec_block from talos-image-cache.sh: it became
dead code once run-kubernetes.sh was rewired to the combined talos_spec_block.
Refs #3513
Signed-off-by: IvanHunters <[email protected]>1 parent 020c545 commit 4990143
2 files changed
Lines changed: 30 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
55 | 72 | | |
56 | | - | |
| 73 | + | |
57 | 74 | | |
58 | | - | |
| 75 | + | |
59 | 76 | | |
60 | 77 | | |
61 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
62 | 85 | | |
63 | | - | |
64 | 86 | | |
65 | 87 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
0 commit comments