Skip to content

Conversation

mihow
Copy link
Collaborator

@mihow mihow commented Jun 18, 2025

Summary

Test files were suddenly getting permission denied errors in the test suite and in any development environments that were recently created. This is because MinIO made some updates that broke our script that sets the test/local buckets to public after they are created. This PR pins MinIO to the last known working version. Further work should be done to update the commands and keep up-to-date with MinIO, but pinning the versions is a good idea nevertheless.

Deployment Notes

To fix this locally, run docker compose pull minio minio-init and then docker compose up -d. The changes do not apply to the production or staging environments because they used a hosted object storage service. If you haven't updated your Docker compose environment in a few months, then you shouldn't have run into this issue.

Checklist

  • I have tested these changes appropriately.
  • I have added and/or modified relevant tests.
  • I updated relevant documentation or comments.
  • I have verified that this PR follows the project's coding standards.
  • Any dependent changes have already been merged to main.

@Copilot Copilot AI review requested due to automatic review settings June 18, 2025 00:31
Copy link

netlify bot commented Jun 18, 2025

Deploy Preview for antenna-preview canceled.

Name Link
🔨 Latest commit 73caf40
🔍 Latest deploy log https://app.netlify.com/projects/antenna-preview/deploys/685208e31d4fe50008a00c87

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses permission denied errors during testing by pinning MinIO and its client to specific versions that are known to work. Key changes include:

  • Updating the MinIO image version in docker-compose.yml from "latest" to "RELEASE.2024-11-07T00-52-20Z".
  • Updating the MinIO client image version in docker-compose.yml from the untagged image to "RELEASE.2025-03-12T17-29-24Z".
  • Applying the same pinning for MinIO and its client in docker-compose.ci.yml.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docker-compose.yml Pinned minio and minio-init image versions to prevent permission errors.
docker-compose.ci.yml Pinned minio and minio-init image versions for CI consistency.
Comments suppressed due to low confidence (4)

docker-compose.yml:111

  • [nitpick] Consider adding a comment explaining why this version is pinned, to assist future maintainers in understanding the context behind this change.
    image: minio/minio:RELEASE.2024-11-07T00-52-20Z

docker-compose.yml:137

  • [nitpick] Consider adding a comment to document why this specific client version is chosen, which would be useful when an update is required.
    image: minio/mc:RELEASE.2025-03-12T17-29-24Z

docker-compose.ci.yml:31

  • [nitpick] Consider including a comment to clarify the rationale for this version pinning in the CI configuration for consistency with local setups.
    image: minio/minio:RELEASE.2024-11-07T00-52-20Z

docker-compose.ci.yml:37

  • [nitpick] Consider adding a note explaining why this specific client version is pinned, providing context that may help in future updates.
    image: minio/mc:RELEASE.2025-03-12T17-29-24Z

@mihow mihow merged commit 417d380 into main Jul 2, 2025
6 checks passed
@mihow mihow deleted the fix/minio-version branch July 2, 2025 20:43
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.

1 participant