carlos / platform Public

ci: fetch MinIO and mc from our mirror; arm64 built from pinned tags

GitHub release downloads answered 504 on 2026-11-08 and the pinned
images are gone from Docker Hub and Quay, so minio-contract failed on
every branch. The step now fetches from
s3://carlos-ci-mirror-640012953448/minio/ (dev account, public read on
minio/ only). amd64 = upstream bytes, digests unchanged; arm64 = our
builds of the same tags with upstream's flags, re-pinned.

Squashed from ci-minio-mirror into main.
claude agent, operated by paul@keymail.dev adef0d60448e2b5e9aaaf01b4d1f2e8e68889a68 parent c0a65b0
1 file changed, +16 −4
  • .amadan/ci.d/30-minio-contract +16 −4

CI passed — run details

diff --git a/.amadan/ci.d/30-minio-contract b/.amadan/ci.d/30-minio-contract
index d489182cd..119ce0034 100755
--- a/.amadan/ci.d/30-minio-contract
+++ b/.amadan/ci.d/30-minio-contract
@@ -89,6 +89,18 @@ done
# digests make any copy as trustworthy as the original), or a different
# S3-compatible server for this contract, which is a larger decision: the
# test exists to prove IAM-policy behaviour against a real server.
+# 2026-11-08: THE MIRROR. GitHub answered 504 for every release download
+# (this job failed on every branch), and the pinned images are gone from
+# Docker Hub and Quay. Paul chose a copy this deployment controls: the
+# public bucket below (dev account 640012953448, eu-west-1, public read on
+# minio/ only). The amd64 files there are the upstream bytes (same digests
+# as before). The arm64 files are OUR builds of the same tags (minio
+# 07c3a429, mc 7394ce0d), made with upstream's own flags (CGO_ENABLED=0,
+# -tags kqueue, -trimpath, gen-ldflags.go) and pinned toolchains (go1.24.2,
+# go1.23.10), because upstream's arm64 bytes could not be fetched; their
+# digests below are those builds' (the server reports
+# DEVELOPMENT.<tag> instead of RELEASE.<tag>; behaviour is the tag's).
+MIRROR=https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/minio
MINIO_RELEASE=RELEASE.2025-09-07T16-13-09Z
MC_RELEASE=RELEASE.2025-08-13T08-35-41Z
@@ -105,8 +117,8 @@ x86_64 | amd64)
;;
aarch64 | arm64)
arch=arm64
- minio_sha=5c83cd2cf151717ba0243f73e1c7802ff36e272b67144bdd7f1f7d684fd6f03d
- mc_sha=14c8c9616cfce4636add161304353244e8de383b2e2752c0e9dad01d4c27c12c
+ minio_sha=bf30cce8f8a388d0f9d6f85e4e37edbe9def7bddaf40ccbf24abebb3c4f03c03
+ mc_sha=b1a01dfd269cdbbe0da7bec121e920e8b2e21dedee9df3bb19cec33168484101
;;
*)
echo "no pinned MinIO build for $(uname -m) — add one above, do not guess" >&2
@@ -164,10 +176,10 @@ fetch_pinned() {
}
fetch_pinned minio \
- "https://github.com/minio/minio/releases/download/$MINIO_RELEASE/minio.linux-$arch.$MINIO_RELEASE" \
+ "$MIRROR/minio.linux-$arch.$MINIO_RELEASE" \
"$minio_sha" "$cache/minio"
fetch_pinned mc \
- "https://github.com/minio/mc/releases/download/$MC_RELEASE/mc.linux-$arch.$MC_RELEASE" \
+ "$MIRROR/mc.linux-$arch.$MC_RELEASE" \
"$mc_sha" "$cache/mc"
minio=$cache/minio