forked from pivotal-sprout/sprout-wrap
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
60 lines (55 loc) · 1.36 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
---
driver:
name: vagrant
customize:
memory: 1024
#provisioner:
# name: chef_zero
# deprecations_as_errors: true
# client_rb:
# chef_license: accept
# file_cache_path: /var/chef/cache
# ohai.optional_plugins:
# - :Passwd
provisioner:
name: shell
root_path: '/tmp/kitchen/'
# sudo mount_9p da27a59e93d0feef5d80b94dd05b95c ;
# [ -e /tmp/kitchen/soloist/Xcode_13.2.xip ] || cp /Volumes/da27a59e93d0feef5d80b94dd05b95c/installers/mac/Xcode_13.2.xip /tmp/kitchen/soloist/ ;
command: |-
sudo mkdir -p /var/chef/cache/hostname ;
sudo touch /var/chef/cache/last_software_update ;
cd /tmp/kitchen/soloist ;
./bootstrap-scripts/bootstrap.sh ;
verifier:
name: inspec
sudo: false
platforms:
- name: ubuntu-20.04
suites:
- name: default
includes: [ubuntu-20.04, macos-latest]
# - name: default-sudo
# verifier:
# sudo: true
# inspec_tests:
# - path: test/integration/sudo_tests/
# includes: [ubuntu-20.04, macos-latest]
# #
# # resource tests
# #
# - name: resources-80
# run_list:
# - recipe[test::user_database]
# attributes:
# mysql_test:
# version: '8.0'
# verifier:
# controls:
# - mysql_database
# - mysql_user
# inputs:
# version: '8.0'
# inspec_tests:
# - path: test/integration/resources
# includes: