minio-rs/tests/start-server.sh
Henk-Jan Lebbink ec0e79214f
refactor: consolidate codebase structure and add testing infrastructure (#194)
Reorganize project structure to improve maintainability and add comprehensive
  testing documentation and tooling support.
2025-11-19 11:09:22 -08:00

24 lines
459 B
Bash
Executable File

#!/bin/bash
set -x
set -e
wget --quiet https://dl.min.io/server/minio/release/linux-amd64/minio
chmod +x minio
echo "MinIO Server Version:"
./minio --version
mkdir -p /tmp/certs
cp ./tests/public.crt ./tests/private.key /tmp/certs/
(MINIO_CI_CD=true \
MINIO_NOTIFY_WEBHOOK_ENABLE_miniojavatest=on \
MINIO_NOTIFY_WEBHOOK_ENDPOINT_miniojavatest=http://example.org/ \
./minio server /tmp/test-xl/{1...4}/ --certs-dir /tmp/certs/ &)
sleep 10