Merge pull request #30549 from overleaf/mj-build-script-minio-certs

[build-scripts] Handle expired certs in minio

GitOrigin-RevId: 7e0d03112790fbbfd0c2a1718e272aeeb99c8767
This commit is contained in:
Mathias Jakobsen
2026-01-12 09:06:36 +00:00
committed by Copybot
parent e4eb116a5c
commit e895ff8153
4 changed files with 12 additions and 0 deletions
+3
View File
@@ -89,6 +89,9 @@ services:
if [ ! -f private.key ] || [ ! -f public.crt ]; then if [ ! -f private.key ] || [ ! -f public.crt ]; then
/certgen -host minio /certgen -host minio
fi fi
if ! openssl x509 -checkend 864000 -noout -in public.crt > /dev/null; then
/certgen -host minio
fi
minio: minio:
image: minio/minio:RELEASE.2024-10-13T13-34-11Z image: minio/minio:RELEASE.2024-10-13T13-34-11Z
+3
View File
@@ -91,6 +91,9 @@ services:
if [ ! -f private.key ] || [ ! -f public.crt ]; then if [ ! -f private.key ] || [ ! -f public.crt ]; then
/certgen -host minio /certgen -host minio
fi fi
if ! openssl x509 -checkend 864000 -noout -in public.crt > /dev/null; then
/certgen -host minio
fi
minio: minio:
image: minio/minio:RELEASE.2024-10-13T13-34-11Z image: minio/minio:RELEASE.2024-10-13T13-34-11Z
@@ -136,6 +136,9 @@ services:
if [ ! -f private.key ] || [ ! -f public.crt ]; then if [ ! -f private.key ] || [ ! -f public.crt ]; then
/certgen -host minio /certgen -host minio
fi fi
if ! openssl x509 -checkend 864000 -noout -in public.crt > /dev/null; then
/certgen -host minio
fi
minio: minio:
image: minio/minio:RELEASE.2024-10-13T13-34-11Z image: minio/minio:RELEASE.2024-10-13T13-34-11Z
+3
View File
@@ -142,6 +142,9 @@ services:
if [ ! -f private.key ] || [ ! -f public.crt ]; then if [ ! -f private.key ] || [ ! -f public.crt ]; then
/certgen -host minio /certgen -host minio
fi fi
if ! openssl x509 -checkend 864000 -noout -in public.crt > /dev/null; then
/certgen -host minio
fi
minio: minio:
image: minio/minio:RELEASE.2024-10-13T13-34-11Z image: minio/minio:RELEASE.2024-10-13T13-34-11Z