- # -*- coding: utf-8 -*-
- # vim: ft=yaml
- ---
- # For help on this file's format, see https://kitchen.ci/
- driver:
- name: docker
- use_sudo: false
- privileged: true
- run_command: /usr/lib/systemd/systemd
-
- provisioner:
- name: salt_solo
- log_level: debug
- salt_install: none
- require_chef: false
- formula: apt
- salt_copy_filter:
- - .kitchen
- - .git
-
- platforms:
- ## SALT `tiamat`
- - name: debian-11-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:debian-11
- run_command: /lib/systemd/systemd
- - name: debian-10-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
-
- ## SALT `master`
- - name: debian-11-master-py3
- driver:
- image: saltimages/salt-master-py3:debian-11
- run_command: /lib/systemd/systemd
- - name: debian-10-master-py3
- driver:
- image: saltimages/salt-master-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-master-py3
- driver:
- image: saltimages/salt-master-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-master-py3
- driver:
- image: saltimages/salt-master-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-master-py3
- driver:
- image: saltimages/salt-master-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
-
- ## SALT `3004.1`
- - name: debian-11-3004-1-py3
- driver:
- image: saltimages/salt-3004.1-py3:debian-11
- run_command: /lib/systemd/systemd
- - name: debian-10-3004-1-py3
- driver:
- image: saltimages/salt-3004.1-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-3004-1-py3
- driver:
- image: saltimages/salt-3004.1-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-3004-1-py3
- driver:
- image: saltimages/salt-3004.1-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-3004-1-py3
- driver:
- image: saltimages/salt-3004.1-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
-
- ## SALT `3003.4`
- - name: debian-10-3003-4-py3
- driver:
- image: saltimages/salt-3003.4-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-3003-4-py3
- driver:
- image: saltimages/salt-3003.4-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-3003-4-py3
- driver:
- image: saltimages/salt-3003.4-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-3003-4-py3
- driver:
- image: saltimages/salt-3003.4-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
-
- ## SALT `3002.8`
- - name: debian-10-3002-8-py3
- driver:
- image: saltimages/salt-3002.8-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-3002-8-py3
- driver:
- image: saltimages/salt-3002.8-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-3002-8-py3
- driver:
- image: saltimages/salt-3002.8-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-3002-8-py3
- driver:
- image: saltimages/salt-3002.8-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
-
- verifier:
- # https://www.inspec.io/
- name: inspec
- sudo: true
- reporter:
- # cli, documentation, html, progress, json, json-min, json-rspec, junit
- - cli
-
- suites:
- - name: repositories
- provisioner:
- state_top:
- base:
- '*':
- - apt._mapdata
- - apt.repositories
- - apt.update
- pillars:
- top.sls:
- base:
- '*':
- - apt
- pillars_from_files:
- apt.sls: test/salt/pillar/repositories.sls
- verifier:
- inspec_tests:
- - path: test/integration/repositories
- - name: preferences
- provisioner:
- state_top:
- base:
- '*':
- - apt._mapdata
- - apt.preferences
- pillars:
- top.sls:
- base:
- '*':
- - apt
- pillars_from_files:
- apt.sls: test/salt/pillar/preferences.sls
- verifier:
- inspec_tests:
- - path: test/integration/preferences
- - name: unattended
- provisioner:
- state_top:
- base:
- '*':
- - apt._mapdata
- - apt.unattended
- pillars:
- top.sls:
- base:
- '*':
- - apt
- pillars_from_files:
- apt.sls: test/salt/pillar/unattended.sls
- verifier:
- inspec_tests:
- - path: test/integration/unattended
|