There is a newer version of the record available.

Published September 13, 2019 | Version 1.1.9
Software Open

Barski-lab/cwl-airflow: Add scripts to run Airflow from the App

  • 1. Cincinnati Children's Hospital Medical Center
  • 2. @zulip
  • 3. @common-workflow-language

Description

Launching from the console:

  1. Set AIRFLOW_HOME environment variable to use a custom location for Airflow home directory
  2. Run configuration script (do it every time you change AIRFLOW_HOME) cwl-airflow.app/Contents/MacOS/init Script will run airflow initdb, update airflow.cfg, copy DAGs and create required connections
  3. Run scheduler cwl-airflow.app/Contents/MacOS/airflow scheduler
  4. Run API server (use -h to see additional parameters) cwl-airflow.app/Contents/MacOS/apiserver

Launching as an App:

  1. Double click on cwl-airflow.app Script will create three services in ~/Library/LaunchAgents com.biowardrobe.airflow-scheduler.plist com.biowardrobe.airflow-webserver.plist com.biowardrobe.airflow-apiserver.plist
  2. Use Load and Unload buttons to start and stop services.
  3. If cwl-airflow.app is moved to another location, make sure to manually remove abovementioned plist files

Files

Barski-lab/cwl-airflow-1.1.9.zip

Files (650.3 kB)

Name Size Download all
md5:ff56be5b5d95399432235f8dd85bedbc
650.3 kB Preview Download

Additional details

Related works