You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/11/16 01:39:45 UTC

[airflow] branch master updated: Add extra info when starting extra actions in Breeze (#12377)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new bfbbb24  Add extra info when starting extra actions in Breeze (#12377)
bfbbb24 is described below

commit bfbbb247a84f190c4ab6ebfda40638ab8bed0ae9
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Mon Nov 16 02:26:57 2020 +0100

    Add extra info when starting extra actions in Breeze (#12377)
---
 scripts/in_container/check_environment.sh | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/scripts/in_container/check_environment.sh b/scripts/in_container/check_environment.sh
index f7edc86..4247d48 100755
--- a/scripts/in_container/check_environment.sh
+++ b/scripts/in_container/check_environment.sh
@@ -93,19 +93,26 @@ function check_db_backend {
 
 function resetdb_if_requested() {
     if [[ ${DB_RESET:="false"} == "true" ]]; then
+        echo
+        echo "Resetting the DB"
+        echo
         if [[ ${RUN_AIRFLOW_1_10} == "true" ]]; then
             airflow resetdb -y
         else
             airflow db reset -y
         fi
+        echo
+        echo "Databsae has been reset"
+        echo
     fi
     return $?
 }
 
 function startairflow_if_requested() {
     if [[ ${START_AIRFLOW:="false"} == "true" ]]; then
-
-
+        echo
+        echo "Starting Airflow"
+        echo
         export AIRFLOW__CORE__LOAD_DEFAULT_CONNECTIONS=${LOAD_DEFAULT_CONNECTIONS}
         export AIRFLOW__CORE__LOAD_EXAMPLES=${LOAD_EXAMPLES}