-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathazure-pipelines.yml
94 lines (89 loc) · 1.91 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
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
name: $(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
trigger:
batch: true
branches:
include:
- master
paths:
exclude:
- documentation/*
- LICENSE
- README.md
- CHANGELOG.md
- TESTING.md
- CONTRIBUTING.md
- .mailmap
- .rubocop.yml
- .gitignore
- chefignore
pr:
branches:
include:
- master
- release/*
paths:
exclude:
- documentation/*
- LICENSE
- README.md
- CHANGELOG.md
- TESTING.md
- CONTRIBUTING.md
- .mailmap
- .rubocop.yml
- .gitignore
- chefignore
resources:
repositories:
- repository: templates
type: git
name: chef-pipelines-templates
- repository: OfficePT
type: git
name: OE/OfficePipelineTemplates
ref: refs/heads/main
parameters:
- name: kitchenSuites
displayName: Kitchen Suites
type: object
default:
- software-updates
- spotlight
# - xcode-from-apple
# - xcode-from-url
- command-line-tools
- certificate
- users
- keychain
- remote-access
extends:
template: v1/Office.Official.PipelineTemplate.yml@OfficePT
parameters:
sdl:
sourceAnalysisPool:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-latest
os: windows
pool:
name: 'ApexInfra macOS'
os: macOS
stages:
- stage: cookbook
jobs:
- template: chefspec-cookstyle.yml@templates
- template: test-kitchen.yml@templates
parameters:
jobName: "haswell_agent"
kitchenFile: kitchen.yml
venturaPlus: true
platforms:
- ventura-x86
- sonoma-x86
suites: ${{ parameters.kitchenSuites }}
- template: test-kitchen.yml@templates
parameters:
jobName: "vintage_agent"
kitchenFile: kitchen.yml
platforms:
- monterey-x86
suites: ${{ parameters.kitchenSuites }}