Repository navigation
Add Airflow Standalone command - #15826
Conversation
Runs all parts of an airflow deployment under one main process, providing an easier level of entry than Breeze and a very handy tool for local development.
|
Nice one! Really like where it goes. |
|
BTW. Breeze has never been a tool for running airflow (the |
Ah, perfect! It wasn't super clear to me when I was new quite what Breeze was for, so glad we can now have a definitive Thing to point people towards when they just want a quick setup. |
Yeah. BTW for testing DAGs/Running airflow itself we also have https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html - this is mostly targeted at the users and it does not require airflow sources or package (just download docker-compose file and run it) I think the "standalone" airflow could be (?) used for both developers (if they add something) or users (but this require some more setup from the users I guess). I am thinking about the Docs and where to add them (except the usual command line docs), and I think it's good add it as both a "quick run airflow" option for development and a "quick run" for the users?:
WDYT? |
|
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest master or amend the last commit of the PR, and push it with --force-with-lease. |
I think we should just keep the "standalone" as "Quick Start" for Users-only not for devs. And ask Users to use |
Fine for me :). Though I think it might be worth mentioning this one as a "quick" way to test changes locally. It might be super-useful during development of some core changes I think. It's not even a "third option" really - it's more mentioning this command in the "local development environment" and actually even in Breeze :). I am already thinking about the contributor's workshop for the summit and adding a "standalone" command to the workshop would be really great. There are a few places in our docs (Quick contributors start etc.) that could benefit from explicit mentioning of that command. Might be worth adding it after #14176 change from @paolaperaza |
|
🎉 . Going to use it in the upcoming workshops @turbaszek FYI |
Runs all parts of an airflow deployment under one main process, providing an easier level of entry than Breeze and a very handy tool for local development.
Handles the following:
LocalExecutororSequentialExecutordepending on the database in useIt will also be able to run the
triggererprocess from AIP-40 with a three-line change once that PR lands.This diff also updates the quickstart guide to use this rather than the separate commands, since it makes the set of commands significantly shorter.