Skip to main content

Module emitter

Module emitter 

Source
Expand description

CI Pipeline Emitter Trait

Defines the interface for emitting CI configurations from the intermediate representation (IR). Implementations of this trait generate orchestrator-native configurations (e.g., Buildkite, GitLab CI, Tekton).

§Pipeline Modes

Emitters support two pipeline generation modes:

  • Thin mode: Generates a single-job workflow that delegates orchestration to cuenv. Bootstrap → cuenv ci --pipeline <name> → Finalizers

  • Expanded mode: Generates multi-job workflows with each task as a separate job, with dependencies managed by the CI orchestrator.

§Emitter Registry

The EmitterRegistry provides a central registry for all available emitters, enabling dynamic lookup and discovery of available formats.

Structs§

EmitterInfo
Information about a registered emitter.
EmitterRegistry
Registry for CI configuration emitters.
EmitterRegistryBuilder
Builder for creating an emitter registry with default emitters.

Enums§

EmitterError
Error types for emitter operations

Traits§

Emitter
Trait for CI configuration emitters

Type Aliases§

EmitterResult
Result type for emitter operations