-
Notifications
You must be signed in to change notification settings - Fork 3
Repo Structure
Ricardo Oliveira edited this page Jun 20, 2022
·
3 revisions
List of folders and their utility :
-
dags
- Contains all relevant code.
- Airflow will scan this folder to find any declared DAGS to run.
- This is structured based on business logic : Everything that is needed for one publisher is in a directory with its name.
- Everything that is generic to multiple publishers is in the
common
folder.
-
data
- Contains all data that we want to add to the
docker-compose
services.
- Contains all data that we want to add to the
-
tests
- Tests folder.
- The
conftest.py
file contains an import ofairflow
with only aprint
in it. This might seems useless but it's needed to init the Airflow environment during tests and have everything running properly.
-
airflow.cfg
- Configuration for Airflow. Please note that for QA and production, some configuration might be overridden with ENV variables.