Skip to content

Commit 4a60efc

Browse files
committed
p
Signed-off-by: kevin <[email protected]>
1 parent da16731 commit 4a60efc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

release/ray_release/custom_byod_build_init_helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def get_images_from_tests(tests: List[Test]) -> List[Tuple[str, str, str]]:
3535

3636
def create_custom_build_yaml(destination_file: str, tests: List[Test]) -> None:
3737
config = get_global_config()
38+
if not config or not config.get("byod_ecr_region") or not config.get("byod_ecr"):
39+
raise ValueError("byod_ecr_region and byod_ecr must be set in the config")
3840
"""Create a yaml file for building custom BYOD images"""
3941
custom_byod_images = get_images_from_tests(tests)
4042
if not custom_byod_images:

0 commit comments

Comments
 (0)