管理されたデリバリーパイプラインとリリース証跡
Agent支援エンジニアリングチェック
前提条件
第80日の承認済みレビューパケット。Ticket 24 の CI 練習ランナー。
学習目標
承認済み変更のクリーンインストールと管理デプロイのパイプラインステージを実行し、コマンドのスクリーンショットではなく機械検証可能なリリース証跡を取得する。
手順
1. パッケージ化と検証:python3 scripts/ci_practice_runner.py --stage clean_install --json — ランナーは projects/text_tools を pristine サンドボックスへ複製し、入力データを生成し、CLI を端から端まで実行します。
2. 証跡ペイロードを検査します:clean_install ステージ success=true、returncode==0、有効な JSON 統計出力(total_chars, total_tokens, vocab_size)。
3. デリバリーモデルを理解します:symlink 切替えの背後にバージョン付きリリースディレクトリ(ブルー/グリーン型)があり、ロールバックは再ビルドではなくポインタ変更です。
4. 承認境界を注記します:このパイプラインは成果物をローカルで証明するもので、共有リモートへの push・本番デプロイ・有償インフラは依然として明示的な個別承認が必要です。
演習と予測記録
ステージ出力を release_evidence.json に保存し注釈してください:成果物パス・終了コード・使用したヘルスチェックコマンド・symlink 型バージョンリリースがロールバックを安くする理由。
証拠とは出力された JSON と終了コードです。『ターミナルで緑に見えた』ではありません。
python3 scripts/ci_practice_runner.py --stage clean_install --json > release_evidence.json
# clean_install ステージ: success=true、パッケージ済み成果物が returncode 0 で実行
# releases/1.0.0 と releases/1.1.0 を 'current' symlink 背後に配置: ロールバック = symlink 張替え + ヘルスチェック
承認済み変更に対し反復可能な機械検証リリース記録を生成できる。
公式ソースリソースと権利証跡
GitHub Actions Documentation
該当セクション・タイムスタンプ: N/A
検証バージョンと日付: GitHub Docs continuous publication (Verified: 2026-10-30)
Primary reference for pipeline stages, required status checks, and branch protection mechanics that the local CI practice runner mirrors in a disposable environment.
YAML familiarity, shell commands, and Git hosting vocabulary.
Pipeline stage semantics (lint, test, package, deploy gate) are exercised offline by scripts/ci_practice_runner.py; no GitHub account or push authorization is required for the practice.
比較対象候補リソースと選定評価 (2)
Equivalent pipeline concepts under a different provider; GitHub Actions matches the hosted-workflow conventions used in this project's delivery story.
Self-hosted CI server documentation; GitHub Actions better matches the hosted pipeline model the learner will meet first.
Site Reliability Engineering, Chapter 8: Release Engineering
該当セクション・タイムスタンプ: Continuous Build and Deployment (Building, Branching, Testing, Packaging, Deployment)
検証バージョンと日付: O'Reilly 2016 free web edition (Verified: 2026-10-30)
Widely used industry reference for hermetic builds, release approval gates, and rollback-ready deployment doctrine that anchor Day 81's controlled delivery and verified rollback exercises.
Build and deployment vocabulary; version control basics.
The controlled delivery and rollback runbook is fully executable offline via the scripts/ci_practice_runner.py deploy stage, which emits recorded evidence payloads.
比較対象候補リソースと選定評価 (2)
Focused single-pattern bliki on blue/green cutover; the SRE chapter covers the wider release-engineering lifecycle including build hermeticity and rollback policy.
Foundational paid text on deployment pipelines; the SRE web edition provides equivalent operational doctrine at zero cost with a stable public URL.