]> git.openstreetmap.org Git - chef.git/blob - .kitchen.yml
Split Travis script into separate jobs and add apt cookbook test
[chef.git] / .kitchen.yml
1 ---
2 driver:
3   name: vagrant
4   provision: true
5   vagrantfiles:
6     - .kitchen.provision.rb
7
8 provisioner:
9   name: chef_zero
10   product_name: chef
11   product_version: 14
12   data_bags_path: test/data_bags
13
14 platforms:
15   - name: ubuntu-18.04
16   - name: ubuntu-18.04-ci
17     driver:
18       name: dokken
19       image: dokken/ubuntu-18.04
20       chef_version: 14
21       provision: true
22       pid_one_command: /bin/systemd
23       intermediate_instructions:
24         - RUN /usr/bin/apt-get update -y
25     provisioner:
26       name: dokken
27       product_name: chef
28       data_bags_path: test/data_bags
29     transport:
30       name: dokken
31
32 suites:
33   - name: accounts
34     run_list:
35       - recipe[accounts::default]
36     excludes: ["ubuntu-18.04-ci"]
37   - name: apache
38     run_list:
39       - recipe[apache::default]
40     excludes: ["ubuntu-18.04-ci"]
41   - name: apt
42     run_list:
43       - recipe[apt::default]
44   - name: bind
45     run_list:
46       - recipe[bind::default]
47     attributes:
48       bind:
49         clients: none
50     excludes: ["ubuntu-18.04-ci"]
51   - name: blogs
52     run_list:
53       - recipe[accounts::default]
54       - recipe[blogs::default]
55     excludes: ["ubuntu-18.04-ci"]
56   - name: forum
57     run_list:
58       - recipe[accounts::default]
59       - role[forum]
60     excludes: ["ubuntu-18.04-ci"]
61   - name: letsencrypt
62     run_list:
63       - recipe[accounts::default]
64       - recipe[apt::default]
65       - role[letsencrypt]
66     attributes:
67       apt:
68         sources:
69           - openstreetmap
70     excludes: ["ubuntu-18.04-ci"]
71   - name: munin
72     run_list:
73       - recipe[munin::default]
74     excludes: ["ubuntu-18.04-ci"]
75   - name: munin-server
76     run_list:
77       - recipe[munin::server]
78     excludes: ["ubuntu-18.04-ci"]
79   - name: mysql
80     run_list:
81       - recipe[mysql::default]
82     excludes: ["ubuntu-18.04-ci"]
83   - name: networking
84     run_list:
85       - recipe[networking::default]
86     excludes: ["ubuntu-18.04-ci"]
87   - name: otrs
88     run_list:
89       - recipe[accounts::default]
90       - recipe[chef::default]
91       - role[otrs]
92     excludes: ["ubuntu-18.04-ci"]
93   - name: python
94     run_list:
95       - recipe[python::default]
96     excludes: ["ubuntu-18.04-ci"]
97   - name: tools
98     run_list:
99       - recipe[tools::default]
100     excludes: ["ubuntu-18.04-ci"]