workflows

package
v0.19.856 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowTypeAppBranchUpdate app.WorkflowType = "app_branch_update"
)

Variables

This section is empty.

Functions

func AppBranchRun added in v0.19.850

func AppBranchRun(ctx workflow.Context, flw *app.Workflow) ([]*app.WorkflowStep, error)

AppBranchRun builds the workflow steps for an app branch run This workflow orchestrates: 1. Fetching the latest commit from VCS 2. Cloning the repo and parsing the intermediate config 3. Building all components in the config 4. Deploying to install groups in order

func AppBranchUpdate

func AppBranchUpdate(ctx workflow.Context, flw *app.Workflow) ([]*app.WorkflowStep, error)

Types

type WorkflowStepOptions added in v0.19.850

type WorkflowStepOptions func(*app.WorkflowStep)

WorkflowStepOptions is a functional option for configuring WorkflowStep

func WithGroupIdx added in v0.19.850

func WithGroupIdx(n int) WorkflowStepOptions

WithGroupIdx sets the group index for a step

func WithSkippable added in v0.19.850

func WithSkippable(skippable bool) WorkflowStepOptions

WithSkippable sets whether a step can be skipped

Jump to

Keyboard shortcuts

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