Skip to content

Commit

Permalink
Merge pull request #791 from MetaCell/fix/CH-166
Browse files Browse the repository at this point in the history
CH-166 fix syntax issue
  • Loading branch information
filippomc authored Jan 8, 2025
2 parents 635eb6f + 63e76e2 commit 784c630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/deployment-cli-tools/ch_cli_tools/codefresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ 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_{basename(dep.url).replace(".", "_")}_{basename(dockerfile_relative_to_root).replace(".", "_")}"] = clone_step_spec(dep, dockerfile_relative_to_root)
step_name = f"clone_{basename(dep.url).replace('.', '_')}_{basename(dockerfile_relative_to_root).replace('.', '_')}"
steps[CD_BUILD_STEP_DEPENDENCIES]['steps'][step_name] = clone_step_spec(dep, dockerfile_relative_to_root)

build = None
if build_step in steps:
Expand Down

0 comments on commit 784c630

Please sign in to comment.