workflowrun

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstWorkflowMatchingRules

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

FirstWorkflowMatchingRules returns the first workflow that matches at least one rule

func IsActionExecutable

func IsActionExecutable(a *catalog.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 *catalog.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 *catalog.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 *catalog.Workflow, env map[string]string, projectDir string, stagesFilter []string, modulesFilter []string)

func RunWorkflowAction

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

func RunWorkflowStage

func RunWorkflowStage(cfg *config.CIDConfig, stage *catalog.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