This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v1-10-test by this push:
new e9940ab Adds --no-rbac-ui flag for Breeze airflow 1.10 installation
(#11315)
e9940ab is described below
commit e9940ab34e715593a2fcaf912fb6ba43605388fb
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Oct 7 02:00:00 2020 +0200
Adds --no-rbac-ui flag for Breeze airflow 1.10 installation (#11315)
When installing airflow 1.10 via breeze we now enable rbac
by default, but we can disable it with --no-rbac-ui flag.
This is useful to test different variants of 1.10 when testing
release candidataes in connection with the 'start-airflow'
command.
(cherry picked from commit 22c6a843d760d920f329fc97aa55f45d82682ab9)
(cherry picked from commit ba6bb8bf3b20d5e2684b0e1a775e2cc9fba33768)
---
scripts/in_container/entrypoint_ci.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/in_container/entrypoint_ci.sh
b/scripts/in_container/entrypoint_ci.sh
index 057d630..a645922 100755
--- a/scripts/in_container/entrypoint_ci.sh
+++ b/scripts/in_container/entrypoint_ci.sh
@@ -117,6 +117,8 @@ unset AIRFLOW__CORE__UNIT_TEST_MODE
mkdir -pv "${AIRFLOW_HOME}/logs/"
cp -f "${IN_CONTAINER_DIR}/airflow_ci.cfg" "${AIRFLOW_HOME}/unittests.cfg"
+disable_rbac_if_requested
+
set +e
"${IN_CONTAINER_DIR}/check_environment.sh"
ENVIRONMENT_EXIT_CODE=$?