Obj str do it #255

Merged
phoenix merged 91 commits from obj_str-do_it into main 2026-08-08 14:29:15 -04:00
Showing only changes of commit b3fb8b3088 - Show all commits
+13 -10
View File
@@ -32,11 +32,6 @@ jobs:
env:
MINIO_ROOT_USER: test
MINIO_ROOT_PASSWORD: test
options: >-
--health-cmd "curl -f http://localhost:9000/minio/health/ready || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 9000:9000
command: server /data --console-address ":9001"
@@ -66,12 +61,20 @@ jobs:
chmod +x mc
sudo mv mc /usr/local/bin/
# Wait for MinIO to be ready
until curl -s http://localhost:9000/minio/health/ready; do
echo "Waiting for MinIO..."
sleep 2
# Wait for MinIO with a simpler check
echo "Waiting for MinIO to start..."
for i in {1..30}; do
if curl -s http://localhost:9000/minio/health/ready > /dev/null 2>&1; then
echo "MinIO is ready!"
break
fi
echo "Attempt $i: MinIO not ready yet..."
docker logs minio || true # Show container logs for debugging
sleep 3
done
echo "MinIO is ready!"
# Check if MinIO is actually running
docker ps | grep minio || echo "MinIO container is not running!"
# Configure mc to use MinIO
mc alias set localminio http://localhost:9000 test test