Documentation ¶
Index ¶
- func InsertActionBuild(db database.QueryExecuter, b *sdk.ActionBuild) error
- func ParentBuildInfos(pb sdk.PipelineBuild) ([]sdk.Parameter, error)
- func Pipelines()
- func RunActions(db *sql.DB, pb sdk.PipelineBuild)
- func RunPipeline(db database.QueryExecuter, projectKey string, app *sdk.Application, ...) (*sdk.PipelineBuild, error)
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.
Click to show internal directories.
Click to hide internal directories.