You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/12/06 20:18:00 UTC
[airflow] 01/01: Adds --no-rbac-ui flag for Breeze airflow 1.10
installation (#11315)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 8ec580bd2ec2bfbf61b446704e56d26f3297f494
Author: Jarek Potiuk <ja...@polidea.com>
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)
---
scripts/ci/docker-compose/base.yml | 4 +++-
scripts/in_container/entrypoint_ci.sh | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/ci/docker-compose/base.yml b/scripts/ci/docker-compose/base.yml
index 96bf0f6..d573a2d 100644
--- a/scripts/ci/docker-compose/base.yml
+++ b/scripts/ci/docker-compose/base.yml
@@ -39,7 +39,9 @@ services:
- ENABLE_KIND_CLUSTER
- ENABLED_INTEGRATIONS
- RUN_INTEGRATION_TESTS
- - TEST_TYPE
+ - ONLY_RUN_LONG_RUNNING_TESTS
+ - ONLY_RUN_QUARANTINED_TESTS
+ - ONLY_RUN_HEISEN_TESTS
- GITHUB_TOKEN
- GITHUB_REPOSITORY
- ISSUE_ID
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=$?