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:
- release/*
resources:
repositories:
- repository: templates
type: git
name: chef-pipelines-templates
- repository: OfficePT
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
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
jobName: "haswell_agent"
kitchenFile: kitchen.yml
venturaPlus: true
platforms:
- ventura-x86
- sonoma-x86
suites: ${{ parameters.kitchenSuites }}
jobName: "vintage_agent"
- monterey-x86