1717 DEPLOYMENT_CONFIGURATION_PATH , BASE_IMAGES_PATH , STATIC_IMAGES_PATH
1818from .utils import get_cluster_ip , env_variable , get_sub_paths , guess_build_dependencies_from_dockerfile , image_name_from_dockerfile_path , \
1919 get_template , merge_configuration_directories , dict_merge , app_name_from_path , \
20- find_dockerfiles_paths , clean_image_name
20+ find_dockerfiles_paths
2121
2222
2323KEY_HARNESS = 'harness'
@@ -96,7 +96,7 @@ def _adjust_missing_values(self, helm_values):
9696 def _process_applications (self , helm_values , base_image_name = None ):
9797 for i in range (len (self .root_paths )):
9898 root_path = self .root_paths [i ]
99- base_name = clean_image_name ( root_path . name ) if i < len ( self . root_paths ) - 1 else base_image_name
99+ base_name = base_image_name
100100 app_values = init_app_values (
101101 root_path , exclude = self .exclude , values = helm_values [KEY_APPS ])
102102 helm_values [KEY_APPS ] = dict_merge (helm_values [KEY_APPS ],
@@ -152,7 +152,7 @@ def collect_app_values(self, app_base_path, base_image_name=None, helm_values=No
152152 def _init_static_images (self , base_image_name ):
153153 for i in range (len (self .root_paths )):
154154 root_path = self .root_paths [i ]
155- base_name = clean_image_name ( root_path . name ) if i < len ( self . root_paths ) - 1 else base_image_name
155+ base_name = base_image_name
156156 for static_img_dockerfile in find_dockerfiles_paths (os .path .join (root_path , STATIC_IMAGES_PATH )):
157157 self .static_images .add (static_img_dockerfile )
158158
@@ -185,7 +185,7 @@ def _assign_static_build_dependencies(self, helm_values):
185185 def _init_base_images (self , base_image_name ):
186186 for i in range (len (self .root_paths )):
187187 root_path = self .root_paths [i ]
188- base_name = clean_image_name ( root_path . name ) if i < len ( self . root_paths ) - 1 else base_image_name
188+ base_name = base_image_name
189189
190190 for base_img_dockerfile in self .__find_static_dockerfile_paths (root_path ):
191191 img_name = image_name_from_dockerfile_path (
@@ -201,7 +201,7 @@ def _init_test_images(self, base_image_name):
201201 test_images = {}
202202 for i in range (len (self .root_paths )):
203203 root_path = self .root_paths [i ]
204- base_name = clean_image_name ( root_path . name ) if i < len ( self . root_paths ) - 1 else base_image_name
204+ base_name = base_image_name
205205
206206 for base_img_dockerfile in find_dockerfiles_paths (os .path .join (root_path , TEST_IMAGES_PATH )):
207207 img_name = image_name_from_dockerfile_path (
0 commit comments