Skip to content

Commit 2b5dc48

Browse files
committed
remove leftover
1 parent 7fb509c commit 2b5dc48

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

scripts/release/build/image_build_process.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,6 @@ def build_cache_configuration(base_registry: str) -> tuple[list[Any], dict[str,
6767
return cache_from_refs, cache_to_refs
6868

6969

70-
def ensure_all_cache_repositories(cache_image_names: List[str], region: str = "us-east-1"):
71-
"""
72-
Ensure all cache repositories exist for the given image names.
73-
74-
This is useful for pre-creating repositories before builds start.
75-
76-
:param cache_image_names: List of image names (e.g., ["mongodb-kubernetes", "init-database"])
77-
:param region: AWS region for ECR
78-
"""
79-
for image_name in cache_image_names:
80-
cache_repo_name = f"dev/cache/{image_name}"
81-
ensure_ecr_cache_repository(cache_repo_name, region)
82-
83-
8470
def ecr_login_boto3(region: str, account_id: str):
8571
"""
8672
Fetches an auth token from ECR via boto3 and logs

scripts/release/tests/image_build_process_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from scripts.release.build.image_build_process import (
44
build_cache_configuration,
5-
ensure_all_cache_repositories,
65
)
76

87

0 commit comments

Comments
 (0)