Skip to content

Commit 02a6207

Browse files
committed
separate kitchen runs by host capabilities
1 parent 24812f6 commit 02a6207

File tree

1 file changed

+27
-12
lines changed

1 file changed

+27
-12
lines changed

azure-pipelines.yml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,38 @@ resources:
4242
type: git
4343
name: chef-pipelines-templates
4444

45+
parameters:
46+
- name: kitchenSuites
47+
displayName: Kitchen Suites
48+
type: object
49+
default:
50+
- default
51+
- software-updates
52+
- spotlight
53+
# - xcode-from-apple
54+
# - xcode-from-url
55+
- command-line-tools
56+
- certificate
57+
- users
58+
- keychain
59+
- remote-access
60+
4561
jobs:
4662
- template: chefspec-cookstyle.yml@templates
4763
- template: test-kitchen.yml@templates
4864
parameters:
65+
jobName: "macos>=13"
66+
kitchenFile: kitchen.yml
67+
venturaPlus: true
68+
platforms:
69+
- ventura-x86
70+
# - ventura-arm
71+
suites: ${{ parameters.kitchenSuites }}
72+
- template: test-kitchen.yml@templates
73+
parameters:
74+
jobName: "macos<=12"
4975
platforms:
5076
- big-sur-x86
5177
- monterey-x86
52-
# - ventura-arm
53-
suites:
54-
- default
55-
- software-updates
56-
- spotlight
57-
# - xcode-from-apple
58-
# - xcode-from-url
59-
- command-line-tools
60-
- certificate
61-
- users
62-
- keychain
63-
- remote-access
78+
suites: ${{ parameters.kitchenSuites }}
6479
kitchenFile: kitchen.yml

0 commit comments

Comments
 (0)