Repository navigation
fix(tests): replace discontinued MinIO testcontainer with S3Mock - #1069
Merged
Merged
Conversation
MinIO discontinued pre-built community binaries/images (now source-only distribution), so quay.io/minio/minio - our previous fix for MinIO dropping Docker Hub (#1039) - also stopped serving anonymous pulls (401 unauthorized on every tag). This broke the `integration` CI job for every PR, unrelated to their diffs. Switch to adobe/s3mock, a maintained S3-compatible mock with a public, versioned Docker Hub image and no auth requirement.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MinIO discontinued pre-built community binaries/images (community edition is now source-code-only distribution). As a result,
quay.io/minio/minio— our previous fix for MinIO dropping Docker Hub images (#1039) — now returns 401 unauthorized on every tag, including:latest. This breaks theintegrationCI job for every PR, unrelated to their actual diffs (confirmed on PR #1056 and #1057, neither of which touch S3/loader code).Fix
Switch
tests/loaders/test_s3_loader_integration.pyfrom MinIO toadobe/s3mock:5.2.3— a maintained, S3-compatible mock with a public, versioned Docker Hub image and no auth requirement. Pinned to a specific version rather than:latestthis time.Testing
uv run ruff check tests/loaders/test_s3_loader_integration.pypassesintegrationjob (no local Docker daemon available to verify directly; relying on CI)