workflow

package
v0.2.0-rc.21 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverExecutionPlan

func DiscoverExecutionPlan(projectDir string, env map[string]string) []config.WorkflowStage

DiscoverExecutionPlan will generate a automatic execution plan based on the project contents

func FindWorkflowAction

func FindWorkflowAction(search string) (config.WorkflowAction, error)

func FindWorkflowStageActions

func FindWorkflowStageActions(projectDir string, env map[string]string, stage string) []config.WorkflowAction

func FindWorkflowStages

func FindWorkflowStages(projectDir string, env map[string]string) []config.WorkflowStage

FindWorkflowStages finds all relevant stages for the current context (branch, tag, ...)

func GetActionDetails

func GetActionDetails(action config.WorkflowAction, projectDirectory string, env map[string]string) api.ActionDetails

GetActionDetails retrieves the details of a WorkflowAction

func RunAction

func RunAction(action config.WorkflowAction, projectDirectory string, env map[string]string, args []string)

RunAction runs a specific stage

func RunStageActions

func RunStageActions(stage string, projectDirectory string, env map[string]string, args []string)

RunStageActions runs all actions of a stage

Types

This section is empty.

Jump to

Keyboard shortcuts

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