Open anton-khodak opened 6 years ago
@anton-khodak is this needed for full conformance test suite to pass?
@diegodelemos currently, the way to do it is to inlcude cd working_directory
to the command. https://github.com/reanahub/reana-workflow-engine-cwl/blob/901efce7ace5112269eb57f508278e716beb0b7e/reana_workflow_engine_cwl/cwl_reana.py#L178. And looks like it is created on the fly for some cases (not sure whether deleting mkdir
instruction will keep all cases working).
So -w
option would be still desirable, but it is not a blocker to full conformance.
job-controller
should supportworking_dir
parameter in the API that tells the worker pod in which directory to execute commands. Something like-w
option indocker run
: https://serverfault.com/a/650368/308015