Documentation
¶
Index ¶
- Constants
- func AppBranchRun(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func AppBranchUpdate(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func AppConfigBuild(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- type WorkflowStepOptions
Constants ¶
const (
WorkflowTypeAppBranchUpdate app.WorkflowType = "app_branch_update"
)
Variables ¶
This section is empty.
Functions ¶
func AppBranchRun ¶ added in v0.19.850
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 AppConfigBuild ¶ added in v0.19.903
AppConfigBuild builds the workflow steps for an app config build. This workflow creates one step-group per component, each containing a build signal.
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
func WithStepQueueID ¶ added in v0.19.903
func WithStepQueueID(queueID string) WorkflowStepOptions
WithStepQueueID sets the queue where the execute-workflow-step signal runs.
func WithTargetQueueID ¶ added in v0.19.903
func WithTargetQueueID(queueID string) WorkflowStepOptions
WithTargetQueueID sets the queue where the inner signal runs.