-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from digital-land/feature/airflow-data-collec…
…tion-pipelines Changes for migration of data collection pipelines to Airflow
- Loading branch information
Showing
16 changed files
with
112 additions
and
58 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
docs/data-operations-manual/Explanation/Key-Concepts/Airflow-and-DAGs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Airflow & DAGs | ||
|
||
### Airflow | ||
|
||
The data collection pipelines are run in [Airflow](https://airflow.apache.org/) on AWS managed service known as [MWAA](https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html). | ||
|
||
### Airflow UI | ||
|
||
The Airflow UI is a web application with a HTML Graphical User Interface. | ||
|
||
### URL for Airflow UI | ||
|
||
A member of the Infrastructure team will be able to provide you with the environment-specific URLs for Airflow. | ||
|
||
### DAGs | ||
|
||
Airflow's jobs are defined using a Directed Acyclic Graph or ([DAG](https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/dags.html)) for short. The DAGs are generated via the [airflow-dags](https://github.com/digital-land/airflow-dags/) repo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...data-operations-manual/How-To-Guides/Maintaining/Trigger-collection-manually.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Trigger collection manually | ||
|
||
Data collection pipelines are executed via [Airflow](/data-operations-manual/Explanation/Key-Concepts/Airflow-and-DAGs). | ||
|
||
Collections are usually run on a scheduled-basis by having them selected in the [scheduling configuration of airflow-dags](https://github.com/digital-land/airflow-dags/blob/main/bin/generate_dag_config.py#L13) repo. However, if you want to execute a collection run manually, you can do so by | ||
navigating to the [Airflow UI](/data-operations-manual/Explanation/Key-Concepts/Airflow-and-DAGs/#airflow-ui), finding the relevant collection DAG and clicking the corresponding play button (blue triangle) to trigger an execution e.g. | ||
|
||
![Airflow DAG play button execution](/images/data-operations-manual/airflow-dag-play-button.png) | ||
|
||
Depending on the collection, this can take a while but after it has finished running you can check on datasette if the expected data is on the platform. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.