From 35e7b622c28c17ab6e3d1a3e76a1a614166e6ae6 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 6 Sep 2019 13:50:35 +0200 Subject: [PATCH] [AIRFLOW-5411] Remove the noise produced while running failed pre-commits --- scripts/ci/ci_before_install.sh | 3 +++ scripts/ci/ci_run_all_static_tests_except_pylint_licence.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/ci/ci_before_install.sh b/scripts/ci/ci_before_install.sh index 19be859e94..48bf0dc459 100755 --- a/scripts/ci/ci_before_install.sh +++ b/scripts/ci/ci_before_install.sh @@ -40,6 +40,9 @@ else rebuild_ci_slim_image_if_needed fi +# Disable force pulling forced above +unset AIRFLOW_CONTAINER_FORCE_PULL_IMAGES + KUBERNETES_VERSION=${KUBERNETES_VERSION:=""} # Required for K8s v1.10.x. See # https://github.com/kubernetes/kubernetes/issues/61058#issuecomment-372764783 diff --git a/scripts/ci/ci_run_all_static_tests_except_pylint_licence.sh b/scripts/ci/ci_run_all_static_tests_except_pylint_licence.sh index e61e9e8405..e04baadb95 100755 --- a/scripts/ci/ci_run_all_static_tests_except_pylint_licence.sh +++ b/scripts/ci/ci_run_all_static_tests_except_pylint_licence.sh @@ -32,7 +32,7 @@ force_python_3_5 script_start -rebuild_checklicence_image_if_needed +rebuild_ci_slim_image_if_needed SKIP=pylint,check-apache-license pre-commit run --all-files --show-diff-on-failure