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 dff4443f5db08227ea93eaf5c91846b80b834231
Author: Jarek Potiuk <[email protected]>
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"

Reply via email to