potiuk commented on code in PR #33879:
URL: https://github.com/apache/airflow/pull/33879#discussion_r1308597175
##########
scripts/docker/entrypoint_prod.sh:
##########
@@ -296,10 +296,17 @@ if [[ -n "${_AIRFLOW_WWW_USER_CREATE=}" ]] ; then
fi
if [[ -n "${_PIP_ADDITIONAL_REQUIREMENTS=}" ]] ; then
+ COLOR_RED=$'\e[31m'
+ COLOR_RESET=$'\e[0m'
+ COLOR_YELLOW=$'\e[33m'
+
+ # The container will shutdown after that many seconds of use automatically
when _PIP_ADDITIONAL_REQUIREMENTS ARE USED
+ KILL_TIMEOUT=600
+ >&2 echo
+ >&2 echo "${COLOR_YELLOW}Installing additional requirements:
'${_PIP_ADDITIONAL_REQUIREMENTS}' ${COLOR_RESET}"
>&2 echo
- >&2 echo "!!!!! Installing additional requirements:
'${_PIP_ADDITIONAL_REQUIREMENTS}' !!!!!!!!!!!!"
+ >&2 echo "${COLOR_YELLOW}WARNING: This is a development/test feature only.
NEVER use it in production!${COLOR_RESET}"
Review Comment:
I am writing a message about this PR to devlist. Hold your horses @Taragolis
:D
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]