This is an automated email from the ASF dual-hosted git repository.

tuhaihe pushed a commit to branch REL_2_STABLE
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/REL_2_STABLE by this push:
     new a1528674e45 Fix Yezzey CI: dl.min.io no longer serves MinIO binaries
a1528674e45 is described below

commit a1528674e45e431cca64ee671f3ea84025ff5983
Author: Dianjin Wang <[email protected]>
AuthorDate: Mon Sep 14 16:09:39 2026 +0800

    Fix Yezzey CI: dl.min.io no longer serves MinIO binaries
    
    MinIO archived the open-source Server, Client (mc) and KES projects and
    stopped serving their binaries: every artifact under dl.min.io now returns
    HTTP 410 Gone. The "Setup MinIO" step fails on the first download with
    curl exit 22, so the Yezzey CI Pipeline has been red on REL_2_STABLE for
    all five matrix OSes since 2026-09-11.
    
    Pin the final open-source releases from their GitHub release assets, which
    are still published, and verify each binary against the sha256sum MinIO
    publishes next to it. The previous code piped an unverified binary straight
    to /usr/local/bin.
    
    Server RELEASE.2025-09-07T16-13-09Z, client RELEASE.2025-08-13T08-35-41Z.
    Both keep the minio/mc file names, so the rest of the step -- starting the
    server, the health probe and the bucket setup -- is unchanged.
    
    The release/checksum values are plain shell variables rather than job-level
    env: anything exported with a MINIO_ prefix would be picked up by the MinIO
    server as configuration.
---
 .github/workflows/yezzey-ci.yaml | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/yezzey-ci.yaml b/.github/workflows/yezzey-ci.yaml
index 35490524c3e..13674b6042b 100644
--- a/.github/workflows/yezzey-ci.yaml
+++ b/.github/workflows/yezzey-ci.yaml
@@ -131,12 +131,31 @@ jobs:
           fi
           getent hosts minio
 
-          # Download MinIO server binary and mc client
-          curl -fsSL -o minio 
https://dl.min.io/server/minio/release/linux-amd64/minio
+          # Download MinIO server binary and mc client.
+          #
+          # dl.min.io now returns HTTP 410 for every artifact: MinIO archived
+          # the open-source Server and Client and no longer serves them from
+          # that host.  The final open-source releases are still published as
+          # GitHub release assets, so pin them there and verify the checksums
+          # MinIO publishes alongside each binary.
+          #
+          # These are plain shell variables on purpose: exporting anything
+          # with a MINIO_ prefix would leak into the server's configuration
+          # environment below.
+          minio_release="RELEASE.2025-09-07T16-13-09Z"
+          
minio_sha256="7c5bd8512c6e966455b1d198209358b2d191c77a83ab377c4073281065fb855f"
+          mc_release="RELEASE.2025-08-13T08-35-41Z"
+          
mc_sha256="01f866e9c5f9b87c2b09116fa5d7c06695b106242d829a8bb32990c00312e891"
+
+          curl -fsSL -o minio \
+            
"https://github.com/minio/minio/releases/download/${minio_release}/minio.linux-amd64.${minio_release}";
+          echo "${minio_sha256}  minio" | sha256sum -c -
           chmod +x minio
           sudo mv minio /usr/local/bin/minio
 
-          curl -fsSL -o mc https://dl.min.io/client/mc/release/linux-amd64/mc
+          curl -fsSL -o mc \
+            
"https://github.com/minio/mc/releases/download/${mc_release}/mc.linux-amd64.${mc_release}";
+          echo "${mc_sha256}  mc" | sha256sum -c -
           chmod +x mc
           sudo mv mc /usr/local/bin/mc
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to