Azure Devops
Azure Devops checks for healthy pipeline runs.
azure-devops.yamlapiVersion: 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 |
---|---|---|
name* | Name of the check, must be unique within the canary |
|
organization* | Name of the Azure Organization | |
personalAccessToken* | ||
pipeline* | Name/Regexp to select the interested pipeline. | |
project* | The name or ID of the project | |
branch | Only match those runs that are run on these branch. | []string |
thresholdMillis | Maximum duration of a run after which it's considered unhealthy |
|
variables | Only match those runs that match these variables | map[string]string |
description | Description for the check |
|
display | Expression to change the formatting of the display | |
icon | Icon for overwriting default icon on the dashboard | |
labels | Labels for check | map[string]string |
metrics | Metrics to export from | |
test | Evaluate whether a check is healthy | |
transform | Transform data from a check into multiple individual checks |