-
Notifications
You must be signed in to change notification settings - Fork 25
/
kitchen.yml
66 lines (57 loc) · 1.53 KB
/
kitchen.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
---
driver:
name: azurerm
location: "westus2"
machine_size: "Standard_A4_v2"
explicit_resource_group_name: azure-pipelines-agent-cicd-rg
destroy_explicit_resource_group: true
destroy_resource_group_contents: true
provisioner:
name: chef_zero
product_name: chef
product_version: 16
chef_license: accept
channel: stable
transport:
ssh_key: ~/.ssh/id_kitchen-azurerm
verifier:
name: inspec
sudo: true
reporter:
- cli
- junit:/tmp/%{suite}-%{platform}-inspec.xml
inspec_tests:
- test/integration/default
platforms:
- name: debian-10
driver:
image_urn: Debian:debian-10:10:latest
vm_name: buster-pipelines-agent-vm
- name: ubuntu-18.04
driver:
image_urn: Canonical:UbuntuServer:18.04-LTS:latest
vm_name: bionic-pipelines-agent-vm
- name: ubuntu-20.04
driver:
image_urn: Canonical:UbuntuServer:20.04-LTS:latest
vm_name: focal-pipelines-agent-vm
- name: centos-7
driver_config:
image_urn: OpenLogic:CentOS:7.5:latest
suites:
- name: linux-basic
run_list:
- recipe[linux-basic::default]
includes:
- debian-10
- ubuntu-18.04
- ubuntu-20.04
- centos-7
attributes:
vsts_agent_test:
username: <%= ENV['BOX_USERNAME'] %>
vsts_url: <%= ENV['VSTS_URL'] %>
vsts_pool: <%= ENV['VSTS_POOL'] %>
vsts_token: <%= ENV['VSTS_TOKEN'] %>
deployment_group_name: <%= ENV['VSTS_DEPLOYMENT_GROUP_NAME'] %>
deployment_group_project: <%= ENV['VSTS_DEPLOYMENT_GROUP_PROJECT'] %>