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
commit 465cdf0ab05a9b44e8dc51401d2b3770204017ea 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) (cherry picked from commit e9940ab34e715593a2fcaf912fb6ba43605388fb) --- scripts/ci/libraries/_docker.env | 1 + scripts/in_container/entrypoint_ci.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/scripts/ci/libraries/_docker.env b/scripts/ci/libraries/_docker.env index 3290f20..6bc53dc 100644 --- a/scripts/ci/libraries/_docker.env +++ b/scripts/ci/libraries/_docker.env @@ -35,3 +35,4 @@ DEFAULT_CONSTRAINTS_BRANCH GITHUB_REGISTRY_PULL_IMAGE_TAG POSTGRES_VERSION MYSQL_VERSION +DISABLE_RBAC 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=$?
