Build Management Design
This document describes the build management model and user flow used by Image Factory.
Goals
- Provide a consistent build creation experience across methods.
- Validate configuration before queueing.
- Enable dispatcher-based execution with clear visibility.
Core Flow
- User selects build type and provides configuration.
- System validates
BuildConfigand tool availability. - Build is created with
status = queued. - Dispatcher claims and executes the build.
Key Components
- BuildConfig: Method-specific details (kaniko, buildx, packer, etc).
- Dispatcher: Claims queued builds and starts execution.
- Executors: Local or Tekton-based.
System Guarantees
- One build config per build.
- Config validation before queueing.
- Dispatcher is the only component that starts execution.