You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/20 17:02:39 UTC
[GitHub] [airflow] potiuk commented on a change in pull request #15454: Breeze should load local tmux configuration in 'breeze start-airflow'
potiuk commented on a change in pull request #15454:
URL: https://github.com/apache/airflow/pull/15454#discussion_r616877344
##########
File path: scripts/in_container/configure_environment.sh
##########
@@ -48,3 +49,20 @@ else
echo "In it to make breeze source the variables automatically for you"
echo
fi
+
+
+if [[ -d "${AIRFLOW_BREEZE_CONFIG_DIR}" && \
+ -f "${AIRFLOW_BREEZE_CONFIG_DIR}/${TMUX_CONF_FILE}" ]]; then
+ pushd "${AIRFLOW_BREEZE_CONFIG_DIR}" >/dev/null 2>&1 || exit 1
+ echo
+ echo "Using ${TMUX_CONF_FILE} from ${AIRFLOW_BREEZE_CONFIG_DIR}"
+ echo
+ # shellcheck disable=1090
+ cp "${AIRFLOW_BREEZE_CONFIG_DIR}/${TMUX_CONF_FILE}" ~
Review comment:
> Would it be possible to `ln -s` instead so changes in the container can be kept?
Good point!
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org