potiuk commented on a change in pull request #8261: Help for breeze commands
contain relevant flags.
URL: https://github.com/apache/airflow/pull/8261#discussion_r407224462
##########
File path: breeze
##########
@@ -1383,27 +1442,77 @@ ${FORMATTED_DEFAULT_PROD_EXTRAS}
-L, --use-local-cache
Uses local cache to build images. No pulled images will be used, but
results of local
builds in the Docker cache are used instead.
+"
+}
-$(print_star_line)
- Flags for pushing the docker images
-$(print_star_line)
-
+function flag_push_docker_images() {
+ echo "
-u, --push-images
After building - uploads the images to DockerHub
It is useful in case you use your own DockerHub user to store images
and you want
to build them locally. Note that you need to use 'docker login' before
you upload images.
-$(print_star_line)
- User and repo used to login to github registry
-$(print_star_line)
-
-D, --dockerhub-user
DockerHub user used to pull, push and build images. Default:
${_BREEZE_DEFAULT_DOCKERHUB_USER:=}.
-H, --dockerhub-repo
DockerHub repository used to pull, push, build images. Default:
${_BREEZE_DEFAULT_DOCKERHUB_REPO:=}.
+"
+}
+
+function flags() {
+ echo "
+$(print_line)
+
+Summary of all flags supported by Breeze:
+
+$(print_star_line)
+ Choose Airflow variant
+$(flag_airflow_variants)
+
+$(print_star_line)
+ Choose backend to run for airflow
+$(flag_backend_variants)
+
+$(print_star_line)
+ Enable production image
+$(flag_production_image)
+
+$(print_star_line)
+ Additional actions executed while entering breeze
Review comment:
Yep
----------------------------------------------------------------
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]
With regards,
Apache Git Services