Skip to content

Fix mc config no longer being available in CI #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

yutotakano
Copy link
Member

The CI for setting up a Minio database has started to fail recently due to mc config being removed (minio/mc#5206).

This PR fixes it by using the replacement mc alias command.

The Docker Compose file for launching a local development environment is unaffected since it has a pinned Minio and Minio Client version from 2023.

In CI we use the latest minio images and client (unlike our
development environment docker compose file, which is pinned
to a version from 2023). Since a few days ago, the minio
client has removed the `mc config` command and repalced it
with `mc alias`. This commit fixes the CI to use the new
command.

As a side note, the reason we rely on the latest minio image
instead of pinning it in the CI too, is that we use a third-
party minio image (maragudk/minio-ci) to work around some
limitations in the official image. This third-pary image
doesn't have the old release from 2023.
@yutotakano yutotakano merged commit 86e9b13 into master Jun 3, 2025
5 checks passed
@yutotakano yutotakano deleted the fix-ci-mc-version branch June 3, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants