You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ch...@apache.org on 2026/09/13 15:51:20 UTC

(spark) branch branch-3.5 updated: [SPARK-58326][K8S][TEST] Pin MinIO image version in DepsTestsSuite

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

pan3793 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 d529c2ac2d25 [SPARK-58326][K8S][TEST] Pin MinIO image version in DepsTestsSuite
d529c2ac2d25 is described below

commit d529c2ac2d25516c4133dc1a216ceba71e5c19da
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Fri Jul 24 12:41:04 2026 -0700

    [SPARK-58326][K8S][TEST] Pin MinIO image version in DepsTestsSuite
    
    ### What changes were proposed in this pull request?
    
    This PR aims to pin the MinIO image in `DepsTestsSuite` to `RELEASE.2025-09-07T16-13-09Z`
    (the current `latest`) instead of the floating `latest` tag, and to change `imagePullPolicy`
    from `Always` to `IfNotPresent` accordingly.
    
    ### Why are the changes needed?
    
    The floating `latest` tag makes the K8s integration tests non-reproducible: a new MinIO
    release can break CI without any change in Spark. Pinning the tag also allows `IfNotPresent`,
    avoiding a registry pull on every test run.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This is a test-only change.
    
    ### How was this patch tested?
    
    Pass the CIs, including the K8s integration tests.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Fable 5
    
    Closes #57505 from dongjoon-hyun/SPARK-58326.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .../org/apache/spark/deploy/k8s/integrationtest/DepsTestsSuite.scala  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/DepsTestsSuite.scala b/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/DepsTestsSuite.scala
index 8b94a65264a0..5eaffde96666 100644
--- a/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/DepsTestsSuite.scala
+++ b/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/DepsTestsSuite.scala
@@ -63,8 +63,8 @@ private[spark] trait DepsTestsSuite { k8sSuite: KubernetesSuite =>
     ).asJava
 
     new ContainerBuilder()
-      .withImage("minio/minio:latest")
-      .withImagePullPolicy("Always")
+      .withImage("minio/minio:RELEASE.2025-09-07T16-13-09Z")
+      .withImagePullPolicy("IfNotPresent")
       .withName(cName)
       .withArgs("server", "/data")
       .withPorts(new ContainerPortBuilder()


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