I'm working on a workflow with its functions, and the code (including workflow json and functions json) are in a different directory, because I'm working in a different repository.
I've done some configurations to be able to work this way:
I'm getting this error:
Error: configuration file does not exist or cannot be accessed: cli.toml
I've seen that this validation comes from _edgeless_cli/src/edgelesscli.rs, and the way it validates the workflow file is different from the way it validates the function file. For the function it works because I'm able to build a function, but for workflows it doesn't work.
I'm working on a workflow with its functions, and the code (including workflow json and functions json) are in a different directory, because I'm working in a different repository.
I've done some configurations to be able to work this way:
Cargo.toml file:
I created a .sh to build the function with the CLI:
And this works, but when I try to start the workflow with this .sh:
I'm getting this error: Error: configuration file does not exist or cannot be accessed: cli.toml
I've seen that this validation comes from _edgeless_cli/src/edgelesscli.rs, and the way it validates the workflow file is different from the way it validates the function file. For the function it works because I'm able to build a function, but for workflows it doesn't work.