From 5812d3913a2b401b760cdc0a77655a4f3a6e8ce8 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 2 Jul 2021 00:06:09 +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 | 51 +++-- .pre-commit-config.yaml | 11 ++ .travis.yml | 51 +++-- Gemfile.lock | 2 +- kitchen.yml | 219 ++++++++++++++------- test/integration/default/inspec.yml | 2 + test/integration/share/inspec.yml | 2 + test/integration/share/libraries/system.rb | 2 +- 8 files changed, 225 insertions(+), 115 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d8d8a8..e9c0fc4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -132,6 +132,8 @@ rubocop: # amazon-amazonlinux-2-tiamat-py3: {extends: '.test_instance'} # redhat8-oraclelinux-8-tiamat-py3: {extends: '.test_instance'} # centos-oraclelinux-7-tiamat-py3: {extends: '.test_instance'} +# redhat8-almalinux-8-tiamat-py3: {extends: '.test_instance'} +# redhat8-rockylinux-8-tiamat-py3: {extends: '.test_instance'} debian-debian-10-master-py3: {extends: '.test_instance'} debian-debian-9-master-py3: {extends: '.test_instance'} # ubuntu-ubuntu-2004-master-py3: {extends: '.test_instance'} @@ -140,6 +142,7 @@ redhat8-centos-8-master-py3: {extends: '.test_instance'} centos-centos-7-master-py3: {extends: '.test_instance'} # fedora-fedora-34-master-py3: {extends: '.test_instance'} # fedora-fedora-33-master-py3: {extends: '.test_instance'} +suse-opensuse-leap-153-master-py3: {extends: '.test_instance'} suse-opensuse-leap-152-master-py3: {extends: '.test_instance'} suse-opensuse-tmbl-latest-master-py3: {extends: '.test_instance'} amazon-amazonlinux-2-master-py3: {extends: '.test_instance'} @@ -148,20 +151,25 @@ centos-oraclelinux-7-master-py3: {extends: '.test_instance'} arch-arch-base-latest-master-py3: {extends: '.test_instance'} gentoo-gentoo-stage3-latest-master-py3: {extends: '.test_instance'} gentoo-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'} -# debian-debian-10-3003-0-py3: {extends: '.test_instance'} -# debian-debian-9-3003-0-py3: {extends: '.test_instance'} -# ubuntu-ubuntu-2004-3003-0-py3: {extends: '.test_instance'} -# ubuntu-ubuntu-1804-3003-0-py3: {extends: '.test_instance'} -# redhat8-centos-8-3003-0-py3: {extends: '.test_instance'} -# centos-centos-7-3003-0-py3: {extends: '.test_instance'} -# fedora-fedora-34-3003-0-py3: {extends: '.test_instance'} -# fedora-fedora-33-3003-0-py3: {extends: '.test_instance'} -# amazon-amazonlinux-2-3003-0-py3: {extends: '.test_instance'} -# redhat8-oraclelinux-8-3003-0-py3: {extends: '.test_instance'} -# centos-oraclelinux-7-3003-0-py3: {extends: '.test_instance'} -# arch-arch-base-latest-3003-0-py3: {extends: '.test_instance'} -# gentoo-gentoo-stage3-latest-3003-0-py3: {extends: '.test_instance'} -# gentoo-gentoo-stage3-systemd-3003-0-py3: {extends: '.test_instance'} +redhat8-almalinux-8-master-py3: {extends: '.test_instance'} +redhat8-rockylinux-8-master-py3: {extends: '.test_instance'} +# debian-debian-10-3003-1-py3: {extends: '.test_instance'} +# debian-debian-9-3003-1-py3: {extends: '.test_instance'} +# ubuntu-ubuntu-2004-3003-1-py3: {extends: '.test_instance'} +# ubuntu-ubuntu-1804-3003-1-py3: {extends: '.test_instance'} +# redhat8-centos-8-3003-1-py3: {extends: '.test_instance'} +# centos-centos-7-3003-1-py3: {extends: '.test_instance'} +# fedora-fedora-34-3003-1-py3: {extends: '.test_instance'} +# fedora-fedora-33-3003-1-py3: {extends: '.test_instance'} +# suse-opensuse-leap-153-3003-1-py3: {extends: '.test_instance'} +# suse-opensuse-leap-152-3003-1-py3: {extends: '.test_instance'} +# suse-opensuse-tmbl-latest-3003-1-py3: {extends: '.test_instance'} +# amazon-amazonlinux-2-3003-1-py3: {extends: '.test_instance'} +# redhat8-oraclelinux-8-3003-1-py3: {extends: '.test_instance'} +# centos-oraclelinux-7-3003-1-py3: {extends: '.test_instance'} +# arch-arch-base-latest-3003-1-py3: {extends: '.test_instance'} +# gentoo-gentoo-stage3-latest-3003-1-py3: {extends: '.test_instance'} +# gentoo-gentoo-stage3-systemd-3003-1-py3: {extends: '.test_instance'} # debian-debian-10-3002-6-py3: {extends: '.test_instance'} # debian-debian-9-3002-6-py3: {extends: '.test_instance'} # ubuntu-ubuntu-2004-3002-6-py3: {extends: '.test_instance'} @@ -174,8 +182,9 @@ gentoo-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'} # redhat8-oraclelinux-8-3002-6-py3: {extends: '.test_instance'} # centos-oraclelinux-7-3002-6-py3: {extends: '.test_instance'} # arch-arch-base-latest-3002-6-py3: {extends: '.test_instance'} -# gentoo-gentoo-stage3-latest-3002-5-py3: {extends: '.test_instance'} -# gentoo-gentoo-stage3-systemd-3002-5-py3: {extends: '.test_instance'} +# gentoo-gentoo-stage3-latest-3002-6-py3: {extends: '.test_instance'} +# gentoo-gentoo-stage3-systemd-3002-6-py3: {extends: '.test_instance'} +# suse-opensuse-leap-153-3002-2-py3: {extends: '.test_instance'} # suse-opensuse-leap-152-3002-2-py3: {extends: '.test_instance'} # suse-opensuse-tmbl-latest-3002-2-py3: {extends: '.test_instance'} # debian-debian-10-3001-7-py3: {extends: '.test_instance'} @@ -186,27 +195,29 @@ gentoo-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'} # centos-centos-7-3001-7-py3: {extends: '.test_instance'} # fedora-fedora-34-3001-7-py3: {extends: '.test_instance'} # fedora-fedora-33-3001-7-py3: {extends: '.test_instance'} +# suse-opensuse-leap-153-3001-7-py3: {extends: '.test_instance'} # suse-opensuse-leap-152-3001-7-py3: {extends: '.test_instance'} # suse-opensuse-tmbl-latest-3001-7-py3: {extends: '.test_instance'} # amazon-amazonlinux-2-3001-7-py3: {extends: '.test_instance'} # redhat8-oraclelinux-8-3001-7-py3: {extends: '.test_instance'} # centos-oraclelinux-7-3001-7-py3: {extends: '.test_instance'} # arch-arch-base-latest-3001-7-py3: {extends: '.test_instance'} -# gentoo-gentoo-stage3-latest-3001-6-py3: {extends: '.test_instance'} -# gentoo-gentoo-stage3-systemd-3001-6-py3: {extends: '.test_instance'} +# gentoo-gentoo-stage3-latest-3001-7-py3: {extends: '.test_instance'} +# gentoo-gentoo-stage3-systemd-3001-7-py3: {extends: '.test_instance'} # debian-debian-10-3000-9-py3: {extends: '.test_instance'} # debian-debian-9-3000-9-py3: {extends: '.test_instance'} # ubuntu-ubuntu-1804-3000-9-py3: {extends: '.test_instance'} # redhat8-centos-8-3000-9-py3: {extends: '.test_instance'} # centos-centos-7-3000-9-py3: {extends: '.test_instance'} +# suse-opensuse-leap-153-3000-9-py3: {extends: '.test_instance'} # suse-opensuse-leap-152-3000-9-py3: {extends: '.test_instance'} # amazon-amazonlinux-2-3000-9-py3: {extends: '.test_instance'} # redhat8-oraclelinux-8-3000-9-py3: {extends: '.test_instance'} # centos-oraclelinux-7-3000-9-py3: {extends: '.test_instance'} +# gentoo-gentoo-stage3-latest-3000-9-py3: {extends: '.test_instance'} +# gentoo-gentoo-stage3-systemd-3000-9-py3: {extends: '.test_instance'} # ubuntu-ubuntu-1804-3000-9-py2: {extends: '.test_instance'} # arch-arch-base-latest-3000-9-py2: {extends: '.test_instance'} -# gentoo-gentoo-stage3-latest-3000-8-py3: {extends: '.test_instance'} -# gentoo-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 46a60ae..58ccce5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -92,6 +92,8 @@ jobs: # - env: INSTANCE=amazon-amazonlinux-2-tiamat-py3 # - env: INSTANCE=redhat8-oraclelinux-8-tiamat-py3 # - env: INSTANCE=centos-oraclelinux-7-tiamat-py3 + # - env: INSTANCE=redhat8-almalinux-8-tiamat-py3 + # - env: INSTANCE=redhat8-rockylinux-8-tiamat-py3 - env: INSTANCE=debian-debian-10-master-py3 - env: INSTANCE=debian-debian-9-master-py3 # - env: INSTANCE=ubuntu-ubuntu-2004-master-py3 @@ -100,6 +102,7 @@ jobs: - env: INSTANCE=centos-centos-7-master-py3 # - env: INSTANCE=fedora-fedora-34-master-py3 # - env: INSTANCE=fedora-fedora-33-master-py3 + - env: INSTANCE=suse-opensuse-leap-153-master-py3 - env: INSTANCE=suse-opensuse-leap-152-master-py3 - env: INSTANCE=suse-opensuse-tmbl-latest-master-py3 - env: INSTANCE=amazon-amazonlinux-2-master-py3 @@ -108,20 +111,25 @@ jobs: - env: INSTANCE=arch-arch-base-latest-master-py3 - env: INSTANCE=gentoo-gentoo-stage3-latest-master-py3 - env: INSTANCE=gentoo-gentoo-stage3-systemd-master-py3 - # - env: INSTANCE=debian-debian-10-3003-0-py3 - # - env: INSTANCE=debian-debian-9-3003-0-py3 - # - env: INSTANCE=ubuntu-ubuntu-2004-3003-0-py3 - # - env: INSTANCE=ubuntu-ubuntu-1804-3003-0-py3 - # - env: INSTANCE=redhat8-centos-8-3003-0-py3 - # - env: INSTANCE=centos-centos-7-3003-0-py3 - # - env: INSTANCE=fedora-fedora-34-3003-0-py3 - # - env: INSTANCE=fedora-fedora-33-3003-0-py3 - # - env: INSTANCE=amazon-amazonlinux-2-3003-0-py3 - # - env: INSTANCE=redhat8-oraclelinux-8-3003-0-py3 - # - env: INSTANCE=centos-oraclelinux-7-3003-0-py3 - # - env: INSTANCE=arch-arch-base-latest-3003-0-py3 - # - env: INSTANCE=gentoo-gentoo-stage3-latest-3003-0-py3 - # - env: INSTANCE=gentoo-gentoo-stage3-systemd-3003-0-py3 + - env: INSTANCE=redhat8-almalinux-8-master-py3 + - env: INSTANCE=redhat8-rockylinux-8-master-py3 + # - env: INSTANCE=debian-debian-10-3003-1-py3 + # - env: INSTANCE=debian-debian-9-3003-1-py3 + # - env: INSTANCE=ubuntu-ubuntu-2004-3003-1-py3 + # - env: INSTANCE=ubuntu-ubuntu-1804-3003-1-py3 + # - env: INSTANCE=redhat8-centos-8-3003-1-py3 + # - env: INSTANCE=centos-centos-7-3003-1-py3 + # - env: INSTANCE=fedora-fedora-34-3003-1-py3 + # - env: INSTANCE=fedora-fedora-33-3003-1-py3 + # - env: INSTANCE=suse-opensuse-leap-153-3003-1-py3 + # - env: INSTANCE=suse-opensuse-leap-152-3003-1-py3 + # - env: INSTANCE=suse-opensuse-tmbl-latest-3003-1-py3 + # - env: INSTANCE=amazon-amazonlinux-2-3003-1-py3 + # - env: INSTANCE=redhat8-oraclelinux-8-3003-1-py3 + # - env: INSTANCE=centos-oraclelinux-7-3003-1-py3 + # - env: INSTANCE=arch-arch-base-latest-3003-1-py3 + # - env: INSTANCE=gentoo-gentoo-stage3-latest-3003-1-py3 + # - env: INSTANCE=gentoo-gentoo-stage3-systemd-3003-1-py3 # - env: INSTANCE=debian-debian-10-3002-6-py3 # - env: INSTANCE=debian-debian-9-3002-6-py3 # - env: INSTANCE=ubuntu-ubuntu-2004-3002-6-py3 @@ -134,8 +142,9 @@ jobs: # - env: INSTANCE=redhat8-oraclelinux-8-3002-6-py3 # - env: INSTANCE=centos-oraclelinux-7-3002-6-py3 # - env: INSTANCE=arch-arch-base-latest-3002-6-py3 - # - env: INSTANCE=gentoo-gentoo-stage3-latest-3002-5-py3 - # - env: INSTANCE=gentoo-gentoo-stage3-systemd-3002-5-py3 + # - env: INSTANCE=gentoo-gentoo-stage3-latest-3002-6-py3 + # - env: INSTANCE=gentoo-gentoo-stage3-systemd-3002-6-py3 + # - env: INSTANCE=suse-opensuse-leap-153-3002-2-py3 # - env: INSTANCE=suse-opensuse-leap-152-3002-2-py3 # - env: INSTANCE=suse-opensuse-tmbl-latest-3002-2-py3 # - env: INSTANCE=debian-debian-10-3001-7-py3 @@ -146,27 +155,29 @@ jobs: # - env: INSTANCE=centos-centos-7-3001-7-py3 # - env: INSTANCE=fedora-fedora-34-3001-7-py3 # - env: INSTANCE=fedora-fedora-33-3001-7-py3 + # - env: INSTANCE=suse-opensuse-leap-153-3001-7-py3 # - env: INSTANCE=suse-opensuse-leap-152-3001-7-py3 # - env: INSTANCE=suse-opensuse-tmbl-latest-3001-7-py3 # - env: INSTANCE=amazon-amazonlinux-2-3001-7-py3 # - env: INSTANCE=redhat8-oraclelinux-8-3001-7-py3 # - env: INSTANCE=centos-oraclelinux-7-3001-7-py3 # - env: INSTANCE=arch-arch-base-latest-3001-7-py3 - # - env: INSTANCE=gentoo-gentoo-stage3-latest-3001-6-py3 - # - env: INSTANCE=gentoo-gentoo-stage3-systemd-3001-6-py3 + # - env: INSTANCE=gentoo-gentoo-stage3-latest-3001-7-py3 + # - env: INSTANCE=gentoo-gentoo-stage3-systemd-3001-7-py3 # - env: INSTANCE=debian-debian-10-3000-9-py3 # - env: INSTANCE=debian-debian-9-3000-9-py3 # - env: INSTANCE=ubuntu-ubuntu-1804-3000-9-py3 # - env: INSTANCE=redhat8-centos-8-3000-9-py3 # - env: INSTANCE=centos-centos-7-3000-9-py3 + # - env: INSTANCE=suse-opensuse-leap-153-3000-9-py3 # - env: INSTANCE=suse-opensuse-leap-152-3000-9-py3 # - env: INSTANCE=amazon-amazonlinux-2-3000-9-py3 # - env: INSTANCE=redhat8-oraclelinux-8-3000-9-py3 # - env: INSTANCE=centos-oraclelinux-7-3000-9-py3 + # - env: INSTANCE=gentoo-gentoo-stage3-latest-3000-9-py3 + # - env: INSTANCE=gentoo-gentoo-stage3-systemd-3000-9-py3 # - env: INSTANCE=ubuntu-ubuntu-1804-3000-9-py2 # - env: INSTANCE=arch-arch-base-latest-3000-9-py2 - # - env: INSTANCE=gentoo-gentoo-stage3-latest-3000-8-py3 - # - env: INSTANCE=gentoo-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 ef26d96..e2f62f3 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 2de1db3..21650d6 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -45,6 +45,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 @@ -79,6 +85,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 @@ -115,60 +129,90 @@ 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.0-py3:debian-10 + image: saltimages/salt-3003.1-py3:debian-10 provision_command: - apt-get update - apt-get install --reinstall -y udev - apt-get install -y snapd - - name: debian-9-3003-0-py3 + - name: debian-9-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:debian-9 + image: saltimages/salt-3003.1-py3:debian-9 provision_command: - apt-get update - apt-get install --reinstall -y udev - apt-get install -y snapd - - name: ubuntu-2004-3003-0-py3 + - name: ubuntu-2004-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-20.04 + - name: ubuntu-1804-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:ubuntu-18.04 + - name: centos-8-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-8 + - name: centos-7-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:centos-7 - - name: fedora-34-3003-0-py3 + image: saltimages/salt-3003.1-py3:centos-7 + - name: fedora-34-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-34 + - name: fedora-33-3003-1-py3 driver: - image: saltimages/salt-3003.0-py3:fedora-33 - - name: amazonlinux-2-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:amazonlinux-2 - - name: oraclelinux-8-3003-0-py3 - driver: - image: saltimages/salt-3003.0-py3:oraclelinux-8 - - name: oraclelinux-7-3003-0-py3 - driver: - image: saltimages/salt-3003.0-py3:oraclelinux-7 - - name: arch-base-latest-3003-0-py3 - driver: - image: saltimages/salt-3003.0-py3:arch-base-latest + image: saltimages/salt-3003.1-py3:opensuse-leap-15.3 run_command: /usr/lib/systemd/systemd - - name: gentoo-stage3-latest-3003-0-py3 + # 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.0-py3:gentoo-stage3-latest + 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.1-py3:amazonlinux-2 + - name: oraclelinux-8-3003-1-py3 + driver: + image: saltimages/salt-3003.1-py3:oraclelinux-8 + - name: oraclelinux-7-3003-1-py3 + driver: + image: saltimages/salt-3003.1-py3:oraclelinux-7 + - name: arch-base-latest-3003-1-py3 + driver: + image: saltimages/salt-3003.1-py3:arch-base-latest + run_command: /usr/lib/systemd/systemd + - name: gentoo-stage3-latest-3003-1-py3 + driver: + 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 @@ -216,17 +260,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 @@ -277,6 +327,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 @@ -306,15 +364,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 @@ -340,6 +396,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 @@ -357,6 +421,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 @@ -365,15 +436,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 @@ -399,8 +461,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 @@ -434,8 +496,8 @@ suites: - ubuntu-1804-tiamat-py3 - ubuntu-2004-master-py3 - ubuntu-1804-master-py3 - - ubuntu-2004-3003-0-py3 - - ubuntu-1804-3003-0-py3 + - ubuntu-2004-3003-1-py3 + - ubuntu-1804-3003-1-py3 - ubuntu-2004-3002-6-py3 - ubuntu-1804-3002-6-py3 - ubuntu-2004-3001-7-py3 @@ -467,8 +529,8 @@ suites: includes: - fedora-34-master-py3 - fedora-33-master-py3 - - fedora-34-3003-0-py3 - - fedora-33-3003-0-py3 + - fedora-34-3003-1-py3 + - fedora-33-3003-1-py3 - fedora-34-3002-6-py3 - fedora-33-3002-6-py3 - fedora-34-3001-7-py3 @@ -493,10 +555,14 @@ suites: includes: - centos-8-tiamat-py3 - oraclelinux-8-tiamat-py3 + - almalinux-8-tiamat-py3 + - rockylinux-8-tiamat-py3 - centos-8-master-py3 - oraclelinux-8-master-py3 - - centos-8-3003-0-py3 - - oraclelinux-8-3003-0-py3 + - almalinux-8-master-py3 + - rockylinux-8-master-py3 + - centos-8-3003-1-py3 + - oraclelinux-8-3003-1-py3 - centos-8-3002-6-py3 - oraclelinux-8-3002-6-py3 - centos-8-3001-7-py3 @@ -530,8 +596,8 @@ suites: - oraclelinux-7-tiamat-py3 - centos-7-master-py3 - oraclelinux-7-master-py3 - - centos-7-3003-0-py3 - - oraclelinux-7-3003-0-py3 + - centos-7-3003-1-py3 + - oraclelinux-7-3003-1-py3 - centos-7-3002-6-py3 - oraclelinux-7-3002-6-py3 - centos-7-3001-7-py3 @@ -563,7 +629,7 @@ suites: includes: - amazonlinux-2-tiamat-py3 - amazonlinux-2-master-py3 - - amazonlinux-2-3003-0-py3 + - amazonlinux-2-3003-1-py3 - amazonlinux-2-3002-6-py3 - amazonlinux-2-3001-7-py3 - amazonlinux-2-3000-9-py3 @@ -590,12 +656,19 @@ suites: - path: test/integration/default - name: suse includes: + - opensuse-leap-153-master-py3 - opensuse-leap-152-master-py3 - opensuse-tmbl-latest-master-py3 + - opensuse-leap-153-3003-1-py3 + - opensuse-leap-152-3003-1-py3 + - opensuse-tmbl-latest-3003-1-py3 + - opensuse-leap-153-3002-2-py3 - opensuse-leap-152-3002-2-py3 - opensuse-tmbl-latest-3002-2-py3 + - opensuse-leap-153-3001-7-py3 - opensuse-leap-152-3001-7-py3 - opensuse-tmbl-latest-3001-7-py3 + - opensuse-leap-153-3000-9-py3 - opensuse-leap-152-3000-9-py3 provisioner: state_top: @@ -616,7 +689,7 @@ suites: - name: arch includes: - arch-base-latest-master-py3 - - arch-base-latest-3003-0-py3 + - arch-base-latest-3003-1-py3 - arch-base-latest-3002-6-py3 - arch-base-latest-3001-7-py3 - arch-base-latest-3000-9-py2 @@ -640,14 +713,14 @@ suites: includes: - gentoo-stage3-latest-master-py3 - gentoo-stage3-systemd-master-py3 - - gentoo-stage3-latest-3003-0-py3 - - gentoo-stage3-systemd-3003-0-py3 - - gentoo-stage3-latest-3002-5-py3 - - gentoo-stage3-systemd-3002-5-py3 - - gentoo-stage3-latest-3001-6-py3 - - gentoo-stage3-systemd-3001-6-py3 - - gentoo-stage3-latest-3000-8-py3 - - gentoo-stage3-systemd-3000-8-py3 + - gentoo-stage3-latest-3003-1-py3 + - gentoo-stage3-systemd-3003-1-py3 + - gentoo-stage3-latest-3002-6-py3 + - gentoo-stage3-systemd-3002-6-py3 + - gentoo-stage3-latest-3001-7-py3 + - gentoo-stage3-systemd-3001-7-py3 + - gentoo-stage3-latest-3000-9-py3 + - gentoo-stage3-systemd-3000-9-py3 provisioner: state_top: base: diff --git a/test/integration/default/inspec.yml b/test/integration/default/inspec.yml index 04a4d00..228e837 100644 --- a/test/integration/default/inspec.yml +++ b/test/integration/default/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/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 @@ class SystemResource < Inspec.resource(1) def build_platform_name case inspec.platform[:name] - when 'amazon', 'oracle' + when 'amazon', 'oracle', 'rocky' "#{inspec.platform[:name]}linux" when /^windows_/ inspec.platform[:family]