This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun pushed a commit to branch branch-4.x
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.x by this push:
new cdfb91ce4e8c [SPARK-58326][K8S][TEST] Pin MinIO image version in
DepsTestsSuite
cdfb91ce4e8c is described below
commit cdfb91ce4e8c206bbd80fee844c13f0217753f85
Author: Dongjoon Hyun <[email protected]>
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 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 7887445c4e517931156ce717e4e441e3d142c1a9)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../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 785983d40816..1d2b88a934d2 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
@@ -68,8 +68,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: [email protected]
For additional commands, e-mail: [email protected]