Azure Devops
Standard Edition RequiredAzure Devops checks for healthy pipeline runs.
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: azure-devops
spec:
interval: 300
azureDevops:
- project: Demo1
pipeline: ^windows-
personalAccessToken:
value: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
organization: flanksource
variable:
env: prod
branch:
- main
thresholdMillis: 60000 # 60 seconds
Field | Description | Scheme | Required |
---|---|---|---|
organization | Name of the Azure Organization. | string | true |
project | The name or ID of the project. | string | true |
pipeline | Name/Regexp to select the interested pipeline. | string | true |
variables | Only match those runs that match these variables | map[string]string | |
branch | Only match those runs that are run on these branch. | []string | |
thresholdMillis | Maximum duration of a run after which it's considered unhealthy. | int | |
name | Name of the check, must be unique within the canary | string | Yes |
description | Description for the check | string | |
icon | Icon for overwriting default icon on the dashboard | string | |
labels | Labels for check | map[string]string | |
test | Evaluate whether a check is healthy | Expression | |
display | Expression to change the formatting of the display | Expression | |
transform | Transform data from a check into multiple individual checks | Expression | |
metrics | Metrics to export from | []Metrics | |
Connection | Path of existing connection e.g. connection://azuredevops/org | Connection | |
personalAccessToken | Mutually exclusive with connection , See Creating ADO PAT's | EnvVar | true |