Skip to content

Commit 05079fd

Browse files
authored
Don't run the webserver anymore on Airflow3 with breeze start-airflow. (apache#47060)
Relates to apache#46942
1 parent 8379804 commit 05079fd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

scripts/in_container/bin/run_tmux

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,25 @@ tmux select-pane -t 1
6060
tmux set-option -p @airflow_component Scheduler
6161
tmux send-keys 'airflow scheduler' C-m
6262

63-
tmux split-window -h
64-
tmux select-pane -t 2
65-
tmux set-option -p @airflow_component FastAPI
66-
6763
if [[ ! ${USE_AIRFLOW_VERSION=} =~ ^2\..* ]]; then
64+
tmux split-window -h
65+
tmux select-pane -t 2
66+
tmux set-option -p @airflow_component FastAPI
67+
6868
if [[ ${DEV_MODE=} == "true" ]]; then
6969
tmux send-keys 'airflow fastapi-api -d' C-m
7070
else
7171
tmux send-keys 'airflow fastapi-api' C-m
7272
fi
73-
fi
74-
75-
tmux split-window -h
76-
tmux select-pane -t 3
77-
tmux set-option -p @airflow_component Webserver
78-
if [[ ${DEV_MODE=} == "true" ]]; then
79-
tmux send-keys 'airflow webserver -d' C-m
8073
else
81-
tmux send-keys 'airflow webserver' C-m
74+
tmux split-window -h
75+
tmux select-pane -t 3
76+
tmux set-option -p @airflow_component Webserver
77+
if [[ ${DEV_MODE=} == "true" ]]; then
78+
tmux send-keys 'airflow webserver -d' C-m
79+
else
80+
tmux send-keys 'airflow webserver' C-m
81+
fi
8282
fi
8383

8484
tmux select-pane -t 0

0 commit comments

Comments
 (0)