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 49430a0b6478b80b720a2ea278cfd428a23d1f95
Author: Daniel Imberman <daniel.imber...@gmail.com>
AuthorDate: Thu Nov 5 11:54:49 2020 -0800

    Add Kubernetes files to selective checks (#12114)
    
    * Add Kubernetes files to selective checks
    
    There are multiple kubernetes-related files that require
    running the k8s integration tests. This PR adds those to the
    run_selective_tests
    
    * Update scripts/ci/selective_ci_checks.sh
    
    Co-authored-by: Kaxil Naik <kaxiln...@gmail.com>
    
    * Update scripts/ci/selective_ci_checks.sh
    
    Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
    
    * Update scripts/ci/selective_ci_checks.sh
    
    Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
    
    * Update scripts/ci/selective_ci_checks.sh
    
    Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
    
    * Update scripts/ci/selective_ci_checks.sh
    
    Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
    
    Co-authored-by: Kaxil Naik <kaxiln...@gmail.com>
    Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
    (cherry picked from commit 054de0703aa99fc425028d4cbe1f7b363e0cbeca)
---
 scripts/ci/selective_ci_checks.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/scripts/ci/selective_ci_checks.sh 
b/scripts/ci/selective_ci_checks.sh
index b9a6d74..3c7132d 100755
--- a/scripts/ci/selective_ci_checks.sh
+++ b/scripts/ci/selective_ci_checks.sh
@@ -179,7 +179,6 @@ ALL_TESTS="Core Integration Heisentests"
 readonly ALL_TESTS
 
 function set_outputs_run_everything_and_exit() {
-    needs_api_tests "true"
     needs_helm_tests "true"
     needs_javascript_scans "true"
     needs_python_scans "true"
@@ -201,7 +200,6 @@ function set_outputs_run_all_tests() {
 }
 
 function set_output_skip_all_tests_and_docs_and_exit() {
-    needs_api_tests "false"
     needs_helm_tests "false"
     needs_javascript_scans "false"
     needs_python_scans "false"
@@ -215,7 +213,6 @@ function set_output_skip_all_tests_and_docs_and_exit() {
 }
 
 function set_output_skip_tests_but_build_images_and_exit() {
-    needs_api_tests "false"
     needs_helm_tests "false"
     needs_javascript_scans "false"
     needs_python_scans "false"
@@ -378,9 +375,8 @@ function get_count_kubernetes_files() {
     echo "Count Kubernetes files"
     echo
     local pattern_array=(
-        "^airflow/kubernetes"
         "^chart"
-        "^tests/kubernetes_tests"
+        "^kubernetes_tests"
     )
     show_changed_files
     COUNT_KUBERNETES_CHANGED_FILES=$(count_changed_files)

Reply via email to