scheduler

package
v0.0.0-...-a57a29f Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2016 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertBuild

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

InsertBuild 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 PipelineScheduler

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

PipelineScheduler Schedule action for the given Build

func Run

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

Run the given pipeline with the given parameters

func Schedule

func Schedule()

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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