This repository contains Apache Airflow DAGs used in the FONDA project.
The DAGs are located in ./dags
, currently organized in subfolders based on FONDA subprojects and regulary synchronized with the Airflow instance running in the reference stack.
To add a DAG, create a branch and use the development environment as described below. When you're done writing your DAG, you can create a Pull Request and merge to the main branch.
TODO:
- integrate repository into Jenkins CI and apply testing/static-code-analysis before merging
- synchronize other DAG repositories with reference stack
We provide scripts to create a local development environment based on Kubernetes in Docker which can be used to develop Airflow DAGs in a similar environment to the FONDA reference stack. Kubernetes will be deployed in Docker containers on your local machine and you can use the KubernetesPodOperator to create DAGs.
./kind/start-dev-env.sh
./kind/create-admin-user.sh
Open http://localhost:8888 in your browser. The dags
folder is available in Airflow and you can start developing your DAG.
./kind/stop-dev-env.sh