Commit c0dc83f
✨ e2e: isolate tests with per-scenario dynamic catalogs (#2651)
* e2e: add design spec for test isolation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* e2e: move bundle test builders to internal/testing/bundle/
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* e2e: add catalog builder library and registry deployment
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* e2e: convert all tests to per-scenario dynamic catalogs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* e2e: update extension-developer-e2e to use registry library
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* e2e: remove old static test infrastructure and clean up
* e2e: use port-forward instead of hostPort for registry access
Replace the localhost:30000 hostPort-based registry access with
Kubernetes port-forwarding. This makes the test runner work regardless
of the cluster network topology (not just kind with extraPortMappings).
- Remove port 30000 extraPortMappings from kind configs
- Add PortForward() to the registry package using SPDY
- Use port-forward in e2e steps and extension-developer-e2e
- Remove LOCAL_REGISTRY_HOST env var (no longer needed)
- Keep NodePort service for containerd on kind nodes (hosts.toml)
* e2e: bump experimental e2e timeout to 20m
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c92a607 commit c0dc83f
84 files changed
Lines changed: 2254 additions & 4025 deletions
File tree
- docs/designs/testing/2026-04-13-e2e-isolation
- hack/kind-config/containerd/certs.d
- docker-registry.operator-controller-e2e.svc.cluster.local:5000
- internal
- operator-controller
- applier
- config
- rukpak
- bundle/source
- render
- registryv1
- generators
- validators
- testing/bundle
- csv
- fs
- kind-config
- testdata
- images
- bundles
- large-crd-operator/v1.0.0
- manifests
- metadata
- own-namespace-operator/v1.0.0
- manifests
- metadata
- single-namespace-operator/v1.0.0
- manifests
- metadata
- test-operator
- v1.0.0
- manifests
- metadata
- v1.0.2
- manifests
- metadata
- v1.0.3
- manifests
- metadata
- v1.2.0
- manifests
- metadata
- catalogs/test-catalog
- v1/configs
- v2/configs
- push
- test
- e2e
- features
- steps
- testdata
- extension-developer-e2e
- helpers
- internal
- catalog
- registry
- upgrade-e2e/features
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
| 262 | + | |
271 | 263 | | |
272 | | - | |
273 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
274 | 267 | | |
275 | 268 | | |
276 | | - | |
| 269 | + | |
277 | 270 | | |
278 | 271 | | |
279 | 272 | | |
| |||
298 | 291 | | |
299 | 292 | | |
300 | 293 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | 294 | | |
311 | 295 | | |
312 | 296 | | |
| |||
320 | 304 | | |
321 | 305 | | |
322 | 306 | | |
323 | | - | |
| 307 | + | |
324 | 308 | | |
325 | 309 | | |
326 | 310 | | |
| |||
331 | 315 | | |
332 | 316 | | |
333 | 317 | | |
334 | | - | |
335 | | - | |
| 318 | + | |
| 319 | + | |
336 | 320 | | |
337 | 321 | | |
338 | 322 | | |
| |||
349 | 333 | | |
350 | 334 | | |
351 | 335 | | |
352 | | - | |
| 336 | + | |
353 | 337 | | |
354 | 338 | | |
355 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| 177 | + | |
175 | 178 | | |
176 | 179 | | |
177 | 180 | | |
| |||
182 | 185 | | |
183 | 186 | | |
184 | 187 | | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
187 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
90 | | - | |
91 | | - | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
274 | 276 | | |
275 | 277 | | |
276 | 278 | | |
| 279 | + | |
| 280 | + | |
277 | 281 | | |
278 | 282 | | |
279 | 283 | | |
| |||
369 | 373 | | |
370 | 374 | | |
371 | 375 | | |
| 376 | + | |
| 377 | + | |
372 | 378 | | |
373 | 379 | | |
374 | 380 | | |
| |||
393 | 399 | | |
394 | 400 | | |
395 | 401 | | |
| 402 | + | |
| 403 | + | |
396 | 404 | | |
397 | 405 | | |
398 | 406 | | |
| |||
Lines changed: 0 additions & 3 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
0 commit comments