This is an automated email from the ASF dual-hosted git repository.
tballison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new 930bd6890c TIKA-4928: replace MinIO with RustFS in the S3 pipes
integration test (#3245)
930bd6890c is described below
commit 930bd6890c956e9f4b4bc10d7773d804acf6b42d
Author: Tim Allison <[email protected]>
AuthorDate: Thu Sep 24 13:09:36 2026 -0400
TIKA-4928: replace MinIO with RustFS in the S3 pipes integration test
(#3245)
---
.github/workflows/main-jdk17-build.yml | 2 +-
.github/workflows/main-jdk17-locale-build.yml | 2 +-
.../apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java | 2 +-
.../src/test/resources/docker-compose.yml | 12 +++++++-----
4 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/main-jdk17-build.yml
b/.github/workflows/main-jdk17-build.yml
index 16f7827594..8c1b5f58e5 100644
--- a/.github/workflows/main-jdk17-build.yml
+++ b/.github/workflows/main-jdk17-build.yml
@@ -43,7 +43,7 @@ env:
# nowhere, and CI stays green while the tests stop existing.
#
# These six are ~15 of the build's 37 minutes -- five are
testcontainers-backed
- # (Elasticsearch/OpenSearch/Solr/Kafka/MinIO) and
tika-pipes-integration-tests
+ # (Elasticsearch/OpenSearch/Solr/Kafka/RustFS) and
tika-pipes-integration-tests
# forks JVMs. Adding a slow IT module here is the intended way to rebalance.
IT_MODULES:
':tika-pipes-integration-tests,:tika-pipes-es-integration-tests,:tika-pipes-opensearch-integration-tests,:tika-pipes-solr-integration-tests,:tika-pipes-kafka-integration-tests,:tika-pipes-s3-integration-tests'
diff --git a/.github/workflows/main-jdk17-locale-build.yml
b/.github/workflows/main-jdk17-locale-build.yml
index 893c569b2b..899bcd5687 100644
--- a/.github/workflows/main-jdk17-locale-build.yml
+++ b/.github/workflows/main-jdk17-locale-build.yml
@@ -63,7 +63,7 @@ jobs:
restore-keys: maven-${{ runner.os }}-
- name: Install external tools
run: sudo apt-get update && sudo apt-get install -y ffmpeg
libimage-exiftool-perl
- # The Docker-backed integration tests spin up
Elasticsearch/OpenSearch/Solr/Kafka/MinIO
+ # The Docker-backed integration tests spin up
Elasticsearch/OpenSearch/Solr/Kafka/RustFS
# for ~7.5 min and carry no locale signal, so they are excluded here;
the main jdk17
# build runs them. If a new testcontainers module appears, add it to
this list --
# forgetting only makes this job slower, it does not weaken it.
diff --git
a/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java
b/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java
index 161536c92e..91168b21b2 100644
---
a/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java
+++
b/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java
@@ -66,7 +66,7 @@ class S3PipeIntegrationTest {
private static final ComposeContainer minioContainer = new
ComposeContainer(
new
File("src/test/resources/docker-compose.yml")).withStartupTimeout(
Duration.of(MAX_STARTUP_TIMEOUT, ChronoUnit.SECONDS))
- .withExposedService("minio-service", 9000);
+ .withExposedService("s3-service", 9000);
private static final String MINIO_ENDPOINT = "http://localhost:9000";
private static final String ACCESS_KEY = "minio";
private static final String SECRET_KEY = "minio123";
diff --git
a/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/resources/docker-compose.yml
b/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/resources/docker-compose.yml
index 74c3e0a926..9fb06c8486 100644
---
a/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/resources/docker-compose.yml
+++
b/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/resources/docker-compose.yml
@@ -14,11 +14,13 @@
# limitations under the License.
version: '3.7'
services:
- minio-service:
- image: quay.io/minio/minio
- command: minio server /data
+ s3-service:
+ # S3-compatible stand-in; MinIO withdrew its public images (TIKA-4928)
+ image: rustfs/rustfs:1.0.0
ports:
- "9000:9000"
environment:
- MINIO_ROOT_USER: minio
- MINIO_ROOT_PASSWORD: minio123
\ No newline at end of file
+ RUSTFS_ADDRESS: 0.0.0.0:9000
+ RUSTFS_CONSOLE_ENABLE: "false"
+ RUSTFS_ACCESS_KEY: minio
+ RUSTFS_SECRET_KEY: minio123