generate

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPipelineIR added in v0.10.0

func BuildPipelineIR(
	cfg *configpkg.Config,
	execCfg execution.Config,
	contributions []*pipeline.Contribution,
	depGraph *graph.DependencyGraph,
	allModules, targetModules []*discovery.Module,
) (*pipeline.IR, error)

BuildPipelineIR builds the canonical pipeline IR for the GitHub generator from raw inputs. Provider-specific knobs (DetailedPlan inferred from PR comment toggle) come from GitHub settings; the actual IR construction goes through pipelinetest.BuildIR so it stays aligned with the GitLab equivalent.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator transforms a pipeline IR into GitHub Actions workflow YAML. The IR is bound at construction time.

func NewGenerator

func NewGenerator(cfg *configpkg.Config, execCfg execution.Config, ir *pipeline.IR) *Generator

NewGenerator creates a new GitHub Actions pipeline generator bound to the supplied IR.

func (*Generator) DryRun

func (g *Generator) DryRun() (*pipeline.DryRunResult, error)

func (*Generator) Generate

func (g *Generator) Generate() (pipeline.GeneratedPipeline, error)

func (*Generator) IsPREnabled

func (g *Generator) IsPREnabled() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL