This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 28783ec2c AWS S3: replace removed minio/minio test image with
pgsty/silo (#1943)
28783ec2c is described below
commit 28783ec2cc331b2214234ff8db28dddef1ffd196
Author: PJ Fanning <[email protected]>
AuthorDate: Sun Sep 13 14:59:05 2026 +0100
AWS S3: replace removed minio/minio test image with pgsty/silo (#1943)
Motivation:
Docker Hub removed the minio/minio image after upstream MinIO was
archived, so MinioS3IntegrationSpec can no longer pull its container.
Modification:
Switch MinioContainer and scripts/create-slow-minio.sh to the
pgsty/silo image (maintained fork of the MinIO server, same S3 API,
env vars and health route). Use MINIO_ROOT_USER/MINIO_ROOT_PASSWORD
instead of the deprecated MINIO_ACCESS_KEY/MINIO_SECRET_KEY.
Result:
S3 integration tests run against a pullable image again.
Tests:
sbt "s3/testOnly *.MinioS3IntegrationSpec" - 34 passed, 8 canceled
(AWS-only tests gated by assume, unchanged)
References:
None - minio/minio removed from Docker Hub
---
.../org/apache/pekko/stream/connectors/s3/MinioContainer.scala | 6 +++---
scripts/create-slow-minio.sh | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/s3/src/test/scala/org/apache/pekko/stream/connectors/s3/MinioContainer.scala
b/s3/src/test/scala/org/apache/pekko/stream/connectors/s3/MinioContainer.scala
index 6aaae0f67..6f10d9d86 100644
---
a/s3/src/test/scala/org/apache/pekko/stream/connectors/s3/MinioContainer.scala
+++
b/s3/src/test/scala/org/apache/pekko/stream/connectors/s3/MinioContainer.scala
@@ -20,13 +20,13 @@ import java.time.Duration
class MinioContainer(accessKey: String, secretKey: String, domain: String)
extends GenericContainer(
- "minio/minio:RELEASE.2025-09-07T16-13-09Z",
+ "pgsty/silo:RELEASE.2026-09-03T13-18-01Z",
exposedPorts = List(9000),
waitStrategy =
Some(Wait.forHttp("/minio/health/ready").forPort(9000).withStartupTimeout(Duration.ofSeconds(10))),
command = List("server", "/data"),
env = Map(
- "MINIO_ACCESS_KEY" -> accessKey,
- "MINIO_SECRET_KEY" -> secretKey,
+ "MINIO_ROOT_USER" -> accessKey,
+ "MINIO_ROOT_PASSWORD" -> secretKey,
"MINIO_DOMAIN" -> domain)) {
def getHostAddress: String =
diff --git a/scripts/create-slow-minio.sh b/scripts/create-slow-minio.sh
index e3e110886..380181ad5 100755
--- a/scripts/create-slow-minio.sh
+++ b/scripts/create-slow-minio.sh
@@ -23,11 +23,11 @@ docker run -i --rm \
--name minio \
--device "$LO_DEV" \
--device-read-bps "$LO_DEV":1mb --device-write-bps "$LO_DEV":1mb \
- -e MINIO_ACCESS_KEY=TESTKEY -e MINIO_SECRET_KEY=TESTSECRET -e
MINIO_DOMAIN=s3minio.alpakka -e MINIO_FS_OSYNC=true \
+ -e MINIO_ROOT_USER=TESTKEY -e MINIO_ROOT_PASSWORD=TESTSECRET -e
MINIO_DOMAIN=s3minio.alpakka -e MINIO_FS_OSYNC=true \
-e CONFIG_BLK_CGROUP=y -e CONFIG_BLK_DEV_THROTTLING=y \
--mount
"type=volume,source=miniodata,target=/data,volume-driver=local,volume-opt=type=ext4,volume-opt=device=$LO_DEV"
\
-p 9001:9000 \
- minio/minio \
+ pgsty/silo \
server /data
# We can verify that the throttling is properly configured by running dd
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]