Skip to main content

Azure Devops

Azure Devops checks for healthy pipeline runs.

azure-devops.yaml
apiVersion: 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
FieldDescriptionScheme
name*

Name of the check, must be unique within the canary

string

organization*

Name of the Azure Organization

personalAccessToken*

See Creating ADO PAT's

EnvVar

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

integer

variables

Only match those runs that match these variables

[map[string]string]

description

Description for the check

string

display

Expression to change the formatting of the display

Expression

icon

Icon for overwriting default icon on the dashboard

Icon

labels

Labels for check

[map[string]string]

metrics

Metrics to export from

[]Metrics

test

Evaluate whether a check is healthy

Expression

transform

Transform data from a check into multiple individual checks

Expression