Skip to content

Commit

Permalink
CH-166 fix characters in path
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Dec 12, 2024
1 parent f0e415d commit d432ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/deployment-cli-tools/ch_cli_tools/codefresh.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from os.path import join, relpath, exists, dirname
from os.path import join, relpath, exists, dirname, basename
from cloudharness_model.models.git_dependency_config import GitDependencyConfig
import requests
import logging
Expand Down Expand Up @@ -175,7 +175,7 @@ def codefresh_steps_from_base_path(base_path, build_step, fixed_context=None, in

if app_config and app_config.dependencies and app_config.dependencies.git:
for dep in app_config.dependencies.git:
steps[CD_BUILD_STEP_DEPENDENCIES]['steps'][f"clone_{os.path.basename(dep.url)}_{os.path.basename(dockerfile_relative_to_root)}"] = clone_step_spec(dep, dockerfile_relative_to_root)
steps[CD_BUILD_STEP_DEPENDENCIES]['steps'][f"clone_{basename(dep.url).replace(".", "_")}_{basename(dockerfile_relative_to_root).replace(".", "_")}"] = clone_step_spec(dep, dockerfile_relative_to_root)

build = None
if build_step in steps:
Expand Down

0 comments on commit d432ec7

Please sign in to comment.