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

singularity support? #25

Closed ionox0 closed 4 years ago

ionox0 commented 5 years ago

Just wondering if this tool happens to support singularity, perhaps by passing cwltool --singularity flag.

Thank you!

michael-kotliar commented 5 years ago

Hi @ionox0, Thank you for your question. Most of our workflows are run in Docker, so I didn't have much time to work with Singularity. Theoretically we support Singularity as long as all other containers supported by cwltool. I will work on it soon and let you know.

michael-kotliar commented 5 years ago

Hi @ionox0 You can set singularity flag in airflow.cfg file in the section [cwl] as follows

[cwl]
singularity = True

If this parameter is not set or False, Docker will be used.

To use this functionally, you should take the latest commit from master branch.

Let me know if you have any problems with this feature.