You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[v3-0-test] Unify selecting constraints option when installing airflow (apache#52274)
Due to the way how it historically got added - we had two ways of
selecting whether we are installing airlfow dyanmically in breeze
with or without constraints:
* --install-airflow-with-constraints - was used in a few places
* --skip-airflow-constraints - was used in other places
The logic to handle those were broken at places where they
contradicted each other. This PR unifies it and only uses
the --install-airflow-with-constraints flag in all the places
where we need to determine whether constraints are used or not
and it fixes the logic.
The logic of installation had been reviewed, refactored into
separate methods doing smaller tasks and more diagnostics was
added.
(cherry picked from commit 8846bef)
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
``airflow users`` command is only available when `FAB auth manager <https://airflow.apache.org/docs/apache-airflow-providers-fab/stable/auth-manager/index.html>`_ is enabled.
143
+
141
144
For databases, you need to run ``airflow db reset`` at least once (or run some tests) after you started
142
145
Airflow Breeze to get the database/tables created. You can connect to databases with IDE or any other
143
146
database client:
@@ -152,7 +155,7 @@ database client:
152
155
You can change the used host port numbers by setting appropriate environment variables:
153
156
154
157
* ``SSH_PORT``
155
-
* ``WEB_HOST_PORT`` - API server for Airflow 3, or webserver port for Airflow 2 when --use-airflow-version is used
158
+
* ``WEB_HOST_PORT`` - API server when --use-airflow-version is used
156
159
* ``POSTGRES_HOST_PORT``
157
160
* ``MYSQL_HOST_PORT``
158
161
* ``MSSQL_HOST_PORT``
@@ -221,6 +224,10 @@ short ``provider id`` (might be multiple of them).
221
224
222
225
breeze build-docs <provider id><provider id>
223
226
227
+
To build documentation for Task SDK package, use the below command
228
+
.. code-block:: bash
229
+
breeze build-docs task-sdk
230
+
224
231
or you can use package filter. The filters are glob pattern matching full
225
232
package names and can be used to select more than one package with single filter.
226
233
@@ -352,7 +359,7 @@ For testing Airflow you often want to start multiple components (in multiple ter
352
359
built-in ``start-airflow`` command that start breeze container, launches multiple terminals using tmux
353
360
and launches all Airflow necessary components in those terminals.
354
361
355
-
When you are starting airflow from local sources, www asset compilation is automatically executed before.
362
+
When you are starting Airflow from local sources, www asset compilation is automatically executed before.
356
363
357
364
.. code-block:: bash
358
365
@@ -391,8 +398,8 @@ These are all available flags of ``start-airflow`` command:
391
398
Launching multiple terminals in the same environment
0 commit comments