queue

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertActionBuild

func InsertActionBuild(db database.QueryExecuter, b *sdk.ActionBuild) error

InsertActionBuild Insert new action build

func ParentBuildInfos

func ParentBuildInfos(pb sdk.PipelineBuild) ([]sdk.Parameter, error)

ParentBuildInfos fetch parent build data and injects them as {{.cds.parent.*}} parameters

func Pipelines

func Pipelines()

Pipelines is a goroutine responsible for pushing actions of a building pipeline in queue, in the wanted order

func RunActions

func RunActions(db *sql.DB, pb sdk.PipelineBuild)

RunActions Schedule action for the given Build

func RunPipeline

func RunPipeline(db database.QueryExecuter, projectKey string, app *sdk.Application, pipelineName string, environmentName string, params []sdk.Parameter, version int64, trigger sdk.PipelineBuildTrigger, user *sdk.User) (*sdk.PipelineBuild, error)

RunPipeline the given pipeline with the given parameters

Types

This section is empty.

Jump to

Keyboard shortcuts

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