francescomucio opened a new pull request #11157:
URL: https://github.com/apache/airflow/pull/11157


   After few PRs, ideas and exchanges, we reached the consensus to make 
`start-airflow` a full fledged Breeze command and add some specific flags.
   
   `./breeze start-airflow` starts the Airflow Scheduler and Webserver, it then 
leaves the user in front of a tmux session with the possibility to observe 
errors and use the Breeze shell. From the tmux shell is possible to run 
`./stop_airflow.sh` to stop the Airflow components and close tmux.
   
   By default `start-airflow` will not create the default connections or load 
the example dags. Two flags can be used if these objects are necessary: 
`--load-default-connections` and `--load-example-dags`.
   
   In the previous implementation as flag, the init script was executed twice; 
to avoid this the tmux session is executed at a later stage with the script 
`scripts/in_container/run_tmux.sh`.
   
   Previous PRs to check the history of this feature:
   [Starting breeze will run an init script after the environment is setup 
#11029](https://github.com/apache/airflow/pull/11029)
   [Introducing flags to skip example dags and default connections #11099
   ](https://github.com/apache/airflow/pull/11099)
   [Revert "Introducing flags to skip example dags and default connection… 
#11110](https://github.com/apache/airflow/pull/11110)
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to