Airflow Variables
Datacoves injects several environment variables into Apache Airflow to streamline workflow configurations. Below is a list of important variables you may encounter:
Airflow information
Variables containing information about Airflow:
DATACOVES__AIRFLOW_NOTIFICATION_INTEGRATION: Notification service for Airflow alerts. May beSLACKorTEAMSDATACOVES__AIRFLOW_TYPE: May beteam_airflowormy_airflow, useful for environment-specific logic like sending email alertsDATACOVES__DAGS_FOLDER: Path where Airflow searches for DAGs, typicallyorchestrate/dagsDATACOVES__DBT_HOME: Read-only dbt home directory containingdbt_project.yml, typicallytransformDATACOVES__DBT_PROFILE: Current dbt profile, commonlydefaultDATACOVES__REPO_PATH: Path to read-write copy of Airflow repoDATACOVES__REPO_PATH_RO: Path to read-only copy of Airflow repoDATACOVES__YAML_DAGS_FOLDER: Path to YAML files used by dbt-coves to generate Python DAGs, typicallyorchestrate/dags_yml_definitions
Datacoves environment information
Variables containing information about the current Datacoves environment:
DATACOVES__ACCOUNT_ID: Account ID numberDATACOVES__ACCOUNT_SLUG: Account slugDATACOVES__ENVIRONMENT_SLUGEnvironment slug (e.g. dev123)DATACOVES__PROJECT_SLUG: Project slug (e.g. balboa-analytics-datacoves)
Version information
Variables containing versions:
DATACOVES__SQLFLUFF_VERSION: Current version of SQLFLuffDATACOVES__VERSION: Complete version of Datacoves including patch levelDATACOVES__VERSION_MAJOR_MINOR: Datacoves version excluding patch level (e.g. 5.0)DATACOVES__VERSION__ENV: Complete version of Datacoves including patch level for this environmentDATACOVES__VERSION_MAJOR_MINOR__ENV: Datacoves version excluding patch level for this environment