Skip to main content

run_ci

Function run_ci 

Source
pub async fn run_ci(
    provider: Arc<dyn CIProvider>,
    dry_run: DryRun,
    specific_pipeline: Option<String>,
    environment: Option<String>,
    path_filter: Option<&str>,
) -> Result<()>
Expand description

Run the CI pipeline logic

This is the main entry point for CI execution, integrating with the provider system for context detection, file change tracking, and reporting.

§Arguments

  • provider - The CI provider to use for changed files detection and reporting
  • dry_run - Whether to skip actual task execution
  • specific_pipeline - If set, only run tasks from this pipeline
  • environment - Optional environment override for secrets resolution
  • path_filter - If set, only process projects under this path (relative to module root)

§Errors

Returns error if IO errors occur or tasks fail