This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 94b3b897e2 Variables set in variables.env are automatically exported 
(#28633)
94b3b897e2 is described below

commit 94b3b897e2f94902777c4b24fb10c915279d8967
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Dec 28 23:28:50 2022 +0100

    Variables set in variables.env are automatically exported (#28633)
    
    The variables set in variables.env were not automatically exported.
---
 scripts/in_container/configure_environment.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/in_container/configure_environment.sh 
b/scripts/in_container/configure_environment.sh
index d9638b3219..6d0cbae41e 100644
--- a/scripts/in_container/configure_environment.sh
+++ b/scripts/in_container/configure_environment.sh
@@ -36,8 +36,10 @@ if [[ -d "${AIRFLOW_BREEZE_CONFIG_DIR}" && \
     echo
     echo "${COLOR_BLUE}Sourcing environment variables from 
${VARIABLES_ENV_FILE} in ${AIRFLOW_BREEZE_CONFIG_DIR}${COLOR_RESET}"
     echo
+    set -o allexport
      # shellcheck disable=1090
     source "${VARIABLES_ENV_FILE}"
+    set +o allexport
     popd >/dev/null 2>&1 || exit 1
 fi
 

Reply via email to