This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 26dccf09322f [SPARK-48109][INFRA] Enable `k8s-integration-tests` only 
for `kubernetes` module change
26dccf09322f is described below

commit 26dccf09322fc9945557a6e005a15e14fc6926b0
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Thu May 2 23:21:59 2024 -0700

    [SPARK-48109][INFRA] Enable `k8s-integration-tests` only for `kubernetes` 
module change
    
    This PR aims to enable `k8s-integration-tests` only for `kubernetes` module 
change.
    
    Although there is a chance of missing `core` module change, the daily CI 
test coverage will reveal that.
    
    To reduce GitHub Action usage to meet ASF INFRA policy.
    - https://infra.apache.org/github-actions-policy.html
    
        > The average number of minutes a project uses in any consecutive 
five-day period MUST NOT exceed the equivalent of 30 full-time runners (216,000 
minutes, or 3,600 hours).
    
    No.
    
    Manual review.
    
    No.
    
    Closes #46356 from dongjoon-hyun/SPARK-48109.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit 63837020ed29c9e6003f24117ad21f8b97f40f0f)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .github/workflows/build_and_test.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 051e8c98908c..e73dced98238 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -90,6 +90,7 @@ jobs:
           sparkr=`./dev/is-changed.py -m sparkr`
           tpcds=`./dev/is-changed.py -m sql`
           docker=`./dev/is-changed.py -m docker-integration-tests`
+          kubernetes=`./dev/is-changed.py -m kubernetes`
           build=`./dev/is-changed.py -m 
"core,unsafe,kvstore,avro,utils,network-common,network-shuffle,repl,launcher,examples,sketch,graphx,catalyst,hive-thriftserver,streaming,sql-kafka-0-10,streaming-kafka-0-10,mllib-local,mllib,yarn,mesos,kubernetes,hadoop-cloud,spark-ganglia-lgpl,sql,hive"`
           precondition="
             {
@@ -102,7 +103,7 @@ jobs:
               \"scala-213\": \"$build\",
               \"java-11-17\": \"$build\",
               \"lint\" : \"true\",
-              \"k8s-integration-tests\" : \"true\",
+              \"k8s-integration-tests\" : \"$kubernetes\",
               \"breaking-changes-buf\" : \"true\",
             }"
           echo $precondition # For debugging


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to