@@ -310,9 +310,9 @@ def get_targets() -> Generator[tuple[str, Path], None, None]:
310
310
"runtime-minimal-ubi9-python-3.12" : ROOT_DIR / "manifests/base/jupyter-minimal-notebook-imagestream.yaml" ,
311
311
# no -gpu-?
312
312
"cuda-jupyter-minimal-ubi9-python-3.12" : ROOT_DIR
313
- / "manifests/base/jupyter-minimal-notebook-imagestream.yaml" ,
313
+ / "manifests/base/jupyter-minimal-gpu- notebook-imagestream.yaml" ,
314
314
"rocm-jupyter-minimal-ubi9-python-3.12" : ROOT_DIR
315
- / "manifests/base/jupyter-minimal-notebook-imagestream.yaml" ,
315
+ / "manifests/base/jupyter-rocm- minimal-notebook-imagestream.yaml" ,
316
316
"jupyter-datascience-ubi9-python-3.12" : ROOT_DIR
317
317
/ "manifests/base/jupyter-datascience-notebook-imagestream.yaml" ,
318
318
"runtime-datascience-ubi9-python-3.12" : ROOT_DIR
@@ -322,9 +322,9 @@ def get_targets() -> Generator[tuple[str, Path], None, None]:
322
322
"runtime-cuda-pytorch-ubi9-python-3.12" : ROOT_DIR
323
323
/ "manifests/base/jupyter-pytorch-notebook-imagestream.yaml" ,
324
324
"rocm-jupyter-pytorch-ubi9-python-3.12" : ROOT_DIR
325
- / "manifests/base/jupyter-pytorch-notebook-imagestream.yaml" ,
325
+ / "manifests/base/jupyter-rocm- pytorch-notebook-imagestream.yaml" ,
326
326
"rocm-runtime-pytorch-ubi9-python-3.12" : ROOT_DIR
327
- / "manifests/base/jupyter-pytorch-notebook-imagestream.yaml" ,
327
+ / "manifests/base/jupyter-rocm- pytorch-notebook-imagestream.yaml" ,
328
328
"cuda-jupyter-pytorch-llmcompressor-ubi9-python-3.12" : ROOT_DIR
329
329
/ "manifests/base/jupyter-pytorch-notebook-imagestream.yaml" ,
330
330
"runtime-cuda-pytorch-llmcompressor-ubi9-python-3.12" : ROOT_DIR
@@ -334,9 +334,9 @@ def get_targets() -> Generator[tuple[str, Path], None, None]:
334
334
"runtime-cuda-tensorflow-ubi9-python-3.12" : ROOT_DIR
335
335
/ "manifests/base/jupyter-tensorflow-notebook-imagestream.yaml" ,
336
336
"rocm-jupyter-tensorflow-ubi9-python-3.12" : ROOT_DIR
337
- / "manifests/base/jupyter-tensorflow-notebook-imagestream.yaml" ,
337
+ / "manifests/base/jupyter-rocm- tensorflow-notebook-imagestream.yaml" ,
338
338
"rocm-runtime-tensorflow-ubi9-python-3.12" : ROOT_DIR
339
- / "manifests/base/jupyter-tensorflow-notebook-imagestream.yaml" ,
339
+ / "manifests/base/jupyter-rocm- tensorflow-notebook-imagestream.yaml" ,
340
340
"jupyter-trustyai-ubi9-python-3.12" : ROOT_DIR / "manifests/base/jupyter-trustyai-notebook-imagestream.yaml" ,
341
341
"codeserver-ubi9-python-3.12" : ROOT_DIR / "manifests/base/code-server-notebook-imagestream.yaml" ,
342
342
"rstudio-ubi9-python-3.11" : ROOT_DIR / "manifests/base/rstudio-buildconfig.yaml" ,
@@ -350,7 +350,11 @@ def get_targets() -> Generator[tuple[str, Path], None, None]:
350
350
continue
351
351
if "rstudio" in target :
352
352
continue
353
- yield target , expected_manifest_paths [target ]
353
+ try :
354
+ expected_manifest_path = expected_manifest_paths [target ]
355
+ except KeyError as e :
356
+ raise ValueError (f"Missing expected manifest path for target '{ target } '" ) from e
357
+ yield target , expected_manifest_path
354
358
355
359
@pytest .mark .parametrize ("target,expected_manifest_path" , get_targets ())
356
360
def test_compare_with_shell_implementation (self , target : str , expected_manifest_path : Path ):
0 commit comments