|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537 |
- # -*- 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: ufw
- 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
- - name: centos-stream8-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:centos-stream8
- - name: centos-8-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:centos-8
- - name: centos-7-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:centos-7
- - name: amazonlinux-2-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:amazonlinux-2
- - name: oraclelinux-8-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:oraclelinux-8
- - name: oraclelinux-7-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:oraclelinux-7
- - name: almalinux-8-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:almalinux-8
- - name: rockylinux-8-tiamat-py3
- driver:
- image: saltimages/salt-tiamat-py3:rockylinux-8
-
- ## 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
- - name: centos-stream8-master-py3
- driver:
- image: saltimages/salt-master-py3:centos-stream8
- - name: centos-8-master-py3
- driver:
- image: saltimages/salt-master-py3:centos-8
- - name: centos-7-master-py3
- driver:
- image: saltimages/salt-master-py3:centos-7
- - name: fedora-34-master-py3
- driver:
- image: saltimages/salt-master-py3:fedora-34
- - name: fedora-33-master-py3
- driver:
- image: saltimages/salt-master-py3:fedora-33
- - name: opensuse-leap-153-master-py3
- driver:
- image: saltimages/salt-master-py3:opensuse-leap-15.3
- # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-leap-152-master-py3
- driver:
- image: saltimages/salt-master-py3:opensuse-leap-15.2
- # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-tmbl-latest-master-py3
- driver:
- image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
- # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: amazonlinux-2-master-py3
- driver:
- image: saltimages/salt-master-py3:amazonlinux-2
- - name: oraclelinux-8-master-py3
- driver:
- image: saltimages/salt-master-py3:oraclelinux-8
- - name: oraclelinux-7-master-py3
- driver:
- image: saltimages/salt-master-py3:oraclelinux-7
- - name: arch-base-latest-master-py3
- driver:
- image: saltimages/salt-master-py3:arch-base-latest
- - name: gentoo-stage3-latest-master-py3
- driver:
- image: saltimages/salt-master-py3:gentoo-stage3-latest
- run_command: /sbin/init
- - name: gentoo-stage3-systemd-master-py3
- driver:
- image: saltimages/salt-master-py3:gentoo-stage3-systemd
- - name: almalinux-8-master-py3
- driver:
- image: saltimages/salt-master-py3:almalinux-8
- - name: rockylinux-8-master-py3
- driver:
- image: saltimages/salt-master-py3:rockylinux-8
-
- ## SALT `3004.0`
- - name: debian-11-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:debian-11
- run_command: /lib/systemd/systemd
- - name: debian-10-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
- - name: centos-stream8-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:centos-stream8
- - name: centos-8-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:centos-8
- - name: centos-7-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:centos-7
- - name: fedora-34-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:fedora-34
- - name: fedora-33-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:fedora-33
- - name: opensuse-leap-153-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:opensuse-leap-15.3
- # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-leap-152-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:opensuse-leap-15.2
- # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-tmbl-latest-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:opensuse-tumbleweed-latest
- # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: amazonlinux-2-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:amazonlinux-2
- - name: oraclelinux-8-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:oraclelinux-8
- - name: oraclelinux-7-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:oraclelinux-7
- - name: arch-base-latest-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:arch-base-latest
- - name: gentoo-stage3-latest-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:gentoo-stage3-latest
- run_command: /sbin/init
- - name: gentoo-stage3-systemd-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:gentoo-stage3-systemd
- - name: almalinux-8-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:almalinux-8
- - name: rockylinux-8-3004-0-py3
- driver:
- image: saltimages/salt-3004.0-py3:rockylinux-8
-
- ## SALT `3003.3`
- - name: debian-11-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:debian-11
- run_command: /lib/systemd/systemd
- - name: debian-10-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
- - name: centos-stream8-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:centos-stream8
- - name: centos-8-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:centos-8
- - name: centos-7-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:centos-7
- - name: fedora-34-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:fedora-34
- - name: fedora-33-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:fedora-33
- - name: opensuse-leap-153-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:opensuse-leap-15.3
- # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-leap-152-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:opensuse-leap-15.2
- # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-tmbl-latest-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:opensuse-tumbleweed-latest
- # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: amazonlinux-2-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:amazonlinux-2
- - name: oraclelinux-8-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:oraclelinux-8
- - name: oraclelinux-7-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:oraclelinux-7
- - name: arch-base-latest-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:arch-base-latest
- - name: gentoo-stage3-latest-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:gentoo-stage3-latest
- run_command: /sbin/init
- - name: gentoo-stage3-systemd-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:gentoo-stage3-systemd
- - name: almalinux-8-3003-3-py3
- driver:
- image: saltimages/salt-3003.3-py3:almalinux-8
-
- ## SALT `3002.7`
- - name: debian-11-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:debian-11
- run_command: /lib/systemd/systemd
- - name: debian-10-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
- - name: centos-8-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:centos-8
- - name: centos-7-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:centos-7
- - name: fedora-34-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:fedora-34
- - name: fedora-33-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:fedora-33
- - name: opensuse-leap-153-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:opensuse-leap-15.3
- # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-leap-152-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:opensuse-leap-15.2
- # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-tmbl-latest-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:opensuse-tumbleweed-latest
- # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: amazonlinux-2-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:amazonlinux-2
- - name: oraclelinux-8-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:oraclelinux-8
- - name: oraclelinux-7-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:oraclelinux-7
- - name: arch-base-latest-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:arch-base-latest
- - name: gentoo-stage3-latest-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:gentoo-stage3-latest
- run_command: /sbin/init
- - name: gentoo-stage3-systemd-3002-7-py3
- driver:
- image: saltimages/salt-3002.7-py3:gentoo-stage3-systemd
-
- ## SALT `3001.8`
- - name: debian-10-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:debian-10
- run_command: /lib/systemd/systemd
- - name: debian-9-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:debian-9
- run_command: /lib/systemd/systemd
- - name: ubuntu-2004-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:ubuntu-20.04
- run_command: /lib/systemd/systemd
- - name: ubuntu-1804-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:ubuntu-18.04
- run_command: /lib/systemd/systemd
- - name: centos-8-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:centos-8
- - name: centos-7-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:centos-7
- - name: fedora-34-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:fedora-34
- - name: fedora-33-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:fedora-33
- - name: opensuse-leap-153-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:opensuse-leap-15.3
- # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-leap-152-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:opensuse-leap-15.2
- # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: opensuse-tmbl-latest-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:opensuse-tumbleweed-latest
- # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
- # => SCP did not finish successfully (255): (Net::SCP::Error)
- transport:
- max_ssh_sessions: 1
- - name: amazonlinux-2-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:amazonlinux-2
- - name: oraclelinux-8-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:oraclelinux-8
- - name: oraclelinux-7-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:oraclelinux-7
- - name: arch-base-latest-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:arch-base-latest
- - name: gentoo-stage3-latest-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:gentoo-stage3-latest
- run_command: /sbin/init
- - name: gentoo-stage3-systemd-3001-8-py3
- driver:
- image: saltimages/salt-3001.8-py3:gentoo-stage3-systemd
-
- verifier:
- # https://www.inspec.io/
- name: inspec
- sudo: true
- reporter:
- # cli, documentation, html, progress, json, json-min, json-rspec, junit
- - cli
-
- suites:
- - name: default
- includes:
- - debian-11-tiamat-py3
- - debian-10-tiamat-py3
- - centos-stream8-tiamat-py3
- - centos-8-tiamat-py3
- - oraclelinux-8-tiamat-py3
- - almalinux-8-tiamat-py3
- - rockylinux-8-tiamat-py3
- - debian-11-master-py3
- - debian-10-master-py3
- - centos-stream8-master-py3
- - centos-8-master-py3
- - oraclelinux-8-master-py3
- - almalinux-8-master-py3
- - rockylinux-8-master-py3
- - debian-11-3004-0-py3
- - debian-10-3004-0-py3
- - centos-stream8-3004-0-py3
- - centos-8-3004-0-py3
- - oraclelinux-8-3004-0-py3
- - almalinux-8-3004-0-py3
- - rockylinux-8-3004-0-py3
- - debian-11-3003-3-py3
- - debian-10-3003-3-py3
- - centos-stream8-3003-3-py3
- - centos-8-3003-3-py3
- - oraclelinux-8-3003-3-py3
- - almalinux-8-3003-3-py3
- - debian-11-3002-7-py3
- - debian-10-3002-7-py3
- - centos-8-3002-7-py3
- - oraclelinux-8-3002-7-py3
- - debian-10-3001-8-py3
- - centos-8-3001-8-py3
- - oraclelinux-8-3001-8-py3
- provisioner:
- state_top:
- base:
- '*':
- - ufw._mapdata
- - ufw
- pillars:
- top.sls:
- base:
- '*':
- - ufw
- pillars_from_files:
- ufw.sls: test/salt/pillar/default.sls
- verifier:
- inspec_tests:
- - path: test/integration/default
- - name: without-ipv6
- provisioner:
- state_top:
- base:
- '*':
- - ufw._mapdata
- - ufw
- pillars:
- top.sls:
- base:
- '*':
- - ufw
- - without-ipv6
- pillars_from_files:
- ufw.sls: test/salt/pillar/default.sls
- without-ipv6.sls: test/salt/pillar/without-ipv6.sls
- verifier:
- inspec_tests:
- - path: test/integration/default
|