Azure DevOps Pipeline Action
This action allows you to invoke pipelines in your Azure DevOps project.
invoke-azure-devops-pipeline.yaml---
apiVersion: mission-control.flanksource.com/v1
kind: Playbook
metadata:
name: invoke-azure-devops-pipelines
namespace: default
spec:
parameters:
- name: project
label: Project name
default: Demo1
- name: pipeline
label: Pipeline ID
actions:
- name: Invoke pipeline
azureDevopsPipeline:
org: flanksource
project: '{{.params.project}}'
token:
valueFrom:
secretKeyRef:
name: azure-devops
key: token
pipeline:
id: '{{.params.pipeline}}'
| Field | Description | Scheme |
|---|---|---|
name* | Step Name |
|
azureDevopsPipeline | Azure Devops Pipeline Action | |
delay | A delay before running the action e.g. |
|
filter | Conditionally run an action | CEL with Playbook Context |
runsOn | Which runner (agent) to run the action on | |
templatesOn | Where templating (and secret management) of actions should occur |
|
timeout | Timeout on this action. |
AzureDevopsPipeline
| Field | Description | Scheme |
|---|---|---|
org* | Azure DevOps org name |
|
pipeline* | Azure pipeline to invoke | |
project* | Azure DevOps project name |
|
token* | Azure DevOps PAT | |
parameters | Pipeline parameters |
Pipeline
| Field | Description | Scheme | Required | Templatable |
|---|---|---|---|---|
id | Pipeline ID. | string | true | true |
version | Pipeline version. | string | false | true |
Parameters
| Field | Description | Scheme | Required | Templatable |
|---|---|---|---|---|
resources | The resources the run requires. | map[string]any | false | true |
templateParameters | The template parameters the run requires. | map[string]any | false | true |
variables | The variables the run requires. | map[string]any | false | true |
stagesToSkip | The stages to skip. | []string | false | true |