Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set the working_dir with pipelines from decorators #1194

Closed
materight opened this issue Jan 27, 2024 · 3 comments
Closed

Allow to set the working_dir with pipelines from decorators #1194

materight opened this issue Jan 27, 2024 · 3 comments

Comments

@materight
Copy link
Contributor

Proposal Summary

Add a working_dir parameter to PipelineDecorator.pipeline and PipelineDecorator.component to be able to set the execution working_dir.

Motivation

Currently when defining a pipeline using PipelineDecorator.component, it's only possible to set the repo for the script execution, but not the working_dir. Therefore it defaults to ., and if all the code is inside a subfolder, when running the pipeline remotely the script it's not able to find any local modules.

Related Discussion

Original slack thread.

@ainoam
Copy link
Collaborator

ainoam commented Jan 28, 2024

Thanks for suggesting @materight.
We'll try to address this in a near version.

@pollfly
Copy link
Contributor

pollfly commented May 9, 2024

Hey @materight! v1.15.0 is now out supporting custom working directory for pipelines

@materight
Copy link
Contributor Author

Great! Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants