workflowrun

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstWorkflowMatchingRules

func FirstWorkflowMatchingRules(workflows []config.Workflow, env map[string]string) *config.Workflow

FirstWorkflowMatchingRules returns the first workflow that matches at least one rule

func IsActionExecutable

func IsActionExecutable(a *config.Action, env map[string]string) bool

IsActionExecutable returns true if the action is executable (enabled + at least one rule matches)

func IsStageExecutable

func IsStageExecutable(s *config.WorkflowStage, env map[string]string) bool

IsStageExecutable returns true if the stage is executable (enabled + at least one rule matches)

func IsWorkflowExecutable

func IsWorkflowExecutable(w *config.Workflow, env map[string]string) bool

IsWorkflowExecutable returns true if the workflow is executable (enabled + at least one rule matches)

func RunWorkflow

func RunWorkflow(cfg *config.CIDConfig, wf *config.Workflow, env map[string]string, projectDir string, stagesFilter []string, modulesFilter []string)

func RunWorkflowAction

func RunWorkflowAction(cfg *config.CIDConfig, action *config.WorkflowAction, env map[string]string, projectDir string, modulesFilter []string)

func RunWorkflowStage

func RunWorkflowStage(cfg *config.CIDConfig, stage *config.WorkflowStage, env map[string]string, projectDir string, modulesFilter []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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