Repository navigation
[GRDM-63383] S3互換ストレージのCI用MinIOをソースからビルド - #55
Merged
yacchin1205 merged 2 commits intoOct 7, 2026
Merged
Conversation
yacchin1205
force-pushed
the
feature/build-minio-from-source
branch
from
October 6, 2026 07:57
cd62ee2 to
d940567
Compare
miyamoto83
added a commit
to miya-biz/RDM-e2e-test-nb
that referenced
this pull request
Oct 6, 2026
Collaborator
Author
|
JupyterHub / Wiki / Flowable Formsエラーが発生していますが、以下のように、本PRとしては問題ないと考えます。
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Docker Hub の
minio/minioイメージが pull できなくなり、S3 互換ストレージのテストジョブ(User Tests (MinIO) / Admin Tests (MinIO))が「Start all RDM services」で恒常的に失敗しています。(例: https://github.com/RCOSDP/RDM-e2e-test-nb/actions/runs/36359861144 。2026-09-21 以降の全 7 実行で発生)
MinIO と mc の最終リリースをソースからビルドし、CI で使用するように変更します。#53(RustFS への置き換え)の代替案です。
#53 では s3compat(SigV2)のテストを無効化しましたが、これは WaterButler の s3compat プロバイダの
get_full_revisionが ListObjectVersions のクエリを二重に付与しており、署名検証が厳密なサーバ(RustFS、Zenko CloudServer で確認)がこのリクエストを拒否するためでした。MinIO は SigV2 の署名検証時にクエリを map で集約する(cmd/signature-v2.goのcanonicalizedResourceV2)ため、このリクエストを受け付けます。ソースからビルドした MinIO に対し、CI と同じniicloudoperation/rdm-waterbutler:latestから s3compat の操作(フォルダ移動、ListObjectVersions を含む)が成功することをローカルで確認しています。これにより s3compat(SigV2)のテストを従来どおり実行できます。なお、
minio/minioおよびminio/mcの GitHub リポジトリはアーカイブ済みのため、今後のセキュリティ修正は提供されません。Changes
docker/minio/Dockerfile.minio/docker/minio/Dockerfile.mcを追加:minio/minioのRELEASE.2025-10-15T17-29-55Z、minio/mcのRELEASE.2025-08-13T08-35-41Zをタグ指定で clone してビルド。setup_minio.sh/setup_minio_buckets.shが前提とするcurl(ヘルスチェック)と/bin/shを含めるため、実行用イメージは alpine ベースe2e-test.yml: 各ジョブ共通のイメージ(Elasticsearch、MinIO / mc、custom WaterButler)をbuild-imagesジョブで一度だけビルドし、artifact で各ジョブに配布するTicket
GRDM-63383
Custom Test Configuration