You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "XuQianJin-Stars (via GitHub)" <gi...@apache.org> on 2026/09/14 01:29:36 UTC

[PR] ci(s3): set MinIO anonymous policy via aws instead of mc [opendal]

XuQianJin-Stars opened a new pull request, #8295:
URL: https://github.com/apache/opendal/pull/8295

   # Which issue does this PR close?
   
   Closes #.
   
   # Rationale for this change
   
   `minio_s3_with_anonymous` fails in Core behavior CI while creating the test bucket. `aws s3 mb` succeeds, then `curl -fLO https://dl.min.io/client/mc/release/linux-amd64/mc` fails with HTTP 410.
   
   `dl.min.io` now returns 410 Gone: MinIO archived the community Server, Client (`mc`), and KES downloads and no longer serves those binaries. This is an upstream download outage, not an OpenDAL S3 behavior regression. Other MinIO fixtures that do not download `mc` still pass.
   
   The fixture already uses AWS CLI to create the bucket, so it can apply the anonymous policy the same way.
   
   # What changes are included in this PR?
   
   - Stop downloading `mc` from `dl.min.io` in `.github/services/s3/minio_s3_with_anonymous/action.yml`.
   - After creating `s3://test`, call `aws s3api put-bucket-policy` with the MinIO readwrite bucket policy that `mc anonymous set public` used to set (`GetBucketLocation` / `ListBucket` / `ListBucketMultipartUploads` on the bucket, and object Get/Put/Delete plus multipart actions on `test/*`).
   
   # Are there any user-facing changes?
   
   No. This only changes the CI fixture for anonymous MinIO S3 tests.
   
   # Breaking changes
   
   # AI Usage Statement
   
   - Harness: Cursor
   - Effort: default
   - Role: Confirmed that `dl.min.io` returns HTTP 410 for `mc`, replaced the download with an AWS CLI bucket policy that matches `mc anonymous set public`, and drafted this PR description. The Core `minio_s3_with_anonymous` job has not been re-run against this branch yet.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ci(s3): set MinIO anonymous policy via aws instead of mc [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #8295:
URL: https://github.com/apache/opendal/pull/8295


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org