forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.vrt-pr.yml
102 lines (84 loc) · 2.86 KB
/
azure-pipelines.vrt-pr.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
pr:
- master
# There's a separate pipeline for CI which also uses this file, but with a trigger override in the UI.
# https://dev.azure.com/uifabric/fabricpublic/_apps/hub/ms.vss-ciworkflow.build-ci-hub?_a=edit-build-definition&id=164&view=Tab_Triggers
trigger: none
variables:
- ${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/heads/')) }}:
- name: sinceArg
value: --base $(targetBranch)
- template: .devops/templates/variables.yml
pool: '1ES-Host-Ubuntu'
jobs:
- job: VisualRegressionTest_WebComponents
variables:
pipelineId: '315'
pipelineName: 'fluent-ui_VRT_Pipeline_web-components'
workspace:
clean: all
steps:
- checkout: self
fetchDepth: 0
- template: .devops/templates/tools.yml
- template: .devops/templates/runpublishvrscreenshot.yml
parameters:
fluentVersion: webcomponents
vrTestPackageName: 'vr-tests-web-components'
vrTestPackagePath: 'apps/vr-tests-web-components'
locationPrefix: 'FluentUI-web-components'
locationPostfix: 'vrscreenshotwebcomponents'
clientName: 'fluentui-web-components-v3'
- job: VisualRegressionTest_V9
variables:
pipelineId: '311'
pipelineName: 'fluent-ui_VRT_Pipeline_v9'
workspace:
clean: all
steps:
- checkout: self
fetchDepth: 0
- template: .devops/templates/tools.yml
- template: .devops/templates/runpublishvrscreenshot.yml
parameters:
fluentVersion: v9
vrTestPackageName: 'vr-tests-react-components'
vrTestPackagePath: 'apps/vr-tests-react-components'
locationPrefix: 'fluentuiv9'
locationPostfix: 'vrscreenshotv9'
clientName: 'fluentuiv9'
- job: VisualRegressionTest_V8
variables:
pipelineId: '312'
pipelineName: 'fluent-ui_VRT_Pipeline_v8'
workspace:
clean: all
steps:
- checkout: self
fetchDepth: 0
- template: .devops/templates/tools.yml
- template: .devops/templates/runpublishvrscreenshot.yml
parameters:
fluentVersion: v8
vrTestPackageName: 'vr-tests'
vrTestPackagePath: 'apps/vr-tests'
locationPrefix: 'fluentuiv8'
locationPostfix: 'vrscreenshotv8'
clientName: 'fluentuiv8'
- job: VisualRegressionTest_V0
variables:
pipelineId: '313'
pipelineName: 'fluent-ui_VRT_Pipeline_v0'
workspace:
clean: all
steps:
- checkout: self
fetchDepth: 0
- template: .devops/templates/tools.yml
- template: .devops/templates/runpublishvrscreenshot.yml
parameters:
fluentVersion: v0
vrTestPackageName: 'docs'
vrTestPackagePath: 'packages/fluentui/docs'
locationPrefix: 'FluentUI-v0'
locationPostfix: 'vrscreenshotv0'
clientName: 'FluentUIV0'