From d9bae6ef84ac2e07e4c6608030440a4a24b44c43 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Sat, 3 Jan 2026 18:46:27 +0400 Subject: [PATCH] chore: run minio via docker command --- .github/workflows/sync-e2e.yml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/sync-e2e.yml b/.github/workflows/sync-e2e.yml index 015a7d0..e01de30 100644 --- a/.github/workflows/sync-e2e.yml +++ b/.github/workflows/sync-e2e.yml @@ -70,26 +70,19 @@ jobs: name: donut-sync Node.js E2E Tests runs-on: ubuntu-22.04 - services: - minio: - image: minio/minio:latest - ports: - - 8987:9000 - env: - MINIO_ROOT_USER: minioadmin - MINIO_ROOT_PASSWORD: minioadmin - options: >- - --health-cmd "curl -f http://localhost:9000/minio/health/live || exit 1" - --health-interval 5s - --health-timeout 5s - --health-retries 10 - steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Wait for MinIO to be ready + - name: Start MinIO run: | + docker run -d --name minio \ + -p 8987:9000 \ + -e MINIO_ROOT_USER=minioadmin \ + -e MINIO_ROOT_PASSWORD=minioadmin \ + minio/minio:latest server /data + + # Wait for MinIO to be ready for i in {1..30}; do if curl -sf http://localhost:8987/minio/health/live; then echo "MinIO is ready"