Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (tests): Pull MinIO from the pgsty/minio fork, since quay.io/minio/minio now denies anonymous pulls and breaks the test run

Rostislav Dugin6a74a06acf74
diff --git a/backend/Makefile b/backend/Makefile
index 9f710ed1..c1883d91 100644
--- a/backend/Makefile
+++ b/backend/Makefile
@@ -42,9 +42,9 @@ clean-testcontainers:
pull-testcontainers:
# For the bare names the tag must start with a digit, so a quoted "postgres:postgres"
# chown arg in physical tests isn't mistaken for an image tag; every real image tag
- # there is version-like. A registry-qualified name cannot be confused with anything,
+ # there is version-like. A namespaced name (owner/image) cannot be confused with anything,
# so its tag is matched as written.
- @grep -rhoE '"(mysql|mariadb|mongo|postgres):[0-9][a-zA-Z0-9._-]*"|"quay\.io/minio/minio:[a-zA-Z0-9._-]+"' ./internal \
+ @grep -rhoE '"(mysql|mariadb|mongo|postgres):[0-9][a-zA-Z0-9._-]*"|"pgsty/minio:[a-zA-Z0-9._-]+"' ./internal \
| tr -d '"' | sort -u \
| xargs -P 4 -I {} sh -c 'for n in 1 2 3; do docker pull {} && exit 0; echo "retry {} ($$n)"; sleep 3; done; echo "FAILED to pull {} after 3 attempts"; exit 1'
diff --git a/backend/internal/util/testing/containers/minio.go b/backend/internal/util/testing/containers/minio.go
index 14cf9015..4faba876 100644
--- a/backend/internal/util/testing/containers/minio.go
+++ b/backend/internal/util/testing/containers/minio.go
@@ -17,11 +17,12 @@ const (
const minioPort = "9000/tcp"
-// MinIO withdrew its Docker Hub repository, so `minio/minio` now answers every pull
-// with an access denial. Quay is where the project publishes, and the tag is pinned
-// because a test that silently follows upstream is a test that breaks on someone
+// MinIO stopped publishing community images: both `minio/minio` on Docker Hub and
+// `quay.io/minio/minio` now deny anonymous pulls. `pgsty/minio` is a community-maintained
+// fork of the same server, so the command, env and health endpoint stay the same. The tag
+// is pinned because a test that silently follows upstream is a test that breaks on someone
// else's release day.
-const MinioImage = "quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z"
+const MinioImage = "pgsty/minio:RELEASE.2026-08-04T00-00-00Z"
// StartMinio's container starts empty: the caller creates whatever bucket it needs against the
// returned endpoint, or for failure-path tests points at a missing one.