Module for creating and working with Pipelines.
| Type | Description |
| Function or value | Description |
Example
let clean = Step.create "clean" { () }
let build = Step.create "build" { () }
let testUnit = Step.create "test:unit" { () }
let testInt = Step.create "test:integration" { () }
let pipelines =
Pipelines.create {
// adds the build pipeline to the `Pipelines`
let! build = Pipeline.create "build" {
run clean
run build
}
// adds the test pipeline to the
do! Pipeline.createFrom build "test" {
run_parallel [ testUnit; testInt ]
}
default_pipeline build
}
|
|
|
Runs a Pipeline from the given
Based on success or failure, returns a
|
|
Runs a Pipeline from the given
Based on success or failure, exits the process with a |