provisioning/schemas/operations/workflows/server_deploy/contracts.ncl

23 lines
584 B
Text
Raw Normal View History

# ServerDeployPlan Contracts — typed workflow for server deployment step sequencing.
{
StepType = [| 'check, 'task, 'notify |],
FailMode = [| 'stop, 'warn, 'skip |],
DeployStep = {
id | String,
name | String,
type | StepType,
required | Bool,
on_fail | FailMode,
depends_on | Array String | optional,
timeout_seconds | Number | optional,
},
ServerDeployPlan = {
name | String,
steps | Array DeployStep,
on_failure | [| 'stop_all, 'continue, 'rollback |],
},
}