From f937dca2ff16eff5fc4f855ae2d550ef15eefa34 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 2 Jul 2021 00:03:39 +0100 Subject: [PATCH] ci(3003.1): update inc. AlmaLinux, Rocky & `rst-lint` [skip ci] * Automated using https://github.com/myii/ssf-formula/pull/335 --- .gitlab-ci.yml | 53 +++--- .pre-commit-config.yaml | 11 ++ .travis.yml | 53 +++--- Gemfile.lock | 2 +- kitchen.yml | 184 ++++++++++++++------- test/integration/deb/inspec.yml | 2 + test/integration/git/inspec.yml | 2 + test/integration/rpm/inspec.yml | 2 + test/integration/share/inspec.yml | 2 + test/integration/share/libraries/system.rb | 2 +- 10 files changed, 212 insertions(+), 101 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06653b7..06ad6be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -132,6 +132,8 @@ rubocop: # git-amazonlinux-2-tiamat-py3: {extends: '.test_instance'} # git-oraclelinux-8-tiamat-py3: {extends: '.test_instance'} # git-oraclelinux-7-tiamat-py3: {extends: '.test_instance'} +# git-almalinux-8-tiamat-py3: {extends: '.test_instance'} +# git-rockylinux-8-tiamat-py3: {extends: '.test_instance'} # git-debian-10-master-py3: {extends: '.test_instance'} deb-debian-10-master-py3: {extends: '.test_instance'} # git-debian-9-master-py3: {extends: '.test_instance'} @@ -146,6 +148,7 @@ rpm-centos-7-master-py3: {extends: '.test_instance'} rpm-fedora-34-master-py3: {extends: '.test_instance'} # git-fedora-33-master-py3: {extends: '.test_instance'} rpm-fedora-33-master-py3: {extends: '.test_instance'} +git-opensuse-leap-153-master-py3: {extends: '.test_instance'} git-opensuse-leap-152-master-py3: {extends: '.test_instance'} git-opensuse-tmbl-latest-master-py3: {extends: '.test_instance'} # git-amazonlinux-2-master-py3: {extends: '.test_instance'} @@ -157,20 +160,27 @@ rpm-oraclelinux-8-master-py3: {extends: '.test_instance'} git-arch-base-latest-master-py3: {extends: '.test_instance'} git-gentoo-stage3-latest-master-py3: {extends: '.test_instance'} git-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'} -# git-debian-10-3003-0-py3: {extends: '.test_instance'} -# git-debian-9-3003-0-py3: {extends: '.test_instance'} -# git-ubuntu-2004-3003-0-py3: {extends: '.test_instance'} -# git-ubuntu-1804-3003-0-py3: {extends: '.test_instance'} -# git-centos-8-3003-0-py3: {extends: '.test_instance'} -# git-centos-7-3003-0-py3: {extends: '.test_instance'} -# git-fedora-34-3003-0-py3: {extends: '.test_instance'} -# git-fedora-33-3003-0-py3: {extends: '.test_instance'} -# git-amazonlinux-2-3003-0-py3: {extends: '.test_instance'} -# git-oraclelinux-8-3003-0-py3: {extends: '.test_instance'} -# git-oraclelinux-7-3003-0-py3: {extends: '.test_instance'} -# git-arch-base-latest-3003-0-py3: {extends: '.test_instance'} -# git-gentoo-stage3-latest-3003-0-py3: {extends: '.test_instance'} -# git-gentoo-stage3-systemd-3003-0-py3: {extends: '.test_instance'} +# git-almalinux-8-master-py3: {extends: '.test_instance'} +rpm-almalinux-8-master-py3: {extends: '.test_instance'} +# git-rockylinux-8-master-py3: {extends: '.test_instance'} +rpm-rockylinux-8-master-py3: {extends: '.test_instance'} +# git-debian-10-3003-1-py3: {extends: '.test_instance'} +# git-debian-9-3003-1-py3: {extends: '.test_instance'} +# git-ubuntu-2004-3003-1-py3: {extends: '.test_instance'} +# git-ubuntu-1804-3003-1-py3: {extends: '.test_instance'} +# git-centos-8-3003-1-py3: {extends: '.test_instance'} +# git-centos-7-3003-1-py3: {extends: '.test_instance'} +# git-fedora-34-3003-1-py3: {extends: '.test_instance'} +# git-fedora-33-3003-1-py3: {extends: '.test_instance'} +# git-opensuse-leap-153-3003-1-py3: {extends: '.test_instance'} +# git-opensuse-leap-152-3003-1-py3: {extends: '.test_instance'} +# git-opensuse-tmbl-latest-3003-1-py3: {extends: '.test_instance'} +# git-amazonlinux-2-3003-1-py3: {extends: '.test_instance'} +# git-oraclelinux-8-3003-1-py3: {extends: '.test_instance'} +# git-oraclelinux-7-3003-1-py3: {extends: '.test_instance'} +# git-arch-base-latest-3003-1-py3: {extends: '.test_instance'} +# git-gentoo-stage3-latest-3003-1-py3: {extends: '.test_instance'} +# git-gentoo-stage3-systemd-3003-1-py3: {extends: '.test_instance'} # git-debian-10-3002-6-py3: {extends: '.test_instance'} # git-debian-9-3002-6-py3: {extends: '.test_instance'} # git-ubuntu-2004-3002-6-py3: {extends: '.test_instance'} @@ -183,8 +193,9 @@ git-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'} # git-oraclelinux-8-3002-6-py3: {extends: '.test_instance'} # git-oraclelinux-7-3002-6-py3: {extends: '.test_instance'} # git-arch-base-latest-3002-6-py3: {extends: '.test_instance'} -# git-gentoo-stage3-latest-3002-5-py3: {extends: '.test_instance'} -# git-gentoo-stage3-systemd-3002-5-py3: {extends: '.test_instance'} +# git-gentoo-stage3-latest-3002-6-py3: {extends: '.test_instance'} +# git-gentoo-stage3-systemd-3002-6-py3: {extends: '.test_instance'} +# git-opensuse-leap-153-3002-2-py3: {extends: '.test_instance'} # git-opensuse-leap-152-3002-2-py3: {extends: '.test_instance'} # git-opensuse-tmbl-latest-3002-2-py3: {extends: '.test_instance'} # git-debian-10-3001-7-py3: {extends: '.test_instance'} @@ -195,27 +206,29 @@ git-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'} # git-centos-7-3001-7-py3: {extends: '.test_instance'} # git-fedora-34-3001-7-py3: {extends: '.test_instance'} # git-fedora-33-3001-7-py3: {extends: '.test_instance'} +# git-opensuse-leap-153-3001-7-py3: {extends: '.test_instance'} # git-opensuse-leap-152-3001-7-py3: {extends: '.test_instance'} # git-opensuse-tmbl-latest-3001-7-py3: {extends: '.test_instance'} # git-amazonlinux-2-3001-7-py3: {extends: '.test_instance'} # git-oraclelinux-8-3001-7-py3: {extends: '.test_instance'} # git-oraclelinux-7-3001-7-py3: {extends: '.test_instance'} # git-arch-base-latest-3001-7-py3: {extends: '.test_instance'} -# git-gentoo-stage3-latest-3001-6-py3: {extends: '.test_instance'} -# git-gentoo-stage3-systemd-3001-6-py3: {extends: '.test_instance'} +# git-gentoo-stage3-latest-3001-7-py3: {extends: '.test_instance'} +# git-gentoo-stage3-systemd-3001-7-py3: {extends: '.test_instance'} # git-debian-10-3000-9-py3: {extends: '.test_instance'} # git-debian-9-3000-9-py3: {extends: '.test_instance'} # git-ubuntu-1804-3000-9-py3: {extends: '.test_instance'} # git-centos-8-3000-9-py3: {extends: '.test_instance'} # git-centos-7-3000-9-py3: {extends: '.test_instance'} +# git-opensuse-leap-153-3000-9-py3: {extends: '.test_instance'} # git-opensuse-leap-152-3000-9-py3: {extends: '.test_instance'} # git-amazonlinux-2-3000-9-py3: {extends: '.test_instance'} # git-oraclelinux-8-3000-9-py3: {extends: '.test_instance'} # git-oraclelinux-7-3000-9-py3: {extends: '.test_instance'} +# git-gentoo-stage3-latest-3000-9-py3: {extends: '.test_instance'} +# git-gentoo-stage3-systemd-3000-9-py3: {extends: '.test_instance'} # git-ubuntu-1804-3000-9-py2: {extends: '.test_instance'} # git-arch-base-latest-3000-9-py2: {extends: '.test_instance'} -# git-gentoo-stage3-latest-3000-8-py3: {extends: '.test_instance'} -# git-gentoo-stage3-systemd-3000-8-py3: {extends: '.test_instance'} ############################################################################### # `release` stage: `semantic-release` diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9bc4109..41b5f35 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,3 +52,14 @@ repos: - id: rstcheck name: Check reST files using rstcheck exclude: 'docs/CHANGELOG.rst' + - repo: https://github.com/saltstack-formulas/mirrors-rst-lint + rev: v1.3.2 + hooks: + - id: rst-lint + name: Check reST files using rst-lint + exclude: | + (?x)^( + docs/CHANGELOG.rst| + docs/TOFS_pattern.rst| + )$ + additional_dependencies: [pygments==2.9.0] diff --git a/.travis.yml b/.travis.yml index ce85151..62dc1de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -92,6 +92,8 @@ jobs: # - env: INSTANCE=git-amazonlinux-2-tiamat-py3 # - env: INSTANCE=git-oraclelinux-8-tiamat-py3 # - env: INSTANCE=git-oraclelinux-7-tiamat-py3 + # - env: INSTANCE=git-almalinux-8-tiamat-py3 + # - env: INSTANCE=git-rockylinux-8-tiamat-py3 # - env: INSTANCE=git-debian-10-master-py3 - env: INSTANCE=deb-debian-10-master-py3 # - env: INSTANCE=git-debian-9-master-py3 @@ -106,6 +108,7 @@ jobs: - env: INSTANCE=rpm-fedora-34-master-py3 # - env: INSTANCE=git-fedora-33-master-py3 - env: INSTANCE=rpm-fedora-33-master-py3 + - env: INSTANCE=git-opensuse-leap-153-master-py3 - env: INSTANCE=git-opensuse-leap-152-master-py3 - env: INSTANCE=git-opensuse-tmbl-latest-master-py3 # - env: INSTANCE=git-amazonlinux-2-master-py3 @@ -117,20 +120,27 @@ jobs: - env: INSTANCE=git-arch-base-latest-master-py3 - env: INSTANCE=git-gentoo-stage3-latest-master-py3 - env: INSTANCE=git-gentoo-stage3-systemd-master-py3 - # - env: INSTANCE=git-debian-10-3003-0-py3 - # - env: INSTANCE=git-debian-9-3003-0-py3 - # - env: INSTANCE=git-ubuntu-2004-3003-0-py3 - # - env: INSTANCE=git-ubuntu-1804-3003-0-py3 - # - env: INSTANCE=git-centos-8-3003-0-py3 - # - env: INSTANCE=git-centos-7-3003-0-py3 - # - env: INSTANCE=git-fedora-34-3003-0-py3 - # - env: INSTANCE=git-fedora-33-3003-0-py3 - # - env: INSTANCE=git-amazonlinux-2-3003-0-py3 - # - env: INSTANCE=git-oraclelinux-8-3003-0-py3 - # - env: INSTANCE=git-oraclelinux-7-3003-0-py3 - # - env: INSTANCE=git-arch-base-latest-3003-0-py3 - # - env: INSTANCE=git-gentoo-stage3-latest-3003-0-py3 - # - env: INSTANCE=git-gentoo-stage3-systemd-3003-0-py3 + # - env: INSTANCE=git-almalinux-8-master-py3 + - env: INSTANCE=rpm-almalinux-8-master-py3 + # - env: INSTANCE=git-rockylinux-8-master-py3 + - env: INSTANCE=rpm-rockylinux-8-master-py3 + # - env: INSTANCE=git-debian-10-3003-1-py3 + # - env: INSTANCE=git-debian-9-3003-1-py3 + # - env: INSTANCE=git-ubuntu-2004-3003-1-py3 + # - env: INSTANCE=git-ubuntu-1804-3003-1-py3 + # - env: INSTANCE=git-centos-8-3003-1-py3 + # - env: INSTANCE=git-centos-7-3003-1-py3 + # - env: INSTANCE=git-fedora-34-3003-1-py3 + # - env: INSTANCE=git-fedora-33-3003-1-py3 + # - env: INSTANCE=git-opensuse-leap-153-3003-1-py3 + # - env: INSTANCE=git-opensuse-leap-152-3003-1-py3 + # - env: INSTANCE=git-opensuse-tmbl-latest-3003-1-py3 + # - env: INSTANCE=git-amazonlinux-2-3003-1-py3 + # - env: INSTANCE=git-oraclelinux-8-3003-1-py3 + # - env: INSTANCE=git-oraclelinux-7-3003-1-py3 + # - env: INSTANCE=git-arch-base-latest-3003-1-py3 + # - env: INSTANCE=git-gentoo-stage3-latest-3003-1-py3 + # - env: INSTANCE=git-gentoo-stage3-systemd-3003-1-py3 # - env: INSTANCE=git-debian-10-3002-6-py3 # - env: INSTANCE=git-debian-9-3002-6-py3 # - env: INSTANCE=git-ubuntu-2004-3002-6-py3 @@ -143,8 +153,9 @@ jobs: # - env: INSTANCE=git-oraclelinux-8-3002-6-py3 # - env: INSTANCE=git-oraclelinux-7-3002-6-py3 # - env: INSTANCE=git-arch-base-latest-3002-6-py3 - # - env: INSTANCE=git-gentoo-stage3-latest-3002-5-py3 - # - env: INSTANCE=git-gentoo-stage3-systemd-3002-5-py3 + # - env: INSTANCE=git-gentoo-stage3-latest-3002-6-py3 + # - env: INSTANCE=git-gentoo-stage3-systemd-3002-6-py3 + # - env: INSTANCE=git-opensuse-leap-153-3002-2-py3 # - env: INSTANCE=git-opensuse-leap-152-3002-2-py3 # - env: INSTANCE=git-opensuse-tmbl-latest-3002-2-py3 # - env: INSTANCE=git-debian-10-3001-7-py3 @@ -155,27 +166,29 @@ jobs: # - env: INSTANCE=git-centos-7-3001-7-py3 # - env: INSTANCE=git-fedora-34-3001-7-py3 # - env: INSTANCE=git-fedora-33-3001-7-py3 + # - env: INSTANCE=git-opensuse-leap-153-3001-7-py3 # - env: INSTANCE=git-opensuse-leap-152-3001-7-py3 # - env: INSTANCE=git-opensuse-tmbl-latest-3001-7-py3 # - env: INSTANCE=git-amazonlinux-2-3001-7-py3 # - env: INSTANCE=git-oraclelinux-8-3001-7-py3 # - env: INSTANCE=git-oraclelinux-7-3001-7-py3 # - env: INSTANCE=git-arch-base-latest-3001-7-py3 - # - env: INSTANCE=git-gentoo-stage3-latest-3001-6-py3 - # - env: INSTANCE=git-gentoo-stage3-systemd-3001-6-py3 + # - env: INSTANCE=git-gentoo-stage3-latest-3001-7-py3 + # - env: INSTANCE=git-gentoo-stage3-systemd-3001-7-py3 # - env: INSTANCE=git-debian-10-3000-9-py3 # - env: INSTANCE=git-debian-9-3000-9-py3 # - env: INSTANCE=git-ubuntu-1804-3000-9-py3 # - env: INSTANCE=git-centos-8-3000-9-py3 # - env: INSTANCE=git-centos-7-3000-9-py3 + # - env: INSTANCE=git-opensuse-leap-153-3000-9-py3 # - env: INSTANCE=git-opensuse-leap-152-3000-9-py3 # - env: INSTANCE=git-amazonlinux-2-3000-9-py3 # - env: INSTANCE=git-oraclelinux-8-3000-9-py3 # - env: INSTANCE=git-oraclelinux-7-3000-9-py3 + # - env: INSTANCE=git-gentoo-stage3-latest-3000-9-py3 + # - env: INSTANCE=git-gentoo-stage3-systemd-3000-9-py3 # - env: INSTANCE=git-ubuntu-1804-3000-9-py2 # - env: INSTANCE=git-arch-base-latest-3000-9-py2 - # - env: INSTANCE=git-gentoo-stage3-latest-3000-8-py3 - # - env: INSTANCE=git-gentoo-stage3-systemd-3000-8-py3 ## Define the release stage that runs `semantic-release` - stage: 'release' diff --git a/Gemfile.lock b/Gemfile.lock index d7cbc3b..6ad4ef9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://gitlab.com/saltstack-formulas/infrastructure/kitchen-docker - revision: 042e6921940a28d2502258b6a5ff3be17dd2fd37 + revision: 1f543f654da5c1774cb8737f6f07a01745520bb5 branch: ssf specs: kitchen-docker (2.10.0) diff --git a/kitchen.yml b/kitchen.yml index 7451efe..314a295 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -37,6 +37,12 @@ platforms: - 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-10-master-py3 @@ -63,6 +69,14 @@ platforms: - 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 + run_command: /usr/lib/systemd/systemd + # 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 @@ -99,52 +113,82 @@ platforms: - 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 `3003.0` - - name: debian-10-3003-0-py3 + ## SALT `3003.1` + - name: debian-10-3003-1-py3 + driver: + image: saltimages/salt-3003.1-py3:debian-10 + - name: debian-9-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:debian-10 - - name: debian-9-3003-0-py3 + image: saltimages/salt-3003.1-py3:debian-9 + - name: ubuntu-2004-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:debian-9 - - name: ubuntu-2004-3003-0-py3 + image: saltimages/salt-3003.1-py3:ubuntu-20.04 + - name: ubuntu-1804-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:ubuntu-20.04 - - name: ubuntu-1804-3003-0-py3 + image: saltimages/salt-3003.1-py3:ubuntu-18.04 + - name: centos-8-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:ubuntu-18.04 - - name: centos-8-3003-0-py3 + image: saltimages/salt-3003.1-py3:centos-8 + - name: centos-7-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:centos-8 - - name: centos-7-3003-0-py3 + image: saltimages/salt-3003.1-py3:centos-7 + - name: fedora-34-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:centos-7 - - name: fedora-34-3003-0-py3 + image: saltimages/salt-3003.1-py3:fedora-34 + - name: fedora-33-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:fedora-34 - - name: fedora-33-3003-0-py3 + image: saltimages/salt-3003.1-py3:fedora-33 + - name: opensuse-leap-153-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:fedora-33 - - name: amazonlinux-2-3003-0-py3 + image: saltimages/salt-3003.1-py3:opensuse-leap-15.3 + run_command: /usr/lib/systemd/systemd + # 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-1-py3 + driver: + image: saltimages/salt-3003.1-py3:opensuse-leap-15.2 + run_command: /usr/lib/systemd/systemd + # 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-1-py3 + driver: + image: saltimages/salt-3003.1-py3:opensuse-tumbleweed-latest + run_command: /usr/lib/systemd/systemd + # 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-1-py3 driver: - image: saltimages/salt-3003.0-py3:amazonlinux-2 - - name: oraclelinux-8-3003-0-py3 + image: saltimages/salt-3003.1-py3:amazonlinux-2 + - name: oraclelinux-8-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:oraclelinux-8 - - name: oraclelinux-7-3003-0-py3 + image: saltimages/salt-3003.1-py3:oraclelinux-8 + - name: oraclelinux-7-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:oraclelinux-7 - - name: arch-base-latest-3003-0-py3 + image: saltimages/salt-3003.1-py3:oraclelinux-7 + - name: arch-base-latest-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:arch-base-latest + image: saltimages/salt-3003.1-py3:arch-base-latest run_command: /usr/lib/systemd/systemd - - name: gentoo-stage3-latest-3003-0-py3 + - name: gentoo-stage3-latest-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:gentoo-stage3-latest + image: saltimages/salt-3003.1-py3:gentoo-stage3-latest run_command: /sbin/init - - name: gentoo-stage3-systemd-3003-0-py3 + - name: gentoo-stage3-systemd-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:gentoo-stage3-systemd + image: saltimages/salt-3003.1-py3:gentoo-stage3-systemd ## SALT `3002.6` - name: debian-10-3002-6-py3 @@ -184,17 +228,23 @@ platforms: driver: image: saltimages/salt-3002.6-py3:arch-base-latest run_command: /usr/lib/systemd/systemd - - ## SALT `3002.5` - - name: gentoo-stage3-latest-3002-5-py3 + - name: gentoo-stage3-latest-3002-6-py3 driver: - image: saltimages/salt-3002.5-py3:gentoo-stage3-latest + image: saltimages/salt-3002.6-py3:gentoo-stage3-latest run_command: /sbin/init - - name: gentoo-stage3-systemd-3002-5-py3 + - name: gentoo-stage3-systemd-3002-6-py3 driver: - image: saltimages/salt-3002.5-py3:gentoo-stage3-systemd + image: saltimages/salt-3002.6-py3:gentoo-stage3-systemd ## SALT `3002.2` + - name: opensuse-leap-153-3002-2-py3 + driver: + image: saltimages/salt-3002.2-py3:opensuse-leap-15.3 + run_command: /usr/lib/systemd/systemd + # 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-2-py3 driver: image: saltimages/salt-3002.2-py3:opensuse-leap-15.2 @@ -237,6 +287,14 @@ platforms: - name: fedora-33-3001-7-py3 driver: image: saltimages/salt-3001.7-py3:fedora-33 + - name: opensuse-leap-153-3001-7-py3 + driver: + image: saltimages/salt-3001.7-py3:opensuse-leap-15.3 + run_command: /usr/lib/systemd/systemd + # 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-7-py3 driver: image: saltimages/salt-3001.7-py3:opensuse-leap-15.2 @@ -266,15 +324,13 @@ platforms: driver: image: saltimages/salt-3001.7-py3:arch-base-latest run_command: /usr/lib/systemd/systemd - - ## SALT `3001.6` - - name: gentoo-stage3-latest-3001-6-py3 + - name: gentoo-stage3-latest-3001-7-py3 driver: - image: saltimages/salt-3001.6-py3:gentoo-stage3-latest + image: saltimages/salt-3001.7-py3:gentoo-stage3-latest run_command: /sbin/init - - name: gentoo-stage3-systemd-3001-6-py3 + - name: gentoo-stage3-systemd-3001-7-py3 driver: - image: saltimages/salt-3001.6-py3:gentoo-stage3-systemd + image: saltimages/salt-3001.7-py3:gentoo-stage3-systemd ## SALT `3000.9` - name: debian-10-3000-9-py3 @@ -292,6 +348,14 @@ platforms: - name: centos-7-3000-9-py3 driver: image: saltimages/salt-3000.9-py3:centos-7 + - name: opensuse-leap-153-3000-9-py3 + driver: + image: saltimages/salt-3000.9-py3:opensuse-leap-15.3 + run_command: /usr/lib/systemd/systemd + # 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-3000-9-py3 driver: image: saltimages/salt-3000.9-py3:opensuse-leap-15.2 @@ -309,6 +373,13 @@ platforms: - name: oraclelinux-7-3000-9-py3 driver: image: saltimages/salt-3000.9-py3:oraclelinux-7 + - name: gentoo-stage3-latest-3000-9-py3 + driver: + image: saltimages/salt-3000.9-py3:gentoo-stage3-latest + run_command: /sbin/init + - name: gentoo-stage3-systemd-3000-9-py3 + driver: + image: saltimages/salt-3000.9-py3:gentoo-stage3-systemd - name: ubuntu-1804-3000-9-py2 driver: image: saltimages/salt-3000.9-py2:ubuntu-18.04 @@ -317,15 +388,6 @@ platforms: image: saltimages/salt-3000.9-py2:arch-base-latest run_command: /usr/lib/systemd/systemd - ## SALT `3000.8` - - name: gentoo-stage3-latest-3000-8-py3 - driver: - image: saltimages/salt-3000.8-py3:gentoo-stage3-latest - run_command: /sbin/init - - name: gentoo-stage3-systemd-3000-8-py3 - driver: - image: saltimages/salt-3000.8-py3:gentoo-stage3-systemd - provisioner: name: salt_solo log_level: debug @@ -369,8 +431,8 @@ suites: - debian-9-tiamat-py3 - debian-10-master-py3 - debian-9-master-py3 - - debian-10-3003-0-py3 - - debian-9-3003-0-py3 + - debian-10-3003-1-py3 + - debian-9-3003-1-py3 - debian-10-3002-6-py3 - debian-9-3002-6-py3 - debian-10-3001-7-py3 @@ -410,6 +472,8 @@ suites: - amazonlinux-2-tiamat-py3 - oraclelinux-8-tiamat-py3 - oraclelinux-7-tiamat-py3 + - almalinux-8-tiamat-py3 + - rockylinux-8-tiamat-py3 - centos-8-master-py3 - centos-7-master-py3 - fedora-34-master-py3 @@ -417,13 +481,15 @@ suites: - amazonlinux-2-master-py3 - oraclelinux-8-master-py3 - oraclelinux-7-master-py3 - - centos-8-3003-0-py3 - - centos-7-3003-0-py3 - - fedora-34-3003-0-py3 - - fedora-33-3003-0-py3 - - amazonlinux-2-3003-0-py3 - - oraclelinux-8-3003-0-py3 - - oraclelinux-7-3003-0-py3 + - almalinux-8-master-py3 + - rockylinux-8-master-py3 + - centos-8-3003-1-py3 + - centos-7-3003-1-py3 + - fedora-34-3003-1-py3 + - fedora-33-3003-1-py3 + - amazonlinux-2-3003-1-py3 + - oraclelinux-8-3003-1-py3 + - oraclelinux-7-3003-1-py3 - centos-8-3002-6-py3 - centos-7-3002-6-py3 - fedora-34-3002-6-py3 diff --git a/test/integration/deb/inspec.yml b/test/integration/deb/inspec.yml index 776c6a9..d66aa3e 100644 --- a/test/integration/deb/inspec.yml +++ b/test/integration/deb/inspec.yml @@ -22,4 +22,6 @@ supports: - platform-name: oracle - platform-name: arch - platform-name: gentoo + - platform-name: almalinux + - platform-name: rocky - platform: windows diff --git a/test/integration/git/inspec.yml b/test/integration/git/inspec.yml index f8b7d8b..1d337c6 100644 --- a/test/integration/git/inspec.yml +++ b/test/integration/git/inspec.yml @@ -23,4 +23,6 @@ supports: - platform-name: oracle - platform-name: arch - platform-name: gentoo + - platform-name: almalinux + - platform-name: rocky - platform: windows diff --git a/test/integration/rpm/inspec.yml b/test/integration/rpm/inspec.yml index 59f955e..f8db693 100644 --- a/test/integration/rpm/inspec.yml +++ b/test/integration/rpm/inspec.yml @@ -23,4 +23,6 @@ supports: - platform-name: oracle - platform-name: arch - platform-name: gentoo + - platform-name: almalinux + - platform-name: rocky - platform: windows diff --git a/test/integration/share/inspec.yml b/test/integration/share/inspec.yml index cf623a1..ee20080 100644 --- a/test/integration/share/inspec.yml +++ b/test/integration/share/inspec.yml @@ -19,4 +19,6 @@ supports: - platform-name: oracle - platform-name: arch - platform-name: gentoo + - platform-name: almalinux + - platform-name: rocky - platform: windows diff --git a/test/integration/share/libraries/system.rb b/test/integration/share/libraries/system.rb index 461dea4..87daf08 100644 --- a/test/integration/share/libraries/system.rb +++ b/test/integration/share/libraries/system.rb @@ -36,7 +36,7 @@ def build_platform_family def build_platform_name case inspec.platform[:name] - when 'amazon', 'oracle' + when 'amazon', 'oracle', 'rocky' "#{inspec.platform[:name]}linux" when /^windows_/ inspec.platform[:family]