Azure DevOps
The Azure DevOps check verifies that the latest completed matching pipeline run succeeded.
azure-devops.yamlapiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: azure-devops
spec:
schedule: "@every 5m"
azureDevops:
- name: ado test
project: Demo1
pipeline: ^windows-
personalAccessToken:
value: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
organization: flanksource
variables:
env: prod
branch:
- main
thresholdMillis: 60000 # 60 seconds
| Field | Description | Scheme |
|---|---|---|
name* | Name of the check, must be unique within the canary |
|
organization* | Azure DevOps organization | |
personalAccessToken* | Azure DevOps personal access token. Use either | |
pipeline* | Pipeline name or regular expression to match | |
project* | Project name or ID | |
branch | Only match runs from these branches |
|
connection | Connection URL for Azure DevOps credentials, such as |
|
thresholdMillis | Maximum run duration in milliseconds before the check is unhealthy |
|
variables | Only match runs with these variable values |
|
dependsOn | Checks that must complete before this check runs |
|
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 |
|
markFailOnEmpty | If a transformation or datasource returns empty results, the check should fail |
|
metrics | Metrics to export from | |
namespace | Namespace to insert the check result into when it differs from the canary namespace |
|
relationships | Relationships that link check results to components or configs | Relationship |
test | Evaluate whether a check is healthy | |
transform | Transform data from a check into multiple individual checks | |
transformDeleteStrategy | Status to apply to transformed checks when the source check no longer returns them |
|