Registry testing - part 9
This commit is contained in:
12
tests/docker/scripts/init-minio.sh
Executable file
12
tests/docker/scripts/init-minio.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Wait for MinIO to be ready
|
||||
echo "Waiting for MinIO..."
|
||||
until mc alias set local http://minio:9000 minioadmin minioadmin 2>/dev/null; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
# Create the stalwart bucket
|
||||
mc mb local/stalwart --ignore-existing
|
||||
echo "MinIO bucket 'stalwart' created."
|
||||
Reference in New Issue
Block a user