From 0f74968ae07ca996e9976ffb71608704ade9089b Mon Sep 17 00:00:00 2001 From: Jed Cunningham Date: Tue, 21 Jan 2025 16:02:52 -0700 Subject: [PATCH] Move DAG file processing docs into admin/deployment section This topic is more of admin/deployment than it is a authoring/scheduler. (There are a bunch more docs changes necessary, but I'm going to do it in chunks so it's easier to review.) --- .../dagfile-processing.rst | 0 .../administration-and-deployment/index.rst | 1 + .../administration-and-deployment/scheduler.rst | 9 --------- docs/apache-airflow/authoring-and-scheduling/index.rst | 1 - docs/apache-airflow/core-concepts/overview.rst | 10 ++++------ docs/apache-airflow/redirects.txt | 3 ++- 6 files changed, 7 insertions(+), 17 deletions(-) rename docs/apache-airflow/{authoring-and-scheduling => administration-and-deployment}/dagfile-processing.rst (100%) diff --git a/docs/apache-airflow/authoring-and-scheduling/dagfile-processing.rst b/docs/apache-airflow/administration-and-deployment/dagfile-processing.rst similarity index 100% rename from docs/apache-airflow/authoring-and-scheduling/dagfile-processing.rst rename to docs/apache-airflow/administration-and-deployment/dagfile-processing.rst diff --git a/docs/apache-airflow/administration-and-deployment/index.rst b/docs/apache-airflow/administration-and-deployment/index.rst index 5ba79a5439ba3..1d1fbdf5f9aa7 100644 --- a/docs/apache-airflow/administration-and-deployment/index.rst +++ b/docs/apache-airflow/administration-and-deployment/index.rst @@ -31,6 +31,7 @@ This section contains information about deploying DAGs into production and the a dag-serialization modules_management scheduler + dagfile-processing pools cluster-policies priority-weight diff --git a/docs/apache-airflow/administration-and-deployment/scheduler.rst b/docs/apache-airflow/administration-and-deployment/scheduler.rst index d3f05738e11be..f3e8adbf6b719 100644 --- a/docs/apache-airflow/administration-and-deployment/scheduler.rst +++ b/docs/apache-airflow/administration-and-deployment/scheduler.rst @@ -67,15 +67,6 @@ In the UI, it appears as if Airflow is running your tasks a day **late** For more read about that you can reference `this GitHub discussion `__. -DAG File Processing -------------------- - -You can have the Airflow Scheduler be responsible for starting the process that turns the Python files contained in the DAGs folder into DAG objects -that contain tasks to be scheduled. - -Refer to :doc:`../authoring-and-scheduling/dagfile-processing` for details on how this can be achieved - - Triggering DAG with Future Date ------------------------------- diff --git a/docs/apache-airflow/authoring-and-scheduling/index.rst b/docs/apache-airflow/authoring-and-scheduling/index.rst index 28cc46ab0617a..aabec6dbbb4d0 100644 --- a/docs/apache-airflow/authoring-and-scheduling/index.rst +++ b/docs/apache-airflow/authoring-and-scheduling/index.rst @@ -28,7 +28,6 @@ It's recommended that you first review the pages in :doc:`core concepts