Bundles¶
Use the GitDagBundle
to configure a Git bundle in your Airflow’s
[dag_processor] dag_bundle_config_list
.
Example of using the GitDagBundle:
JSON format example:
export AIRFLOW__DAG_PROCESSOR__DAG_BUNDLE_CONFIG_LIST='[
{
"name": "my-git-repo",
"classpath": "airflow.providers.git.bundles.git.GitDagBundle",
"kwargs": {
"subdir": "dags",
"tracking_ref": "main",
"refresh_interval": 3600
}
}
]'