Barski-lab / cwl-airflow

Python package to extend Airflow functionality with CWL1.1 support
https://barski-lab.github.io/cwl-airflow
Apache License 2.0
185 stars 32 forks source link

Add --tmpdir-prefix and --tmp-outdir-prefix to config file #3

Closed michael-kotliar closed 6 years ago

michael-kotliar commented 6 years ago

When running on macOS, docker or docker-machine has only specific folders which it can mount. Embedded cwltool by default uses $TMPDIR folder for temporary files. If docker or docker-machine doesn't have access to this folder, cwl-airflow will fail. Add --tmpdir-prefix and --tmp-outdir-prefix to configuration file. In case of cwl-airflow-runner, these parameters can be set directly.

michael-kotliar commented 6 years ago

Set /tmp by default for both Linux and macOS