2018-08-14 09:26:59 -05:00
|
|
|
---
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
use_sudo: false
|
|
|
|
hostname: salt
|
|
|
|
privileged: true
|
2019-04-07 13:33:46 +01:00
|
|
|
username: root
|
2018-08-14 09:26:59 -05:00
|
|
|
cap_add:
|
|
|
|
- sys_admin
|
|
|
|
disable_upstart: false
|
2019-04-07 11:25:43 +01:00
|
|
|
use_internal_docker_network: false
|
2021-07-14 08:47:55 +01:00
|
|
|
run_command: /usr/lib/systemd/systemd
|
2018-08-14 09:26:59 -05:00
|
|
|
|
|
|
|
provisioner:
|
|
|
|
name: salt_solo
|
|
|
|
salt_install: bootstrap
|
|
|
|
salt_bootstrap_url: bootstrap-salt.sh
|
2018-08-14 17:13:57 -05:00
|
|
|
salt_bootstrap_options: -MPfq git %s
|
2018-08-14 09:26:59 -05:00
|
|
|
install_after_init_environment: true
|
|
|
|
log_level: info
|
2019-04-07 13:33:46 +01:00
|
|
|
sudo: false
|
2018-08-14 09:26:59 -05:00
|
|
|
require_chef: false
|
|
|
|
formula: tests
|
2019-04-06 18:13:36 +01:00
|
|
|
run_salt_call: false
|
|
|
|
init_environment: |
|
|
|
|
echo 'auto_accept: true' > /tmp/auto-accept-keys.conf
|
2019-04-07 13:33:46 +01:00
|
|
|
mkdir -p /etc/salt/master.d
|
|
|
|
mv /tmp/auto-accept-keys.conf /etc/salt/master.d/auto-accept-keys.conf
|
2019-04-07 10:47:34 +01:00
|
|
|
sh -c 't=$(shuf -i 1-15 -n 1); echo Sleeping $t seconds; sleep $t'
|
2018-08-14 09:26:59 -05:00
|
|
|
|
|
|
|
platforms:
|
2021-06-25 23:28:38 +01:00
|
|
|
- name: almalinux-8
|
2018-11-12 15:23:52 -05:00
|
|
|
- name: amazon-2
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2018-11-12 15:23:52 -05:00
|
|
|
image: amazonlinux:2
|
|
|
|
platform: rhel
|
2019-12-12 14:22:31 -07:00
|
|
|
provision_command:
|
2019-12-13 16:55:25 -07:00
|
|
|
- yum -y install procps-ng
|
2019-04-07 10:53:40 +01:00
|
|
|
- name: arch
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2021-04-14 09:38:46 +01:00
|
|
|
image: archlinux/archlinux
|
2019-04-07 10:07:44 +01:00
|
|
|
provision_command:
|
2019-04-07 10:53:40 +01:00
|
|
|
- pacman -Syu --noconfirm --needed systemd grep awk procps which
|
|
|
|
- systemctl enable sshd
|
2021-10-01 20:00:39 +01:00
|
|
|
- echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config
|
2021-10-09 13:38:50 +01:00
|
|
|
- name: centos-stream8
|
|
|
|
driver:
|
|
|
|
image: quay.io/centos/centos:stream8
|
2019-04-07 10:53:40 +01:00
|
|
|
- name: centos-7
|
2018-08-14 09:26:59 -05:00
|
|
|
- name: debian-9
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2019-04-07 10:07:44 +01:00
|
|
|
run_command: /lib/systemd/systemd
|
2019-10-14 11:51:32 -06:00
|
|
|
- name: debian-10
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2019-10-14 11:51:32 -06:00
|
|
|
run_command: /lib/systemd/systemd
|
2020-12-09 05:19:06 +00:00
|
|
|
- name: debian-11
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2020-12-09 05:19:06 +00:00
|
|
|
image: debian:bullseye
|
|
|
|
run_command: /lib/systemd/systemd
|
2022-06-07 06:29:33 +01:00
|
|
|
- name: fedora-35
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2021-07-14 09:08:02 +01:00
|
|
|
provision_command: &fedora_provision_command
|
2022-02-26 15:44:02 +00:00
|
|
|
- dnf -y install procps-ng crypto-policies-scripts
|
|
|
|
- update-crypto-policies --set LEGACY
|
2022-04-09 15:07:39 +01:00
|
|
|
- name: fedora-36
|
|
|
|
driver:
|
|
|
|
provision_command: *fedora_provision_command
|
2020-09-25 16:28:26 +02:00
|
|
|
- name: gentoo
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2021-05-01 14:59:26 +02:00
|
|
|
image: gentoo/stage3:latest
|
2020-09-25 16:28:26 +02:00
|
|
|
run_command: /sbin/init
|
|
|
|
provision_command:
|
|
|
|
- rc-update add sshd default
|
2022-01-05 06:11:40 +00:00
|
|
|
- echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config
|
2020-09-25 16:28:26 +02:00
|
|
|
- name: gentoo-systemd
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2021-05-01 14:59:26 +02:00
|
|
|
image: gentoo/stage3:systemd
|
2020-09-25 16:28:26 +02:00
|
|
|
run_command: /lib/systemd/systemd
|
|
|
|
provision_command:
|
|
|
|
- systemctl enable sshd.service
|
2022-01-05 06:11:40 +00:00
|
|
|
- echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config
|
2019-04-06 13:04:09 +01:00
|
|
|
- name: opensuse-15
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2022-06-17 13:19:51 +01:00
|
|
|
image: opensuse/leap:15.4
|
2021-11-10 14:33:33 +00:00
|
|
|
provision_command:
|
|
|
|
- &opensuse_provision_command_01 zypper --non-interactive install --auto-agree-with-licenses dbus-1
|
|
|
|
- &opensuse_provision_command_02 zypper --non-interactive install --auto-agree-with-licenses sudo openssh which curl systemd
|
|
|
|
- &opensuse_provision_command_03 systemctl enable sshd.service
|
2021-01-20 09:43:08 +00:00
|
|
|
- name: opensuse-tumbleweed
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2021-01-20 09:43:08 +00:00
|
|
|
image: opensuse/tumbleweed:latest
|
2021-11-10 14:33:33 +00:00
|
|
|
provision_command:
|
|
|
|
- *opensuse_provision_command_01
|
|
|
|
- *opensuse_provision_command_02
|
|
|
|
- *opensuse_provision_command_03
|
|
|
|
- echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config
|
2021-06-25 23:20:09 +01:00
|
|
|
- name: oraclelinux-8
|
2021-02-13 13:41:20 +00:00
|
|
|
- name: oraclelinux-7
|
2021-06-25 23:26:12 +01:00
|
|
|
- name: rockylinux-8
|
2022-04-23 10:05:45 +02:00
|
|
|
- name: ubuntu-22.04
|
|
|
|
driver:
|
|
|
|
run_command: /lib/systemd/systemd
|
|
|
|
provision_command:
|
|
|
|
- echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config
|
2022-01-07 09:52:26 +01:00
|
|
|
- name: ubuntu-21.10
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2021-05-10 18:24:37 +02:00
|
|
|
run_command: /lib/systemd/systemd
|
2020-06-17 16:30:02 -06:00
|
|
|
- name: ubuntu-20.04
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2020-06-17 16:30:02 -06:00
|
|
|
run_command: /lib/systemd/systemd
|
2019-04-07 10:53:40 +01:00
|
|
|
- name: ubuntu-18.04
|
2021-07-14 08:51:03 +01:00
|
|
|
driver:
|
2019-04-07 10:53:40 +01:00
|
|
|
run_command: /lib/systemd/systemd
|
2018-08-14 11:34:13 -05:00
|
|
|
|
2018-08-14 09:26:59 -05:00
|
|
|
suites:
|
2022-08-11 14:40:07 +01:00
|
|
|
- name: git-3003
|
2021-06-30 16:10:53 +00:00
|
|
|
provisioner:
|
|
|
|
salt_version: 3003
|
|
|
|
salt_bootstrap_options: -x python3 -MPfq git %s
|
2022-08-11 14:40:07 +01:00
|
|
|
- name: git-3004
|
2022-01-10 09:56:28 +01:00
|
|
|
provisioner:
|
|
|
|
salt_version: 3004
|
|
|
|
salt_bootstrap_options: -x python3 -MPfq git %s
|
2020-12-07 23:27:37 +00:00
|
|
|
excludes:
|
|
|
|
- opensuse-15
|
2021-01-20 09:43:08 +00:00
|
|
|
- opensuse-tumbleweed
|
2020-12-09 05:19:06 +00:00
|
|
|
- debian-11
|
2020-12-07 23:27:37 +00:00
|
|
|
- arch
|
2020-12-11 16:55:28 +01:00
|
|
|
- gentoo
|
|
|
|
- gentoo-systemd
|
2022-06-08 09:12:47 +01:00
|
|
|
- freebsd-131
|
2021-12-14 12:00:07 +00:00
|
|
|
- freebsd-123
|
2021-03-28 10:35:03 +01:00
|
|
|
- openbsd-6
|
2022-08-11 14:40:07 +01:00
|
|
|
- name: stable-3003-0
|
2021-06-30 16:10:53 +00:00
|
|
|
provisioner:
|
|
|
|
salt_version: 3003
|
|
|
|
salt_bootstrap_options: -x python3 -MP stable 3003.0
|
|
|
|
excludes:
|
|
|
|
- opensuse-15
|
|
|
|
- opensuse-tumbleweed
|
|
|
|
- arch
|
|
|
|
- gentoo
|
|
|
|
- gentoo-systemd
|
2022-06-08 09:12:47 +01:00
|
|
|
- freebsd-131
|
2021-12-14 12:00:07 +00:00
|
|
|
- freebsd-123
|
2021-06-30 16:10:53 +00:00
|
|
|
- openbsd-6
|
2020-12-07 23:27:37 +00:00
|
|
|
excludes:
|
2020-06-17 16:30:02 -06:00
|
|
|
- opensuse-15
|
2021-01-20 09:43:08 +00:00
|
|
|
- opensuse-tumbleweed
|
2020-06-17 16:30:02 -06:00
|
|
|
- arch
|
2022-06-08 09:12:47 +01:00
|
|
|
- freebsd-131
|
2021-12-14 12:00:07 +00:00
|
|
|
- freebsd-123
|
2021-03-28 10:35:03 +01:00
|
|
|
- openbsd-6
|
2022-08-11 14:40:07 +01:00
|
|
|
- name: stable-3003
|
2021-06-30 16:10:53 +00:00
|
|
|
provisioner:
|
|
|
|
salt_version: 3003
|
|
|
|
salt_bootstrap_options: -x python3 -MP stable %s
|
|
|
|
excludes:
|
|
|
|
- opensuse-15
|
|
|
|
- opensuse-tumbleweed
|
|
|
|
- arch
|
2022-06-08 09:12:47 +01:00
|
|
|
- freebsd-131
|
2021-12-14 12:00:07 +00:00
|
|
|
- freebsd-123
|
2021-06-30 16:10:53 +00:00
|
|
|
- openbsd-6
|
2022-08-11 14:40:07 +01:00
|
|
|
- name: stable-3004-0
|
2022-01-10 09:56:28 +01:00
|
|
|
provisioner:
|
|
|
|
salt_version: 3004
|
|
|
|
salt_bootstrap_options: -x python3 -MP stable 3004.0
|
|
|
|
excludes:
|
|
|
|
- opensuse-15
|
|
|
|
- opensuse-tumbleweed
|
|
|
|
- arch
|
|
|
|
- gentoo
|
|
|
|
- gentoo-systemd
|
2022-06-08 09:12:47 +01:00
|
|
|
- freebsd-131
|
2022-01-10 09:56:28 +01:00
|
|
|
- freebsd-123
|
|
|
|
- openbsd-6
|
2022-08-11 14:40:07 +01:00
|
|
|
- name: stable-3004
|
2022-01-10 09:56:28 +01:00
|
|
|
provisioner:
|
|
|
|
salt_version: 3004
|
|
|
|
salt_bootstrap_options: -x python3 -MP stable %s
|
|
|
|
excludes:
|
|
|
|
- opensuse-15
|
|
|
|
- opensuse-tumbleweed
|
|
|
|
- arch
|
2022-06-08 09:12:47 +01:00
|
|
|
- freebsd-131
|
2022-01-10 09:56:28 +01:00
|
|
|
- freebsd-123
|
|
|
|
- openbsd-6
|
2022-08-11 14:40:07 +01:00
|
|
|
- name: git-master
|
2020-02-04 12:35:45 +00:00
|
|
|
provisioner:
|
|
|
|
salt_version: master
|
|
|
|
salt_bootstrap_options: -x python3 -MPfq -D git %s
|
2018-08-14 09:26:59 -05:00
|
|
|
|
2020-01-28 16:49:20 +00:00
|
|
|
- name: latest
|
|
|
|
provisioner:
|
|
|
|
salt_version: latest
|
|
|
|
salt_bootstrap_options: -MP stable %s
|
|
|
|
|
2018-08-14 10:42:23 -05:00
|
|
|
verifier:
|
|
|
|
name: shell
|
|
|
|
remote_exec: false
|
2020-05-27 06:59:11 +01:00
|
|
|
command: pytest --cache-clear -v -s -ra --log-cli-level=info tests/integration/
|