Skip to content

Commit

Permalink
Bugfix. Prepare core files before start local checks
Browse files Browse the repository at this point in the history
  • Loading branch information
LamaAni committed Aug 10, 2021
1 parent d9deb9d commit 75b389d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/image/init_zairflow_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ function prepare_airflow_env() {

###########################
# Configuration
log:sep "Prepare airflow core files"
airflow_init_core_files || return $?

if [ -n "$GIT_AUTOSYNC_REPO_URL" ]; then
log:sep "Checking git autosync"
"$SCRIPTS_PATH/image/init_git_autosync.sh"
Expand All @@ -47,8 +50,6 @@ function prepare_airflow_env() {
assert $? "Failed waiting for resource connections" || return $?

log:sep "Finalizing"
airflow_init_core_files || return $?

# Mark timestamp
date >"$ZAIRFLOW_ENV_INITIALIZED_TS_PATH"
assert $? "Failed to mark airflow env initialized." || return $?
Expand Down

0 comments on commit 75b389d

Please sign in to comment.