Skip to content

Commit

Permalink
fix(Utils): run pipeline config with right path
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarfil committed Aug 22, 2024
1 parent b2ddbe0 commit 99cd6f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openhexa/sdk/pipelines/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ def get_local_workspace_config(path: Path):
try:
files_path = path / Path(local_workspace_config["files"]["path"])
if not files_path.exists():
# Let's create the folder if it doesn't exist
files_path.mkdir(parents=True)
# When we start the pipeline container, we mount the workspace folder,
# if it doesn't exist, it means we don't provide the correct mount path, which is the case in local
files_path = Path("/home/hexa/workspace")
env_vars["WORKSPACE_FILES_PATH"] = str(files_path.resolve())
except KeyError:
exception_message = (
Expand Down

0 comments on commit 99cd6f2

Please sign in to comment.