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/08/11 22:34:49 UTC

[airflow] 08/32: For now cloud tools are not needed in CI (#9818)

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 1a418797eb650cae501ca5460a142b055e335842
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Tue Jul 14 16:35:33 2020 +0200

    For now cloud tools are not needed in CI (#9818)
    
    Currently there is "unbound" variable error printed in CI logs
    because of that.
    
    (cherry picked from commit 69f82e66af54fb85a07ee6c7c85b8d4f5140e758)
---
 scripts/ci/in_container/entrypoint_ci.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/scripts/ci/in_container/entrypoint_ci.sh b/scripts/ci/in_container/entrypoint_ci.sh
index 349b092..4d1bf0c 100755
--- a/scripts/ci/in_container/entrypoint_ci.sh
+++ b/scripts/ci/in_container/entrypoint_ci.sh
@@ -45,9 +45,11 @@ RUN_TESTS=${RUN_TESTS:="false"}
 CI=${CI:="false"}
 INSTALL_AIRFLOW_VERSION="${INSTALL_AIRFLOW_VERSION:=""}"
 
-# Create links for useful CLI tools
-# shellcheck source=scripts/ci/run_cli_tool.sh
-source <(bash scripts/ci/run_cli_tool.sh)
+if [[ ${CI} == "false" ]]; then
+    # Create links for useful CLI tools
+    # shellcheck source=scripts/ci/run_cli_tool.sh
+    source <(bash scripts/ci/run_cli_tool.sh)
+fi
 
 if [[ ${AIRFLOW_VERSION} == *1.10* || ${INSTALL_AIRFLOW_VERSION} == *1.10* ]]; then
     export RUN_AIRFLOW_1_10="true"