mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-14 20:16:48 -07:00
feat(orchestrator): middleware pipeline — composable trigger-aware hooks
Add a middleware system that wraps around build pipeline phases with before/after semantics, built on the existing command hook and container hook fundamentals. Middleware supports rich trigger conditions (phase, provider, platform, environment expressions), priority-based ordering with wrapping semantics, and both inline YAML and file-based definitions from game-ci/middleware/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+15
@@ -387,6 +387,21 @@ inputs:
|
||||
description:
|
||||
'Path to an external CLI executable that implements the provider protocol. Enables providers written in any
|
||||
language (Go, Python, Rust, shell). Uses JSON-over-stdin/stdout communication.'
|
||||
middleware:
|
||||
required: false
|
||||
default: ''
|
||||
description:
|
||||
'[Orchestrator] Inline YAML middleware pipeline definitions. Middleware wraps around build phases with
|
||||
before/after semantics, supports trigger conditions (phase, provider, platform, environment expressions), and
|
||||
resolves to either command hooks (inline in build container) or container hooks (separate Docker containers).
|
||||
Middleware executes in priority order — lower priority values run first for before phases and last for after
|
||||
phases (wrapping pattern). See documentation for full YAML format.'
|
||||
middlewareFiles:
|
||||
required: false
|
||||
default: ''
|
||||
description:
|
||||
'[Orchestrator] Comma-separated list of middleware file names (without extension) to load from the
|
||||
game-ci/middleware/ directory in your repository. Each file should contain YAML middleware definitions.'
|
||||
|
||||
outputs:
|
||||
volume:
|
||||
|
||||
Reference in New Issue
Block a user