|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +# vim: ft=yaml |
1 | 3 | ---
|
| 4 | +# For help on this file's format, see https://kitchen.ci/ |
2 | 5 | driver:
|
3 |
| - name: vagrant |
4 |
| - network: |
5 |
| - - ["private_network", { ip: "192.168.33.33" }] |
| 6 | + name: docker |
| 7 | + use_sudo: false |
| 8 | + privileged: true |
| 9 | + run_command: /lib/systemd/systemd |
| 10 | + |
| 11 | +# Make sure the platforms listed below match up with |
| 12 | +# the `env.matrix` instances defined in `.travis.yml` |
| 13 | +platforms: |
| 14 | + ## SALT 2019.2 |
| 15 | + - name: debian-9-2019-2-py3 |
| 16 | + driver: |
| 17 | + image: netmanagers/salt-2019.2-py3:debian-9 |
| 18 | + - name: ubuntu-1804-2019-2-py3 |
| 19 | + driver: |
| 20 | + image: netmanagers/salt-2019.2-py3:ubuntu-1804 |
| 21 | + - name: centos-7-2019-2-py2 |
| 22 | + driver: |
| 23 | + image: netmanagers/salt-2019.2-py2:centos-7 |
| 24 | + - name: fedora-29-2019-2-py2 |
| 25 | + driver: |
| 26 | + image: netmanagers/salt-2019.2-py2:fedora-29 |
| 27 | + |
| 28 | + ## SALT 2018.3 |
| 29 | + - name: opensuse-423-2018-3-py2 |
| 30 | + driver: |
| 31 | + image: netmanagers/salt-2018.3-py2:opensuse-423 |
| 32 | + run_command: /usr/lib/systemd/systemd |
| 33 | + - name: debian-8-2018-3-py2 |
| 34 | + driver: |
| 35 | + image: netmanagers/salt-2018.3-py2:debian-8 |
| 36 | + - name: ubuntu-1604-2018-3-py2 |
| 37 | + driver: |
| 38 | + image: netmanagers/salt-2018.3-py2:ubuntu-1604 |
| 39 | + - name: fedora-28-2018-3-py2 |
| 40 | + driver: |
| 41 | + image: netmanagers/salt-2018.3-py2:fedora-28 |
| 42 | + |
| 43 | + # centos-6 guest fails on Debian hosts due to vsyscall issues, see |
| 44 | + # https://hub.docker.com/_/centos, "A note about vsyscall" |
| 45 | + # Disabled for `template-formula` because not `systemd` based |
| 46 | + # - name: centos-6-2018-3 |
| 47 | + # driver: |
| 48 | + # image: netmanagers/salt-2018.3-py2:centos-6 |
| 49 | + # run_command: /sbin/init |
| 50 | + |
| 51 | + ##S SALT 2017.7 |
| 52 | + - name: debian-8-2017-7-py2 |
| 53 | + driver: |
| 54 | + image: netmanagers/salt-2017.7-py2:debian-8 |
| 55 | + - name: ubuntu-1604-2017-7-py2 |
| 56 | + driver: |
| 57 | + image: netmanagers/salt-2017.7-py2:ubuntu-1604 |
| 58 | + # - name: centos-6-2017-7 |
| 59 | + # driver: |
| 60 | + # image: netmanagers/salt-2017.7-py2:centos-6 |
| 61 | + # run_command: /sbin/init |
6 | 62 |
|
7 | 63 | provisioner:
|
8 | 64 | name: salt_solo
|
| 65 | + log_level: info |
| 66 | + salt_install: none |
| 67 | + require_chef: false |
9 | 68 | formula: postgres
|
10 |
| - pillars-from-files: |
11 |
| - postgres.sls: pillar.example |
| 69 | + salt_copy_filter: |
| 70 | + - .kitchen |
| 71 | + - .git |
| 72 | + state_top: |
| 73 | + base: |
| 74 | + '*': |
| 75 | + - postgres |
12 | 76 | pillars:
|
13 | 77 | top.sls:
|
14 | 78 | base:
|
15 |
| - "*": |
| 79 | + '*': |
16 | 80 | - postgres
|
17 |
| - state_top: |
18 |
| - base: |
19 |
| - "*": |
20 |
| - - postgres |
| 81 | + pillars_from_files: |
| 82 | + postgres.sls: pillar.example |
21 | 83 |
|
22 |
| -platforms: |
23 |
| - - name: ubuntu-14.04 |
| 84 | +verifier: |
| 85 | + # https://www.inspec.io/ |
| 86 | + name: inspec |
| 87 | + sudo: true |
| 88 | + # cli, documentation, html, progress, json, json-min, json-rspec, junit |
| 89 | + reporter: |
| 90 | + - cli |
| 91 | + inspec_tests: |
| 92 | + - path: test/integration/default |
24 | 93 |
|
25 | 94 | suites:
|
26 | 95 | - name: default
|
0 commit comments