Repository navigation
Use the pgsty MinIO images in integration tests - #120474
Conversation
`minio/minio` and `minio/mc` were deleted from Docker Hub, and the current references are mirrors of the last pre-deletion tags, copied from `quay.io` into the `clickhouse/` namespace. Those tags are frozen: the mirror pins MinIO from 2024 and `mc` from 2025, and no new ones will ever appear at the source. `pgsty/minio` and `pgsty/mc` are maintained community forks of MinIO and its client, published on Docker Hub as multi-arch (`linux/amd64`, `linux/arm64`) images, so they are pulled through the `dockerhub-proxy` cache like every other image in `compose/`, need no mirror of ours, and keep receiving releases. The MinIO server flags the compose files use (`--address`, `--console-address`, `--certs-dir`), `MINIO_PROMETHEUS_AUTH_TYPE=public` and the `s3_requests_total` / `s3_errors_total` / `s3_rx_bytes_total` / `s3_tx_bytes_total` series that `test_profile_events_s3` parses out of `/minio/prometheus/metrics` all behave as before. The client fork dropped the two commands upstream had deprecated, so `mc config host add` becomes `mc alias set` and `mc policy set` becomes `mc anonymous set`. Both `minio/minio` tags are replaced by the same one, which is one image fewer to pull and cache. Closes: #120459
|
Workflow [PR], commit [c0a6af7] Summary: ✅ AI ReviewSummaryThis PR switches the integration-test MinIO stack from the dead Final Verdict
|
azat
left a comment
There was a problem hiding this comment.
Maybe instead better to switch to seaweedfs (like in stateless test) ?
|
The problem is fixed in #119999. If you still want to switch to another images - they need to be mirrored into clickhouse/* so that they are backed by docker s3 proxy |
|
@maxknv, for some reason, mirroring didn't help yesterday. Yes, let's mirror pgsty. How to do that? |
why it didn't help? tests are green after the fix https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=f77edf0f92492281eef1f7d707278fa8948a5118&name_0=MasterCI |
|
@azat, also thought about this. No preference. The argument for pgsty is that it is as close to minio as possible. |
|
@maxknv, likely timing. I will update all PRs that were broken. |
…ctly Rather than reference `pgsty/minio` and `pgsty/mc` directly, mirror them into the same `clickhouse/minio-minio` and `clickhouse/minio-mc` repositories the old `quay.io`-sourced tags already used. Pulls then keep going through the `dockerhub-proxy` cache, and CI does not depend on a third-party community repo staying available — the way `minio/minio` itself did not. Reusing the existing repositories means no new Docker Hub repositories are needed. The mirror is populated by `compose/mirror-images.sh`, which now lists the two `pgsty` images. Both new tags were pushed to the `clickhouse/` namespace as multi-arch (`linux/amd64`, `linux/arm64`) manifest lists. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Closes: #120459
Related: #119999
minio/minioandminio/mcwere deleted from Docker Hub, and integration tests currently reference mirrors of the last pre-deletion tags, copied fromquay.iointo theclickhouse/namespace. Those tags are frozen: the mirror pins MinIO from 2024 andmcfrom 2025, and no new ones will ever appear at the source.Switch to
pgsty/minioandpgsty/mc— maintained community forks of MinIO and its client, published on Docker Hub as multi-arch (linux/amd64,linux/arm64) images. They are therefore pulled through thedockerhub-proxycache like every other image intests/integration/compose/, need no mirror of ours, and keep receiving releases. The three mirror entries are dropped fromtests/integration/compose/mirror-images.sh.Everything the compose files depend on behaves as before, checked against the new images locally: the
minio serverflags (--address,--console-address,--certs-dir),MINIO_PROMETHEUS_AUTH_TYPE=public, and thes3_requests_total/s3_errors_total/s3_rx_bytes_total/s3_tx_bytes_totalseries thattest_profile_events_s3parses out of/minio/prometheus/metrics. The client fork dropped the two commands upstream had already deprecated, somc config host addbecomesmc alias setandmc policy setbecomesmc anonymous set.Both
minio/minioreferences are replaced by the same tag, which is one image fewer to pull and cache.Changelog category (leave one):
Workflow [PR]
Sync PR [sync-upstream/pr/120474]
Version info
26.10.1.125(included in26.10and later)