-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathazure-pipelines.yml
54 lines (50 loc) · 1.72 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright (c) 2020 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
# Imports the shared Azure CI tools
resources:
repositories:
- repository: templates
type: github
name: shotgunsoftware/tk-ci-tools
ref: refs/heads/master
endpoint: shotgunsoftware
# We want builds to trigger for 3 reasons:
# - The master branch sees new commits
# - Each PR should get rebuilt when commits are added to it.
# - When we tag something
trigger:
branches:
include:
- master
pr:
branches:
include:
- "*"
# This pulls in a variable group from Azure. Variables can be encrypted or not.
variables:
- group: deploy-secrets
jobs:
- template: build-pipeline.yml@templates
parameters:
# Tell the build system that we want to pip install tk-toolchain
# from the current branch.
tk_toolchain_ref: $(Build.SourceBranch)
# These extra repositories are required to test some of the command line tools
additional_repositories:
- name: tk-framework-shotgunutils
- name: tk-multi-publish2
- name: tk-maya
# The version of the configuration is pinned because we're going to be running
# an update on the configuration during the tests. We want to work from
# a known and stable state.
# If you change this, please update cloned_config fixture too.
- name: tk-config-basic
ref: v1.6.1
- name: python-api