Documentation
¶
Overview ¶
SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin
SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { Pipelines []Pipeline `yaml:"pipelines"` Commands []BatchCommand `yaml:"commands"` }
func Read ¶
Read reads a pipeline from a file on the local file system. The path is given relative to the workspace root (see config.Config.WorkspaceDir).
The resulting pipeline is expanded: all the base pipelines that are referenced in the pipeline are merged.
type BatchCommand ¶
type BatchCommand struct { pipelines.BaseCommand `yaml:",inline"` Name string `yaml:"name" validate:"required,name"` Exclusive bool `yaml:"exclusive"` Tags []string `yaml:"tags" validate:"name"` DependsOn []string `yaml:"dependsOn" validate:"name"` Pipelines []string `yaml:"pipelines"` Flaky bool `yaml:"flaky"` }
Click to show internal directories.
Click to hide internal directories.