[build-scripts] Handle expired certs in minio GitOrigin-RevId: 7e0d03112790fbbfd0c2a1718e272aeeb99c8767
@@ -89,6 +89,9 @@ services:
if [ ! -f private.key ] || [ ! -f public.crt ]; then
/certgen -host minio
fi
+ if ! openssl x509 -checkend 864000 -noout -in public.crt > /dev/null; then
+ /certgen -host minio
+ fi
minio:
image: minio/minio:RELEASE.2024-10-13T13-34-11Z
@@ -91,6 +91,9 @@ services:
@@ -136,6 +136,9 @@ services:
@@ -142,6 +142,9 @@ services: