Skip to content

Commit

Permalink
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
Browse files Browse the repository at this point in the history
* Automated using myii/ssf-formula#293
  • Loading branch information
myii committed Feb 27, 2021
1 parent afe8620 commit f1c7151
Show file tree
Hide file tree
Showing 4 changed files with 371 additions and 133 deletions.
102 changes: 74 additions & 28 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,35 +123,81 @@ rubocop:
## Define the rest of the matrix based on Kitchen testing
# Make sure the instances listed below match up with
# the `platforms` defined in `kitchen.yml`
# default-debian-10-tiamat-py3: {extends: '.test_instance'}
# default-debian-9-tiamat-py3: {extends: '.test_instance'}
# default-ubuntu-2004-tiamat-py3: {extends: '.test_instance'}
# default-ubuntu-1804-tiamat-py3: {extends: '.test_instance'}
# default-ubuntu-1604-tiamat-py3: {extends: '.test_instance'}
# default-centos-8-tiamat-py3: {extends: '.test_instance'}
# default-centos-7-tiamat-py3: {extends: '.test_instance'}
# default-amazonlinux-2-tiamat-py3: {extends: '.test_instance'}
# default-oraclelinux-8-tiamat-py3: {extends: '.test_instance'}
# default-oraclelinux-7-tiamat-py3: {extends: '.test_instance'}
default-debian-10-master-py3: {extends: '.test_instance'}
# default-ubuntu-1804-master-py3: {extends: '.test_instance'}
# default-centos-8-master-py3: {extends: '.test_instance'}
# default-fedora-31-master-py3: {extends: '.test_instance'}
# default-opensuse-leap-151-master-py3: {extends: '.test_instance'}
# default-amazonlinux-2-master-py3: {extends: '.test_instance'}
# default-debian-10-2019-2-py3: {extends: '.test_instance'}
# default-debian-9-2019-2-py3: {extends: '.test_instance'}
default-ubuntu-1804-2019-2-py3: {extends: '.test_instance'}
# default-centos-8-2019-2-py3: {extends: '.test_instance'}
# default-fedora-31-2019-2-py3: {extends: '.test_instance'}
default-opensuse-leap-151-2019-2-py3: {extends: '.test_instance'}
# default-centos-7-2019-2-py2: {extends: '.test_instance'}
default-amazonlinux-2-2019-2-py3: {extends: '.test_instance'}
# default-arch-base-latest-2019-2-py2: {extends: '.test_instance'}
default-fedora-30-2018-3-py3: {extends: '.test_instance'}
# default-debian-9-2018-3-py2: {extends: '.test_instance'}
# default-ubuntu-1604-2018-3-py2: {extends: '.test_instance'}
# default-centos-7-2018-3-py2: {extends: '.test_instance'}
# default-opensuse-leap-151-2018-3-py2: {extends: '.test_instance'}
# default-amazonlinux-1-2018-3-py2: {extends: '.test_instance'}
default-arch-base-latest-2018-3-py2: {extends: '.test_instance'}
# default-debian-8-2017-7-py2: {extends: '.test_instance'}
# default-ubuntu-1604-2017-7-py2: {extends: '.test_instance'}
# default-centos-6-2017-7-py2: {extends: '.test_instance'}
# default-fedora-30-2017-7-py2: {extends: '.test_instance'}
# default-opensuse-leap-151-2017-7-py2: {extends: '.test_instance'}
# default-amazonlinux-1-2017-7-py2: {extends: '.test_instance'}
# default-arch-base-latest-2017-7-py2: {extends: '.test_instance'}
default-debian-9-master-py3: {extends: '.test_instance'}
default-ubuntu-2004-master-py3: {extends: '.test_instance'}
default-ubuntu-1804-master-py3: {extends: '.test_instance'}
default-ubuntu-1604-master-py3: {extends: '.test_instance'}
default-centos-8-master-py3: {extends: '.test_instance'}
default-centos-7-master-py3: {extends: '.test_instance'}
default-fedora-33-master-py3: {extends: '.test_instance'}
default-fedora-32-master-py3: {extends: '.test_instance'}
default-opensuse-leap-152-master-py3: {extends: '.test_instance'}
default-opensuse-tmbl-latest-master-py3: {extends: '.test_instance'}
default-amazonlinux-2-master-py3: {extends: '.test_instance'}
default-oraclelinux-8-master-py3: {extends: '.test_instance'}
default-oraclelinux-7-master-py3: {extends: '.test_instance'}
default-gentoo-stage3-latest-master-py3: {extends: '.test_instance'}
default-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'}
# default-debian-10-3002-2-py3: {extends: '.test_instance'}
# default-debian-9-3002-2-py3: {extends: '.test_instance'}
# default-ubuntu-2004-3002-2-py3: {extends: '.test_instance'}
# default-ubuntu-1804-3002-2-py3: {extends: '.test_instance'}
# default-ubuntu-1604-3002-2-py3: {extends: '.test_instance'}
# default-centos-8-3002-2-py3: {extends: '.test_instance'}
# default-centos-7-3002-2-py3: {extends: '.test_instance'}
# default-fedora-33-3002-2-py3: {extends: '.test_instance'}
# default-fedora-32-3002-2-py3: {extends: '.test_instance'}
# default-opensuse-leap-152-3002-2-py3: {extends: '.test_instance'}
# default-opensuse-tmbl-latest-3002-2-py3: {extends: '.test_instance'}
# default-amazonlinux-2-3002-2-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3002-2-py3: {extends: '.test_instance'}
# default-oraclelinux-7-3002-2-py3: {extends: '.test_instance'}
default-arch-base-latest-3002-2-py3: {extends: '.test_instance'}
# default-gentoo-stage3-latest-3002-2-py3: {extends: '.test_instance'}
# default-gentoo-stage3-systemd-3002-2-py3: {extends: '.test_instance'}
# default-debian-10-3001-4-py3: {extends: '.test_instance'}
# default-debian-9-3001-4-py3: {extends: '.test_instance'}
# default-ubuntu-2004-3001-4-py3: {extends: '.test_instance'}
# default-ubuntu-1804-3001-4-py3: {extends: '.test_instance'}
# default-ubuntu-1604-3001-4-py3: {extends: '.test_instance'}
# default-centos-8-3001-4-py3: {extends: '.test_instance'}
# default-centos-7-3001-4-py3: {extends: '.test_instance'}
# default-fedora-33-3001-4-py3: {extends: '.test_instance'}
# default-fedora-32-3001-4-py3: {extends: '.test_instance'}
# default-opensuse-leap-152-3001-4-py3: {extends: '.test_instance'}
# default-opensuse-tmbl-latest-3001-4-py3: {extends: '.test_instance'}
# default-amazonlinux-2-3001-4-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3001-4-py3: {extends: '.test_instance'}
# default-oraclelinux-7-3001-4-py3: {extends: '.test_instance'}
# default-arch-base-latest-3001-4-py3: {extends: '.test_instance'}
# default-gentoo-stage3-latest-3001-4-py3: {extends: '.test_instance'}
# default-gentoo-stage3-systemd-3001-4-py3: {extends: '.test_instance'}
# default-debian-10-3000-6-py3: {extends: '.test_instance'}
# default-debian-9-3000-6-py3: {extends: '.test_instance'}
# default-ubuntu-1804-3000-6-py3: {extends: '.test_instance'}
# default-ubuntu-1604-3000-6-py3: {extends: '.test_instance'}
# default-centos-8-3000-6-py3: {extends: '.test_instance'}
# default-centos-7-3000-6-py3: {extends: '.test_instance'}
# default-opensuse-leap-152-3000-6-py3: {extends: '.test_instance'}
# default-amazonlinux-2-3000-6-py3: {extends: '.test_instance'}
# default-oraclelinux-8-3000-6-py3: {extends: '.test_instance'}
# default-oraclelinux-7-3000-6-py3: {extends: '.test_instance'}
# default-gentoo-stage3-latest-3000-6-py3: {extends: '.test_instance'}
# default-gentoo-stage3-systemd-3000-6-py3: {extends: '.test_instance'}
# default-ubuntu-1804-3000-6-py2: {extends: '.test_instance'}
# default-ubuntu-1604-3000-6-py2: {extends: '.test_instance'}
# default-arch-base-latest-3000-6-py2: {extends: '.test_instance'}

###############################################################################
# `release` stage: `semantic-release`
Expand Down
123 changes: 79 additions & 44 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,14 @@ stages:
# - name: 'release'
# if: 'branch = master AND type != pull_request'
jobs:
allow_failures:
- env: Lint_rubocop
fast_finish: true
include:
## Define the test stage that runs the linters (and testing matrix, if applicable)

# Run all of the linters in a single job (except `rubocop`)
# Run all of the linters in a single job
- language: 'node_js'
node_js: 'lts/*'
env: 'Lint'
name: 'Lint: salt-lint, yamllint, shellcheck & commitlint'
name: 'Lint: salt-lint, yamllint, rubocop, shellcheck & commitlint'
before_install: 'skip'
script:
# Install and run `salt-lint`
Expand All @@ -57,6 +54,9 @@ jobs:
# Need at least `v1.17.0` for the `yaml-files` setting
- pip install --user yamllint>=1.17.0
- yamllint -s .
# Install and run `rubocop`
- gem install rubocop
- rubocop -d
# Run `shellcheck` (already pre-installed in Travis)
- shellcheck --version
- git ls-files -- '*.sh' '*.bash' '*.ksh'
Expand All @@ -65,17 +65,6 @@ jobs:
- npm i -D @commitlint/config-conventional
@commitlint/travis-cli
- commitlint-travis
# Run the `rubocop` linter in a separate job that is allowed to fail
# Once these lint errors are fixed, this can be merged into a single job
- language: node_js
node_js: lts/*
env: Lint_rubocop
name: 'Lint: rubocop'
before_install: skip
script:
# Install and run `rubocop`
- gem install rubocop
- rubocop -d

# Run `pre-commit` linters in a single job
- language: 'python'
Expand All @@ -94,35 +83,81 @@ jobs:
## Define the rest of the matrix based on Kitchen testing
# Make sure the instances listed below match up with
# the `platforms` defined in `kitchen.yml`
# - env: INSTANCE=default-debian-10-tiamat-py3
# - env: INSTANCE=default-debian-9-tiamat-py3
# - env: INSTANCE=default-ubuntu-2004-tiamat-py3
# - env: INSTANCE=default-ubuntu-1804-tiamat-py3
# - env: INSTANCE=default-ubuntu-1604-tiamat-py3
# - env: INSTANCE=default-centos-8-tiamat-py3
# - env: INSTANCE=default-centos-7-tiamat-py3
# - env: INSTANCE=default-amazonlinux-2-tiamat-py3
# - env: INSTANCE=default-oraclelinux-8-tiamat-py3
# - env: INSTANCE=default-oraclelinux-7-tiamat-py3
- env: INSTANCE=default-debian-10-master-py3
# - env: INSTANCE=default-ubuntu-1804-master-py3
# - env: INSTANCE=default-centos-8-master-py3
# - env: INSTANCE=default-fedora-31-master-py3
# - env: INSTANCE=default-opensuse-leap-151-master-py3
# - env: INSTANCE=default-amazonlinux-2-master-py3
# - env: INSTANCE=default-debian-10-2019-2-py3
# - env: INSTANCE=default-debian-9-2019-2-py3
- env: INSTANCE=default-ubuntu-1804-2019-2-py3
# - env: INSTANCE=default-centos-8-2019-2-py3
# - env: INSTANCE=default-fedora-31-2019-2-py3
- env: INSTANCE=default-opensuse-leap-151-2019-2-py3
# - env: INSTANCE=default-centos-7-2019-2-py2
- env: INSTANCE=default-amazonlinux-2-2019-2-py3
# - env: INSTANCE=default-arch-base-latest-2019-2-py2
- env: INSTANCE=default-fedora-30-2018-3-py3
# - env: INSTANCE=default-debian-9-2018-3-py2
# - env: INSTANCE=default-ubuntu-1604-2018-3-py2
# - env: INSTANCE=default-centos-7-2018-3-py2
# - env: INSTANCE=default-opensuse-leap-151-2018-3-py2
# - env: INSTANCE=default-amazonlinux-1-2018-3-py2
- env: INSTANCE=default-arch-base-latest-2018-3-py2
# - env: INSTANCE=default-debian-8-2017-7-py2
# - env: INSTANCE=default-ubuntu-1604-2017-7-py2
# - env: INSTANCE=default-centos-6-2017-7-py2
# - env: INSTANCE=default-fedora-30-2017-7-py2
# - env: INSTANCE=default-opensuse-leap-151-2017-7-py2
# - env: INSTANCE=default-amazonlinux-1-2017-7-py2
# - env: INSTANCE=default-arch-base-latest-2017-7-py2
- env: INSTANCE=default-debian-9-master-py3
- env: INSTANCE=default-ubuntu-2004-master-py3
- env: INSTANCE=default-ubuntu-1804-master-py3
- env: INSTANCE=default-ubuntu-1604-master-py3
- env: INSTANCE=default-centos-8-master-py3
- env: INSTANCE=default-centos-7-master-py3
- env: INSTANCE=default-fedora-33-master-py3
- env: INSTANCE=default-fedora-32-master-py3
- env: INSTANCE=default-opensuse-leap-152-master-py3
- env: INSTANCE=default-opensuse-tmbl-latest-master-py3
- env: INSTANCE=default-amazonlinux-2-master-py3
- env: INSTANCE=default-oraclelinux-8-master-py3
- env: INSTANCE=default-oraclelinux-7-master-py3
- env: INSTANCE=default-gentoo-stage3-latest-master-py3
- env: INSTANCE=default-gentoo-stage3-systemd-master-py3
# - env: INSTANCE=default-debian-10-3002-2-py3
# - env: INSTANCE=default-debian-9-3002-2-py3
# - env: INSTANCE=default-ubuntu-2004-3002-2-py3
# - env: INSTANCE=default-ubuntu-1804-3002-2-py3
# - env: INSTANCE=default-ubuntu-1604-3002-2-py3
# - env: INSTANCE=default-centos-8-3002-2-py3
# - env: INSTANCE=default-centos-7-3002-2-py3
# - env: INSTANCE=default-fedora-33-3002-2-py3
# - env: INSTANCE=default-fedora-32-3002-2-py3
# - env: INSTANCE=default-opensuse-leap-152-3002-2-py3
# - env: INSTANCE=default-opensuse-tmbl-latest-3002-2-py3
# - env: INSTANCE=default-amazonlinux-2-3002-2-py3
# - env: INSTANCE=default-oraclelinux-8-3002-2-py3
# - env: INSTANCE=default-oraclelinux-7-3002-2-py3
- env: INSTANCE=default-arch-base-latest-3002-2-py3
# - env: INSTANCE=default-gentoo-stage3-latest-3002-2-py3
# - env: INSTANCE=default-gentoo-stage3-systemd-3002-2-py3
# - env: INSTANCE=default-debian-10-3001-4-py3
# - env: INSTANCE=default-debian-9-3001-4-py3
# - env: INSTANCE=default-ubuntu-2004-3001-4-py3
# - env: INSTANCE=default-ubuntu-1804-3001-4-py3
# - env: INSTANCE=default-ubuntu-1604-3001-4-py3
# - env: INSTANCE=default-centos-8-3001-4-py3
# - env: INSTANCE=default-centos-7-3001-4-py3
# - env: INSTANCE=default-fedora-33-3001-4-py3
# - env: INSTANCE=default-fedora-32-3001-4-py3
# - env: INSTANCE=default-opensuse-leap-152-3001-4-py3
# - env: INSTANCE=default-opensuse-tmbl-latest-3001-4-py3
# - env: INSTANCE=default-amazonlinux-2-3001-4-py3
# - env: INSTANCE=default-oraclelinux-8-3001-4-py3
# - env: INSTANCE=default-oraclelinux-7-3001-4-py3
# - env: INSTANCE=default-arch-base-latest-3001-4-py3
# - env: INSTANCE=default-gentoo-stage3-latest-3001-4-py3
# - env: INSTANCE=default-gentoo-stage3-systemd-3001-4-py3
# - env: INSTANCE=default-debian-10-3000-6-py3
# - env: INSTANCE=default-debian-9-3000-6-py3
# - env: INSTANCE=default-ubuntu-1804-3000-6-py3
# - env: INSTANCE=default-ubuntu-1604-3000-6-py3
# - env: INSTANCE=default-centos-8-3000-6-py3
# - env: INSTANCE=default-centos-7-3000-6-py3
# - env: INSTANCE=default-opensuse-leap-152-3000-6-py3
# - env: INSTANCE=default-amazonlinux-2-3000-6-py3
# - env: INSTANCE=default-oraclelinux-8-3000-6-py3
# - env: INSTANCE=default-oraclelinux-7-3000-6-py3
# - env: INSTANCE=default-gentoo-stage3-latest-3000-6-py3
# - env: INSTANCE=default-gentoo-stage3-systemd-3000-6-py3
# - env: INSTANCE=default-ubuntu-1804-3000-6-py2
# - env: INSTANCE=default-ubuntu-1604-3000-6-py2
# - env: INSTANCE=default-arch-base-latest-3000-6-py2

## Define the release stage that runs `semantic-release`
- stage: 'release'
Expand Down
Loading

0 comments on commit f1c7151

Please sign in to comment.