Skip to content

Commit e56d41c

Browse files
authored
SG-41463 Improve CI Pipeline by re-using tk-ci-tools and build Sphinx documentation (#434)
1 parent 81ffb8b commit e56d41c

2 files changed

Lines changed: 18 additions & 51 deletions

File tree

azure-pipelines-templates/code_style_validation.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

azure-pipelines.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@
2626
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2727
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828

29+
resources:
30+
repositories:
31+
- repository: templates
32+
type: github
33+
name: shotgunsoftware/tk-ci-tools
34+
ref: refs/heads/master
35+
endpoint: shotgunsoftware
36+
# Despite using the "tk-" prefix, tk-ci-tools is not a Toolkit only tool.
37+
# We use it to avoid duplicating and maintaining CI pipeline code.
38+
2939
# We've stored some variables in Azure. They contain credentials
3040
# and are encrypted. They are also not available to clients.
3141
# This statement says which variable groups this repo requires.
@@ -51,7 +61,14 @@ pr:
5161
# This here is the list of jobs we want to run for our build.
5262
# Jobs run in parallel.
5363
jobs:
54-
- template: azure-pipelines-templates/code_style_validation.yml
64+
- template: build-pipeline.yml@templates
65+
parameters:
66+
# Python API does not follow the exact same Python version lifecycle than
67+
# Toolkit. So we prefer to control the test execution here instead.
68+
has_unit_tests: false
69+
70+
has_ui_resources: false
71+
5572
- template: azure-pipelines-templates/type_checking.yml
5673

5774
# These are jobs templates, they allow to reduce the redundancy between

0 commit comments

Comments
 (0)