@@ -1250,6 +1250,8 @@ This is the current syntax for `./breeze <./breeze>`_:
1250
1250
'breeze \
1251
1251
--github-image-id 209845560' - pull/use image with RUN_ID
1252
1252
1253
+ Most flags are applicable to the shell command as it will run build when needed.
1254
+
1253
1255
1254
1256
####################################################################################################
1255
1257
@@ -1310,41 +1312,21 @@ This is the current syntax for `./breeze <./breeze>`_:
1310
1312
2.7 3.5 3.6 3.7 3.8
1311
1313
1312
1314
-a, --install-airflow-version INSTALL_AIRFLOW_VERSION
1313
- In CI image, installs Airflow (in entrypoint) from PIP released version or using
1314
- the installation method specified (sdist, wheel, none).
1315
-
1316
- In PROD image the installation of selected method or version happens during image building.
1317
- For PROD image, the 'none' options is not valid.
1318
-
1319
- One of:
1315
+ Uses differen version of Airflow when building PROD image.
1320
1316
1321
- 2.0.1 2.0.0 1.10.15 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 none wheel sdist
1322
-
1323
- When 'none' is used, you can install airflow from local packages. When building image,
1324
- airflow package should be added to 'docker-context-files' and
1325
- --install-from-docker-context-files flag should be used. When running an image, airflow
1326
- package should be added to dist folder and --install-packages-from-dist flag should be used.
1317
+ 2.0.1 2.0.0 1.10.15 1.10.14 wheel sdist
1327
1318
1328
1319
-t, --install-airflow-reference INSTALL_AIRFLOW_REFERENCE
1329
- If specified, installs Airflow directly from reference in GitHub. This happens at
1330
- image building time in production image and at container entering time for CI image.
1320
+ Installs Airflow directly from reference in GitHub when building PROD image.
1331
1321
This can be a GitHub branch like master or v1-10-test, or a tag like 2.0.0a1.
1332
1322
1333
1323
--installation-method INSTALLATION_METHOD
1334
- Method of installing airflow for production image - either from the sources ('.')
1324
+ Method of installing Airflow in PROD image - either from the sources ('.')
1335
1325
or from package 'apache-airflow' to install from PyPI.
1336
1326
Default in Breeze is to install from sources. One of:
1337
1327
1338
1328
. apache-airflow
1339
1329
1340
- --no-rbac-ui
1341
- Disables RBAC UI when Airflow 1.10.* is installed.
1342
-
1343
- --install-packages-from-dist
1344
- If specified it will look for packages placed in dist folder and it will install the
1345
- packages after installing Airflow. This is useful for testing provider
1346
- packages.
1347
-
1348
1330
--upgrade-to-newer-dependencies
1349
1331
Upgrades PIP packages to latest versions available without looking at the constraints.
1350
1332
@@ -1392,12 +1374,12 @@ This is the current syntax for `./breeze <./breeze>`_:
1392
1374
are needed by the extras. When you build image during the development (which is
1393
1375
default in Breeze) all providers are installed by default from sources.
1394
1376
You can disable it by adding this flag but then you have to install providers from
1395
- wheel packages via --install -packages-from-dist flag.
1377
+ wheel packages via --use -packages-from-dist flag.
1396
1378
1397
1379
--disable-pypi-when-building
1398
1380
Disable installing Airflow from pypi when building. If you use this flag and want
1399
1381
to install Airflow, you have to install it from packages placed in
1400
- 'docker-context-files' and use --install-from-local-files-when-building flag.
1382
+ 'docker-context-files' and use --install-from-docker-context-files flag.
1401
1383
1402
1384
--additional-extras ADDITIONAL_EXTRAS
1403
1385
Additional extras to pass to build images The default is no additional extras.
@@ -1452,7 +1434,7 @@ This is the current syntax for `./breeze <./breeze>`_:
1452
1434
--disable-pip-cache
1453
1435
Disables GitHub PIP cache during the build. Useful if GitHub is not reachable during build.
1454
1436
1455
- --install-from-local-files-when-building
1437
+ --install-from-docker-context-files
1456
1438
This flag is used during image building. If it is used additionally to installing
1457
1439
Airflow from PyPI, the packages are installed from the .whl and .tar.gz packages placed
1458
1440
in the 'docker-context-files' folder. The same flag can be used during entering the image in
@@ -1839,6 +1821,22 @@ This is the current syntax for `./breeze <./breeze>`_:
1839
1821
1840
1822
Flags:
1841
1823
1824
+ --use-airflow-version AIRFLOW_SPECIFICATION
1825
+ In CI image, installs Airflow at runtime from PIP released version or using
1826
+ the installation method specified (sdist, wheel, none). When 'none' is used,
1827
+ airflow is just removed. In this case airflow package should be added to dist folder
1828
+ and --use-packages-from-dist flag should be used.
1829
+
1830
+ 2.0.1 2.0.0 1.10.15 1.10.14 wheel sdist none
1831
+
1832
+ --use-packages-from-dist
1833
+ In CI image, if specified it will look for packages placed in dist folder and
1834
+ it will install the packages after entering the image.
1835
+ This is useful for testing provider packages.
1836
+
1837
+ --no-rbac-ui
1838
+ Disables RBAC UI when Airflow 1.10.* is installed.
1839
+
1842
1840
--load-example-dags
1843
1841
Include Airflow example dags.
1844
1842
@@ -2043,12 +2041,12 @@ This is the current syntax for `./breeze <./breeze>`_:
2043
2041
are needed by the extras. When you build image during the development (which is
2044
2042
default in Breeze) all providers are installed by default from sources.
2045
2043
You can disable it by adding this flag but then you have to install providers from
2046
- wheel packages via --install -packages-from-dist flag.
2044
+ wheel packages via --use -packages-from-dist flag.
2047
2045
2048
2046
--disable-pypi-when-building
2049
2047
Disable installing Airflow from pypi when building. If you use this flag and want
2050
2048
to install Airflow, you have to install it from packages placed in
2051
- 'docker-context-files' and use --install-from-local-files-when-building flag.
2049
+ 'docker-context-files' and use --install-from-docker-context-files flag.
2052
2050
2053
2051
--additional-extras ADDITIONAL_EXTRAS
2054
2052
Additional extras to pass to build images The default is no additional extras.
@@ -2103,7 +2101,7 @@ This is the current syntax for `./breeze <./breeze>`_:
2103
2101
--disable-pip-cache
2104
2102
Disables GitHub PIP cache during the build. Useful if GitHub is not reachable during build.
2105
2103
2106
- --install-from-local-files-when-building
2104
+ --install-from-docker-context-files
2107
2105
This flag is used during image building. If it is used additionally to installing
2108
2106
Airflow from PyPI, the packages are installed from the .whl and .tar.gz packages placed
2109
2107
in the 'docker-context-files' folder. The same flag can be used during entering the image in
@@ -2526,50 +2524,49 @@ This is the current syntax for `./breeze <./breeze>`_:
2526
2524
Assume 'quit' answer to all questions.
2527
2525
2528
2526
****************************************************************************************************
2529
- Choose different Airflow version to install or run
2527
+ Install different Airflow version during PROD image build
2530
2528
2531
2529
-a, --install-airflow-version INSTALL_AIRFLOW_VERSION
2532
- In CI image, installs Airflow (in entrypoint) from PIP released version or using
2533
- the installation method specified (sdist, wheel, none).
2530
+ Uses differen version of Airflow when building PROD image.
2534
2531
2535
- In PROD image the installation of selected method or version happens during image building.
2536
- For PROD image, the 'none' options is not valid.
2537
-
2538
- One of:
2539
-
2540
- 2.0.1 2.0.0 1.10.15 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 none wheel sdist
2541
-
2542
- When 'none' is used, you can install airflow from local packages. When building image,
2543
- airflow package should be added to 'docker-context-files' and
2544
- --install-from-docker-context-files flag should be used. When running an image, airflow
2545
- package should be added to dist folder and --install-packages-from-dist flag should be used.
2532
+ 2.0.1 2.0.0 1.10.15 1.10.14 wheel sdist
2546
2533
2547
2534
-t, --install-airflow-reference INSTALL_AIRFLOW_REFERENCE
2548
- If specified, installs Airflow directly from reference in GitHub. This happens at
2549
- image building time in production image and at container entering time for CI image.
2535
+ Installs Airflow directly from reference in GitHub when building PROD image.
2550
2536
This can be a GitHub branch like master or v1-10-test, or a tag like 2.0.0a1.
2551
2537
2552
2538
--installation-method INSTALLATION_METHOD
2553
- Method of installing airflow for production image - either from the sources ('.')
2539
+ Method of installing Airflow in PROD image - either from the sources ('.')
2554
2540
or from package 'apache-airflow' to install from PyPI.
2555
2541
Default in Breeze is to install from sources. One of:
2556
2542
2557
2543
. apache-airflow
2558
2544
2559
- --no-rbac-ui
2560
- Disables RBAC UI when Airflow 1.10.* is installed.
2561
-
2562
- --install-packages-from-dist
2563
- If specified it will look for packages placed in dist folder and it will install the
2564
- packages after installing Airflow. This is useful for testing provider
2565
- packages.
2566
-
2567
2545
--upgrade-to-newer-dependencies
2568
2546
Upgrades PIP packages to latest versions available without looking at the constraints.
2569
2547
2570
2548
--continue-on-pip-check-failure
2571
2549
Continue even if 'pip check' fails.
2572
2550
2551
+ ****************************************************************************************************
2552
+ Use different Airflow version at runtime in CI image
2553
+
2554
+ --use-airflow-version AIRFLOW_SPECIFICATION
2555
+ In CI image, installs Airflow at runtime from PIP released version or using
2556
+ the installation method specified (sdist, wheel, none). When 'none' is used,
2557
+ airflow is just removed. In this case airflow package should be added to dist folder
2558
+ and --use-packages-from-dist flag should be used.
2559
+
2560
+ 2.0.1 2.0.0 1.10.15 1.10.14 wheel sdist none
2561
+
2562
+ --use-packages-from-dist
2563
+ In CI image, if specified it will look for packages placed in dist folder and
2564
+ it will install the packages after entering the image.
2565
+ This is useful for testing provider packages.
2566
+
2567
+ --no-rbac-ui
2568
+ Disables RBAC UI when Airflow 1.10.* is installed.
2569
+
2573
2570
****************************************************************************************************
2574
2571
Credentials
2575
2572
@@ -2618,12 +2615,12 @@ This is the current syntax for `./breeze <./breeze>`_:
2618
2615
are needed by the extras. When you build image during the development (which is
2619
2616
default in Breeze) all providers are installed by default from sources.
2620
2617
You can disable it by adding this flag but then you have to install providers from
2621
- wheel packages via --install -packages-from-dist flag.
2618
+ wheel packages via --use -packages-from-dist flag.
2622
2619
2623
2620
--disable-pypi-when-building
2624
2621
Disable installing Airflow from pypi when building. If you use this flag and want
2625
2622
to install Airflow, you have to install it from packages placed in
2626
- 'docker-context-files' and use --install-from-local-files-when-building flag.
2623
+ 'docker-context-files' and use --install-from-docker-context-files flag.
2627
2624
2628
2625
--additional-extras ADDITIONAL_EXTRAS
2629
2626
Additional extras to pass to build images The default is no additional extras.
@@ -2678,7 +2675,7 @@ This is the current syntax for `./breeze <./breeze>`_:
2678
2675
--disable-pip-cache
2679
2676
Disables GitHub PIP cache during the build. Useful if GitHub is not reachable during build.
2680
2677
2681
- --install-from-local-files-when-building
2678
+ --install-from-docker-context-files
2682
2679
This flag is used during image building. If it is used additionally to installing
2683
2680
Airflow from PyPI, the packages are installed from the .whl and .tar.gz packages placed
2684
2681
in the 'docker-context-files' folder. The same flag can be used during entering the image in
0 commit comments