Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var SupportedForges = []string{"gitlab", "github", "gitea", "forgejo", "azuredevops"}
SupportedForges lists forges with render support.
Functions ¶
func Check ¶
Check verifies the committed CI file matches the rendered output. Returns nil if current, a structured error describing the drift if stale.
func Emit ¶
Emit dispatches to the appropriate forge's emitter. One forge, one package, one identity — the dispatch names forges only, never a serialization backend. Returns an error for unsupported forges — no silent skipping.
func ForgeTarget ¶
ForgeTarget returns the CI file path that a forge expects.
func Plan ¶
Plan builds a forge-neutral Pipeline from StageFreight configuration.
The pipeline graph is structurally stable across all lifecycle modes. Mode dispatch is the binary's job — the planner never branches the graph by lifecycle.mode. Review and publish exist for all modes; the runtime renders not_applicable where needed.
Returns an error if ci.image is missing — no defaults, no guessing.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package azuredevops renders a StageFreight pipeline to an Azure DevOps pipeline.
|
Package azuredevops renders a StageFreight pipeline to an Azure DevOps pipeline. |
|
Package forgejo renders a StageFreight pipeline to a Forgejo Actions workflow.
|
Package forgejo renders a StageFreight pipeline to a Forgejo Actions workflow. |
|
Package gitea renders a StageFreight pipeline to a Gitea Actions workflow.
|
Package gitea renders a StageFreight pipeline to a Gitea Actions workflow. |
|
Package github renders a StageFreight pipeline to a GitHub Actions workflow.
|
Package github renders a StageFreight pipeline to a GitHub Actions workflow. |
|
Package gitlab lowers a forge-neutral model.Pipeline to GitLab CI YAML.
|
Package gitlab lowers a forge-neutral model.Pipeline to GitLab CI YAML. |
|
internal
|
|
|
actions
Package actions is a private serialization backend: it writes a forge-neutral model.Pipeline out in the GitHub Actions workflow wire format.
|
Package actions is a private serialization backend: it writes a forge-neutral model.Pipeline out in the GitHub Actions workflow wire format. |
|
azurepipelines
Package azurepipelines is a private serialization backend: it writes a forge-neutral model.Pipeline out as an Azure DevOps pipeline (azure-pipelines.yml).
|
Package azurepipelines is a private serialization backend: it writes a forge-neutral model.Pipeline out as an Azure DevOps pipeline (azure-pipelines.yml). |
|
Package model defines the forge-neutral CI pipeline types.
|
Package model defines the forge-neutral CI pipeline types. |