Skip to content

Instantly share code, notes, and snippets.

@viktors-telle
Created March 14, 2020 21:07
Show Gist options
  • Save viktors-telle/4f19854c53b8d671f2f21552c8623cfc to your computer and use it in GitHub Desktop.
Save viktors-telle/4f19854c53b8d671f2f21552c8623cfc to your computer and use it in GitHub Desktop.
Example how call Azure DevOps yaml template from another repository.
pool: your-agent-pool-name
trigger:
batch: true
branches:
exclude:
- refs/heads/feature*
resources:
repositories:
- repository: azure-devops-pipelines
type: github
name: viktors-telle/azure-devops-pipelines
ref: "refs/heads/master"
stages:
- template: main.yml@viktors-telle/azure-devops-pipelines
parameters:
container_name: blob_container_name
container_key: blob_file_name
variable_group_name: project_variable_group_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment