Expand description
IR v1.5 - Intermediate Representation for CI Pipeline Compiler
This module defines the IR schema for cuenv CI pipelines. The IR is the bridge between cuenv task definitions and orchestrator-native CI configurations.
§Version History
- v1.5: Unified task model - phase tasks have
phasefield instead of separatestages - v1.4: Added
stagesfield for provider-injected setup tasks (deprecated in v1.5) - v1.3: Initial stable version
Structs§
- Artifact
Download - Artifact download configuration
- Intermediate
Representation - Root IR document
- IrValidator
- Validator for IR documents
- Manual
Trigger Config - Manual trigger (
workflow_dispatch) configuration - Matrix
Config - Matrix configuration for parallel job expansion
- Output
Declaration - Output artifact declaration
- Pipeline
Metadata - Pipeline metadata and trigger configuration
- Resource
Requirements - Resource requirements for task execution
- Runtime
- Runtime environment definition (Nix flake-based)
- Secret
Config - Secret configuration for a task
- Task
- Task definition in the IR
- Trigger
Condition - Trigger conditions for pipeline execution
- Workflow
Dispatch Input Def - Workflow dispatch input definition
Enums§
- Build
Stage - Build stages that providers can inject tasks into
- Cache
Policy - Cache policy for task execution
- Output
Type - Output storage type
- Purity
Mode - Purity enforcement for Nix flakes
- Task
Condition - Execution condition for phase tasks
- Validation
Error - Validation errors for IR documents
Constants§
- IR_
VERSION - IR version identifier