Hi @<1633638724258500608:profile|BitingDeer35> ! Looks like the SDK doesn't currently allow to create steps/controllers with a designated cwd. You will need to call the set_script
function on your step's tasks and on the controller for now.
For the controller: If you are using the PipelineDecorator, you can do something like: PipelineDecorator._singleton._task.set_script(working_dir="something")
, before you are running the pipeline function. In the case of regular PipelineController
s , you need to do something like controller._task.set_script("...")
.
For steps: you need to iterate through each node and change the cwd before the nodes run:
for node in controller.nodes:
node.job.task.set_script("...")