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 18, 2021
1 parent c218712 commit 01c6056
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 55 deletions.
36 changes: 24 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,19 +123,31 @@ 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-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-centos-8-master-py3: {extends: '.test_instance'}
# default-fedora-31-master-py3: {extends: '.test_instance'}
# default-amazonlinux-2-master-py3: {extends: '.test_instance'}
# default-centos-8-2019-2-py3: {extends: '.test_instance'}
# default-fedora-31-2019-2-py3: {extends: '.test_instance'}
default-amazonlinux-2-2019-2-py3: {extends: '.test_instance'}
default-centos-7-2019-2-py2: {extends: '.test_instance'}
# default-fedora-30-2018-3-py3: {extends: '.test_instance'}
# default-centos-7-2018-3-py2: {extends: '.test_instance'}
# default-amazonlinux-1-2018-3-py2: {extends: '.test_instance'}
# default-centos-6-2017-7-py2: {extends: '.test_instance'}
# default-fedora-30-2017-7-py2: {extends: '.test_instance'}
# default-amazonlinux-1-2017-7-py2: {extends: '.test_instance'}
default-centos-7-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-centos-8-3002-2-py3: {extends: '.test_instance'}
# default-centos-7-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-centos-8-3001-4-py3: {extends: '.test_instance'}
# default-centos-7-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-centos-8-3000-6-py3: {extends: '.test_instance'}
# default-centos-7-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'}

###############################################################################
# `release` stage: `semantic-release`
Expand Down
36 changes: 24 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,31 @@ 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-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-centos-8-master-py3
# - env: INSTANCE=default-fedora-31-master-py3
# - env: INSTANCE=default-amazonlinux-2-master-py3
# - env: INSTANCE=default-centos-8-2019-2-py3
# - env: INSTANCE=default-fedora-31-2019-2-py3
- env: INSTANCE=default-amazonlinux-2-2019-2-py3
- env: INSTANCE=default-centos-7-2019-2-py2
# - env: INSTANCE=default-fedora-30-2018-3-py3
# - env: INSTANCE=default-centos-7-2018-3-py2
# - env: INSTANCE=default-amazonlinux-1-2018-3-py2
# - env: INSTANCE=default-centos-6-2017-7-py2
# - env: INSTANCE=default-fedora-30-2017-7-py2
# - env: INSTANCE=default-amazonlinux-1-2017-7-py2
- env: INSTANCE=default-centos-7-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-centos-8-3002-2-py3
# - env: INSTANCE=default-centos-7-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-centos-8-3001-4-py3
# - env: INSTANCE=default-centos-7-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-centos-8-3000-6-py3
# - env: INSTANCE=default-centos-7-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

## Define the release stage that runs `semantic-release`
- stage: 'release'
Expand Down
94 changes: 64 additions & 30 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,58 +8,92 @@ driver:
privileged: true
run_command: /lib/systemd/systemd

# Make sure the platforms listed below match up with
# the `env.matrix` instances defined in `.travis.yml`
platforms:

## SALT `tiamat`
- 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

## SALT `master`
- name: centos-8-master-py3
driver:
image: saltimages/salt-master-py3:centos-8
- name: fedora-31-master-py3
- name: centos-7-master-py3
driver:
image: saltimages/salt-master-py3:fedora-31
image: saltimages/salt-master-py3:centos-7
- 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

## SALT `2019.2`
- name: centos-8-2019-2-py3
## SALT `3002.2`
- name: centos-8-3002-2-py3
driver:
image: saltimages/salt-2019.2-py3:centos-8
- name: fedora-31-2019-2-py3
image: saltimages/salt-3002.2-py3:centos-8
- name: centos-7-3002-2-py3
driver:
image: saltimages/salt-2019.2-py3:fedora-31
- name: amazonlinux-2-2019-2-py3
image: saltimages/salt-3002.2-py3:centos-7
- name: amazonlinux-2-3002-2-py3
driver:
image: saltimages/salt-2019.2-py3:amazonlinux-2
- name: centos-7-2019-2-py2
image: saltimages/salt-3002.2-py3:amazonlinux-2
- name: oraclelinux-8-3002-2-py3
driver:
image: netmanagers/salt-2019.2-py2:centos-7
image: saltimages/salt-3002.2-py3:oraclelinux-8
- name: oraclelinux-7-3002-2-py3
driver:
image: saltimages/salt-3002.2-py3:oraclelinux-7

## SALT `2018.3`
- name: fedora-30-2018-3-py3
## SALT `3001.4`
- name: centos-8-3001-4-py3
driver:
image: saltimages/salt-3001.4-py3:centos-8
- name: centos-7-3001-4-py3
driver:
image: netmanagers/salt-2018.3-py3:fedora-30
- name: centos-7-2018-3-py2
image: saltimages/salt-3001.4-py3:centos-7
- name: amazonlinux-2-3001-4-py3
driver:
image: netmanagers/salt-2018.3-py2:centos-7
- name: amazonlinux-1-2018-3-py2
image: saltimages/salt-3001.4-py3:amazonlinux-2
- name: oraclelinux-8-3001-4-py3
driver:
image: netmanagers/salt-2018.3-py2:amazonlinux-1
run_command: /sbin/init
image: saltimages/salt-3001.4-py3:oraclelinux-8
- name: oraclelinux-7-3001-4-py3
driver:
image: saltimages/salt-3001.4-py3:oraclelinux-7

## SALT `2017.7`
- name: centos-6-2017-7-py2
## SALT `3000.6`
- name: centos-8-3000-6-py3
driver:
image: saltimages/salt-3000.6-py3:centos-8
- name: centos-7-3000-6-py3
driver:
image: saltimages/salt-3000.6-py3:centos-7
- name: amazonlinux-2-3000-6-py3
driver:
image: netmanagers/salt-2017.7-py2:centos-6
run_command: /sbin/init
- name: fedora-30-2017-7-py2
image: saltimages/salt-3000.6-py3:amazonlinux-2
- name: oraclelinux-8-3000-6-py3
driver:
image: netmanagers/salt-2017.7-py2:fedora-30
- name: amazonlinux-1-2017-7-py2
image: saltimages/salt-3000.6-py3:oraclelinux-8
- name: oraclelinux-7-3000-6-py3
driver:
image: netmanagers/salt-2017.7-py2:amazonlinux-1
run_command: /sbin/init
image: saltimages/salt-3000.6-py3:oraclelinux-7

provisioner:
name: salt_solo
Expand Down
2 changes: 1 addition & 1 deletion test/integration/default/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ license: Apache-2.0
summary: Verify that the epel formula is setup and configured correctly
supports:
- platform-name: centos
- platform-name: fedora
- platform-name: amazon
- platform-name: oracle

0 comments on commit 01c6056

Please sign in to comment.