Skip to content

Use the pgsty MinIO images in integration tests - #120474

Merged
alexey-milovidov merged 2 commits into
masterfrom
ci-switch-minio-images-to-pgsty
Sep 18, 2026
Merged

alexey-milovidov merged 2 commits into
masterfrom
ci-switch-minio-images-to-pgsty

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Closes: #120459
Related: #119999

minio/minio and minio/mc were deleted from Docker Hub, and integration tests currently reference 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.

Switch to pgsty/minio and pgsty/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 the dockerhub-proxy cache like every other image in tests/integration/compose/, need no mirror of ours, and keep receiving releases. The three mirror entries are dropped from tests/integration/compose/mirror-images.sh.

Everything the compose files depend on behaves as before, checked against the new images locally: the minio server flags (--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. The client fork dropped the two commands upstream had already deprecated, so mc config host add becomes mc alias set and mc policy set becomes mc anonymous set.

Both minio/minio references are replaced by the same tag, which is one image fewer to pull and cache.

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Workflow [PR]
Sync PR [sync-upstream/pr/120474]

Version info

  • Merged into: 26.10.1.125 (included in 26.10 and later)

`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
@clickhouse-gh

clickhouse-gh Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [c0a6af7]

Summary: ✅


AI Review

Summary

This PR switches the integration-test MinIO stack from the dead minio/* lineage to mirrored pgsty-based tags in clickhouse/, and updates the Trino Iceberg bootstrap to the current mc CLI. I did not find any unresolved correctness or operational issues in the current diff.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Sep 16, 2026
@alexey-milovidov alexey-milovidov added the blocker This issue / pr blocks a new release label Sep 16, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). label Sep 16, 2026

@azat azat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe instead better to switch to seaweedfs (like in stateless test) ?

@maxknv

maxknv commented Sep 17, 2026

Copy link
Copy Markdown
Member

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

@alexey-milovidov

Copy link
Copy Markdown
Member Author

@maxknv, for some reason, mirroring didn't help yesterday. Yes, let's mirror pgsty. How to do that?

@maxknv

maxknv commented Sep 17, 2026

Copy link
Copy Markdown
Member

@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

@alexey-milovidov

Copy link
Copy Markdown
Member Author

@azat, also thought about this. No preference. The argument for pgsty is that it is as close to minio as possible.

@alexey-milovidov

Copy link
Copy Markdown
Member Author

@maxknv, likely timing. I will update all PRs that were broken.

@alexey-milovidov alexey-milovidov removed the blocker This issue / pr blocks a new release label Sep 17, 2026
…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]>
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Sep 18, 2026
Merged via the queue into master with commit c601d8e Sep 18, 2026
176 checks passed
@alexey-milovidov
alexey-milovidov deleted the ci-switch-minio-images-to-pgsty branch September 18, 2026 23:56
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 19, 2026
@Vonng Vonng mentioned this pull request Nov 7, 2026
8 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration tests fail fleet-wide: minio/minio and minio/mc are no longer anonymously pullable from Docker Hub

4 participants