From 92e4406cbe937185bed36a95bfb069075ec819c2 Mon Sep 17 00:00:00 2001 From: Graham Bennett Date: Sat, 22 Oct 2022 11:43:43 +0100 Subject: [PATCH] apache-airflow: add docs for additional manual testing It seems worth documenting how to do it for others. --- .../python-modules/apache-airflow/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/python-modules/apache-airflow/default.nix b/pkgs/development/python-modules/apache-airflow/default.nix index 438dc46038cb..aa87da653bcf 100644 --- a/pkgs/development/python-modules/apache-airflow/default.nix +++ b/pkgs/development/python-modules/apache-airflow/default.nix @@ -293,6 +293,18 @@ buildPythonPackage rec { ./update-providers.py ''; + # Note on testing the web UI: + # You can (manually) test the web UI as follows: + # + # nix shell .#python3Packages.apache-airflow + # airflow db init + # airflow reset -y # WARNING: this will wipe any existing db state you might have! + # airflow standalone + # + # Then navigate to the localhost URL using the credentials printed, try + # triggering the 'example_bash_operator' and 'example_bash_operator' DAGs and + # see if they report success. + meta = with lib; { description = "Programmatically author, schedule and monitor data pipelines"; homepage = "https://airflow.apache.org/";