From 655ee81c8b32328f4ad4383f5d21c830ad697404 Mon Sep 17 00:00:00 2001 From: koushiro Date: Sat, 3 Oct 2026 23:24:24 +0800 Subject: [PATCH] ci: migrate minio to silo --- .github/actions/test_behavior_binding_go/action.yaml | 2 +- .../action.yml | 10 +++++----- .../services/s3/{0_minio_s3 => 0_silo_s3}/action.yml | 8 ++++---- .../action.yml | 8 ++++---- .../action.yml | 8 ++++---- .../action.yml | 8 ++++---- .github/workflows/test_edge.yml | 4 ++-- .github/workflows/test_fuzz.yml | 2 +- bindings/go/CONTRIBUTING.md | 2 +- .../{minio-s3-core-site.xml => silo-s3-core-site.xml} | 0 ...ocker-compose-minio.yml => docker-compose-silo.yml} | 9 +++++++-- 11 files changed, 33 insertions(+), 28 deletions(-) rename .github/services/hdfs/{hdfs_default_on_minio_s3 => hdfs_default_on_silo_s3}/action.yml (84%) rename .github/services/s3/{0_minio_s3 => 0_silo_s3}/action.yml (92%) rename .github/services/s3/{minio_s3_with_anonymous => silo_s3_with_anonymous}/action.yml (93%) rename .github/services/s3/{minio_s3_with_list_objects_v1 => silo_s3_with_list_objects_v1}/action.yml (90%) rename .github/services/s3/{minio_s3_with_versioning => silo_s3_with_versioning}/action.yml (89%) rename fixtures/hdfs/{minio-s3-core-site.xml => silo-s3-core-site.xml} (100%) rename fixtures/s3/{docker-compose-minio.yml => docker-compose-silo.yml} (78%) diff --git a/.github/actions/test_behavior_binding_go/action.yaml b/.github/actions/test_behavior_binding_go/action.yaml index 99d9eb42faa7..6512b33dfcee 100644 --- a/.github/actions/test_behavior_binding_go/action.yaml +++ b/.github/actions/test_behavior_binding_go/action.yaml @@ -47,7 +47,7 @@ runs: fi cp bindings/go/Makefile . make tests - if [ "${{ inputs.setup }}" == "0_minio_s3" ]; then + if [ "${{ inputs.setup }}" == "0_silo_s3" ]; then make bench fi env: diff --git a/.github/services/hdfs/hdfs_default_on_minio_s3/action.yml b/.github/services/hdfs/hdfs_default_on_silo_s3/action.yml similarity index 84% rename from .github/services/hdfs/hdfs_default_on_minio_s3/action.yml rename to .github/services/hdfs/hdfs_default_on_silo_s3/action.yml index 92c6a44ea8a7..3f471c178666 100644 --- a/.github/services/hdfs/hdfs_default_on_minio_s3/action.yml +++ b/.github/services/hdfs/hdfs_default_on_silo_s3/action.yml @@ -15,16 +15,16 @@ # specific language governing permissions and limitations # under the License. -name: hdfs_default_on_minio_s3 -description: 'Behavior test for hdfs default on minio s3' +name: hdfs_default_on_silo_s3 +description: 'Behavior test for hdfs default on Silo S3' runs: using: "composite" steps: - - name: Setup MinIO Server + - name: Setup Silo Server shell: bash working-directory: fixtures/s3 - run: docker compose --file docker-compose-minio.yml up --quiet-pull --detach --wait + run: docker compose --file docker-compose-silo.yml up --quiet-pull --detach --wait - name: Setup test bucket shell: bash @@ -49,7 +49,7 @@ runs: ./bin/hadoop credential create fs.s3a.secret.key -value minioadmin -provider localjceks://file/tmp/hdfs/s3.jceks popd - cp ${{ github.workspace }}/fixtures/hdfs/minio-s3-core-site.xml ${HADOOP_HOME}/etc/hadoop/core-site.xml + cp ${{ github.workspace }}/fixtures/hdfs/silo-s3-core-site.xml ${HADOOP_HOME}/etc/hadoop/core-site.xml cat << EOF >> $GITHUB_ENV OPENDAL_HDFS_NAME_NODE=s3a://test diff --git a/.github/services/s3/0_minio_s3/action.yml b/.github/services/s3/0_silo_s3/action.yml similarity index 92% rename from .github/services/s3/0_minio_s3/action.yml rename to .github/services/s3/0_silo_s3/action.yml index ec964ff172af..6002f9531df5 100644 --- a/.github/services/s3/0_minio_s3/action.yml +++ b/.github/services/s3/0_silo_s3/action.yml @@ -15,16 +15,16 @@ # specific language governing permissions and limitations # under the License. -name: minio_s3 -description: 'Behavior test for Minio S3.' +name: silo_s3 +description: 'Behavior test for Silo S3.' runs: using: "composite" steps: - - name: Setup MinIO Server + - name: Setup Silo Server shell: bash working-directory: fixtures/s3 - run: docker compose -f docker-compose-minio.yml up -d --wait + run: docker compose -f docker-compose-silo.yml up -d --wait - name: Setup test bucket shell: bash env: diff --git a/.github/services/s3/minio_s3_with_anonymous/action.yml b/.github/services/s3/silo_s3_with_anonymous/action.yml similarity index 93% rename from .github/services/s3/minio_s3_with_anonymous/action.yml rename to .github/services/s3/silo_s3_with_anonymous/action.yml index 9b10aac1e983..3389c81c5c30 100644 --- a/.github/services/s3/minio_s3_with_anonymous/action.yml +++ b/.github/services/s3/silo_s3_with_anonymous/action.yml @@ -15,17 +15,17 @@ # specific language governing permissions and limitations # under the License. -name: minio_s3_with_anonymous -description: 'Behavior test for Minio S3 with anonymous access.' +name: silo_s3_with_anonymous +description: 'Behavior test for Silo S3 with anonymous access.' runs: using: "composite" steps: - - name: Setup MinIO Server + - name: Setup Silo Server shell: bash working-directory: fixtures/s3 run: | - docker compose -f docker-compose-minio.yml up -d --wait + docker compose -f docker-compose-silo.yml up -d --wait - name: Setup test bucket shell: bash env: diff --git a/.github/services/s3/minio_s3_with_list_objects_v1/action.yml b/.github/services/s3/silo_s3_with_list_objects_v1/action.yml similarity index 90% rename from .github/services/s3/minio_s3_with_list_objects_v1/action.yml rename to .github/services/s3/silo_s3_with_list_objects_v1/action.yml index 910001b6d39d..bf850e923335 100644 --- a/.github/services/s3/minio_s3_with_list_objects_v1/action.yml +++ b/.github/services/s3/silo_s3_with_list_objects_v1/action.yml @@ -15,16 +15,16 @@ # specific language governing permissions and limitations # under the License. -name: minio_s3_with_versioning -description: "Behavior test for Minio S3 with bucket versioning enabled" +name: silo_s3_with_list_objects_v1 +description: "Behavior test for Silo S3 with ListObjects V1" runs: using: "composite" steps: - - name: Setup MinIO Server + - name: Setup Silo Server shell: bash working-directory: fixtures/s3 - run: docker compose -f docker-compose-minio.yml up -d --wait + run: docker compose -f docker-compose-silo.yml up -d --wait - name: Setup test bucket shell: bash env: diff --git a/.github/services/s3/minio_s3_with_versioning/action.yml b/.github/services/s3/silo_s3_with_versioning/action.yml similarity index 89% rename from .github/services/s3/minio_s3_with_versioning/action.yml rename to .github/services/s3/silo_s3_with_versioning/action.yml index eacf6eefc1ed..aafbb32a0288 100644 --- a/.github/services/s3/minio_s3_with_versioning/action.yml +++ b/.github/services/s3/silo_s3_with_versioning/action.yml @@ -15,16 +15,16 @@ # specific language governing permissions and limitations # under the License. -name: minio_s3_with_versioning -description: 'Behavior test for Minio S3 with bucket versioning enabled' +name: silo_s3_with_versioning +description: 'Behavior test for Silo S3 with bucket versioning enabled' runs: using: "composite" steps: - - name: Setup MinIO Server + - name: Setup Silo Server shell: bash working-directory: fixtures/s3 - run: docker compose -f docker-compose-minio.yml up -d --wait + run: docker compose -f docker-compose-silo.yml up -d --wait - name: Setup test bucket shell: bash env: diff --git a/.github/workflows/test_edge.yml b/.github/workflows/test_edge.yml index 97d7d922893d..a4ae4d3f15f3 100644 --- a/.github/workflows/test_edge.yml +++ b/.github/workflows/test_edge.yml @@ -96,10 +96,10 @@ jobs: curl -fsSL https://wasm-bindgen.github.io/wasm-pack/installer/init.sh | bash wasm-pack --version - - name: Setup MinIO Server + - name: Setup Silo Server shell: bash working-directory: fixtures/s3 - run: docker compose -f docker-compose-minio.yml up -d --wait + run: docker compose -f docker-compose-silo.yml up -d --wait - name: Setup test bucket shell: bash diff --git a/.github/workflows/test_fuzz.yml b/.github/workflows/test_fuzz.yml index 741e089466b6..25dc47f709ee 100644 --- a/.github/workflows/test_fuzz.yml +++ b/.github/workflows/test_fuzz.yml @@ -53,7 +53,7 @@ jobs: cases: - { service: "memory", setup: "memory" } - { service: "fs", setup: "local_fs" } - - { service: "s3", setup: "0_minio_s3" } + - { service: "s3", setup: "0_silo_s3" } - { service: "azblob", setup: "azurite_azblob" } steps: - uses: actions/checkout@v7 diff --git a/bindings/go/CONTRIBUTING.md b/bindings/go/CONTRIBUTING.md index 4be22538bde1..29ec8b495025 100644 --- a/bindings/go/CONTRIBUTING.md +++ b/bindings/go/CONTRIBUTING.md @@ -30,7 +30,7 @@ go test -bench .
- A benchmark between OpenDAL Go binding and aws-sdk-go on minio S3 compatible storage + A benchmark between OpenDAL Go binding and aws-sdk-go on Silo S3 compatible storage ``` diff --git a/fixtures/hdfs/minio-s3-core-site.xml b/fixtures/hdfs/silo-s3-core-site.xml similarity index 100% rename from fixtures/hdfs/minio-s3-core-site.xml rename to fixtures/hdfs/silo-s3-core-site.xml diff --git a/fixtures/s3/docker-compose-minio.yml b/fixtures/s3/docker-compose-silo.yml similarity index 78% rename from fixtures/s3/docker-compose-minio.yml rename to fixtures/s3/docker-compose-silo.yml index 5f3fd68773e1..3b4e5785d6bf 100644 --- a/fixtures/s3/docker-compose-minio.yml +++ b/fixtures/s3/docker-compose-silo.yml @@ -16,11 +16,16 @@ # under the License. services: - minio: - image: quay.io/minio/minio:RELEASE.2024-09-22T00-33-43Z + silo: + image: docker.io/pgsty/silo:RELEASE.2026-09-16T00-00-00Z@sha256:635197cb9f36d01bee221d34d1c7d7960f6a95c48b0b6c01d99cd13bdae51a46 ports: - 9000:9000 command: server /data + healthcheck: + test: ["CMD", "silo", "healthcheck", "ready"] + interval: 2s + timeout: 5s + retries: 30 environment: MINIO_ROOT_USER: "minioadmin" MINIO_ROOT_PASSWORD: "minioadmin"