Repository navigation
#415 を実装する(スプリント m7e) - #427
Merged
Merged
Conversation
compose.yml の最初の build: の直後 3 行を読む compose_build_field と resolve_project_dockerfile を消し、docker compose config の開発サービスの build から 場所を決める入口(python -m devbase.commands.project_dockerfile)を 1 回起動する。 決め方は project_dockerfile_path が持ち、--expires の判定も同じ関数を使う。 構成を読めないときは compose の理由を出し、どの段も建てずに終了コード 1 で止まる。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
入口を本物で動かし偽の docker が構成の JSON を返すハーネスで、受け入れ条件 1〜3・5・6・8 と 入口の契約を確かめる。1 つの入力の表を通常のビルドと _get_base_image_ref の両方に通す。 _compose_config_services の show_errors の行を足す。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
takemi-ohama
marked this pull request as ready for review
October 5, 2026 21:45
This was referenced Oct 5, 2026
Merged
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.
通常のビルドで、プロジェクトの Dockerfile を開発サービスの build の指定から決めるようにしました(#415)。あわせて、この経路と
devbase build --contextの接続先で構成を読む経路をテストで縛り、確定仕様と CHANGELOG に書きました。利用者向けの変化
devbase build --contextは、接続先で構成を読んでビルドします変更の要点
lib/devbase/commands/project_dockerfile.pyを新設し、開発サービスの build からプロジェクトの Dockerfile を決める処理を置いたlib/devbase/utils/dockerfile.py・lib/devbase/commands/container.py・bin/devbaseをこの処理を通る形に改めたtests/cli/test_build_project_dockerfile.py:開発サービスの build から Dockerfile を決める経路tests/cli/test_project_dockerfile_contract.py:2 つの経路で結果が一致することdevbase build --contextが接続先で構成を読むことtests/cli/conftest.pyに共通の準備を加え、既存のtest_build_browser_image.py・test_wrapper_shellcheck_fixes.py・test_docker_profiles.pyを追従させたdocs/specifications/base-image-chain-build.md(確定仕様)とCHANGELOG.mdに、開発サービスの build から Dockerfile を決めることを書いたテスト
モード: standard / 通した工程: 実装 → 完了判定 → Pull Request
🤖 Generated with Claude Code