[GRDM-55309] paths.yaml対応とJupyterHub連携機能の追加#22
Merged
ikfj merged 8 commits intoRCOSDP:masterfrom Oct 22, 2025
Merged
Conversation
3af8c1c to
8ec03df
Compare
- switch to simpler jupyter-keepalive extension - set -e in postBuild to catch errors - set -x to see steps as they go for easier debugging
4c91fdf to
0bb2902
Compare
0bb2902 to
96e8266
Compare
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.
GakuNin RDMプロジェクトから解析環境を構築する際のフォルダマッピング機能と、JupyterHubとの連携機能を実装しました。
以下の変更を行なっています。
paths.yamlによるフォルダマッピング設定
.binder/paths.yamlまたはbinder/paths.yamlにて、RDMプロジェクト内のどのフォルダを解析環境にコピー/リンクするかを設定できるようになりました。volumesセクションと同様の記法で、フォルダのコピー・シンボリックリンクを定義可能$default_storage_path変数でデフォルトストレージを参照可能override: trueでデフォルトの全コピー動作を無効化可能JupyterHubとの連携機能
provision.shスクリプトを自動生成し、JupyterHub起動時にRDMデータをプロビジョニングできるようになりました。/tmp/provision.logでのプロビジョニング進捗確認/mnt/rdms/{project_id}への自動シンボリックリンク対応非同期detect APIとハッシュベースのキャッシュ活用
RDM Content Providerに非同期の
detect_asyncメソッドを追加し、.binder/binder定義のハッシュ計算による一意なコンテンツIDを生成するようにしました。従来のランダムUUIDではなく、binder定義の実際の内容に基づいたハッシュ値を使用することで、同じ定義を持つプロジェクトに対してDockerイメージキャッシュを効果的に活用できるようになります。