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 13, 2021
1 parent a520404 commit d486305
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 31 deletions.
49 changes: 37 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,22 +123,47 @@ 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`
repositories-debian-10-master-py3: {extends: '.test_instance'}
# repositories-debian-10-tiamat-py3: {extends: '.test_instance'}
# repositories-debian-9-tiamat-py3: {extends: '.test_instance'}
# repositories-ubuntu-2004-tiamat-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-tiamat-py3: {extends: '.test_instance'}
# repositories-ubuntu-1604-tiamat-py3: {extends: '.test_instance'}
# repositories-debian-10-master-py3: {extends: '.test_instance'}
# preferences-debian-10-master-py3: {extends: '.test_instance'}
# unattended-debian-10-master-py3: {extends: '.test_instance'}
# debian-10-master-py3: {extends: '.test_instance'}
repositories-ubuntu-1804-master-py3: {extends: '.test_instance'}
debian-10-master-py3: {extends: '.test_instance'}
# repositories-debian-9-master-py3: {extends: '.test_instance'}
# preferences-debian-9-master-py3: {extends: '.test_instance'}
# unattended-debian-9-master-py3: {extends: '.test_instance'}
debian-9-master-py3: {extends: '.test_instance'}
# repositories-ubuntu-2004-master-py3: {extends: '.test_instance'}
# preferences-ubuntu-2004-master-py3: {extends: '.test_instance'}
# unattended-ubuntu-2004-master-py3: {extends: '.test_instance'}
ubuntu-2004-master-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-master-py3: {extends: '.test_instance'}
# preferences-ubuntu-1804-master-py3: {extends: '.test_instance'}
# unattended-ubuntu-1804-master-py3: {extends: '.test_instance'}
# ubuntu-1804-master-py3: {extends: '.test_instance'}
# repositories-debian-9-2019-2-py3: {extends: '.test_instance'}
preferences-debian-9-2019-2-py3: {extends: '.test_instance'}
# unattended-debian-9-2019-2-py3: {extends: '.test_instance'}
# debian-9-2019-2-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-2019-2-py3: {extends: '.test_instance'}
# preferences-ubuntu-1804-2019-2-py3: {extends: '.test_instance'}
unattended-ubuntu-1804-2019-2-py3: {extends: '.test_instance'}
# ubuntu-1804-2019-2-py3: {extends: '.test_instance'}
ubuntu-1804-master-py3: {extends: '.test_instance'}
# repositories-ubuntu-1604-master-py3: {extends: '.test_instance'}
# preferences-ubuntu-1604-master-py3: {extends: '.test_instance'}
# unattended-ubuntu-1604-master-py3: {extends: '.test_instance'}
ubuntu-1604-master-py3: {extends: '.test_instance'}
# repositories-debian-10-3002-2-py3: {extends: '.test_instance'}
# repositories-debian-9-3002-2-py3: {extends: '.test_instance'}
# repositories-ubuntu-2004-3002-2-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-3002-2-py3: {extends: '.test_instance'}
# repositories-ubuntu-1604-3002-2-py3: {extends: '.test_instance'}
# repositories-debian-10-3001-4-py3: {extends: '.test_instance'}
# repositories-debian-9-3001-4-py3: {extends: '.test_instance'}
# repositories-ubuntu-2004-3001-4-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-3001-4-py3: {extends: '.test_instance'}
# repositories-ubuntu-1604-3001-4-py3: {extends: '.test_instance'}
# repositories-debian-10-3000-6-py3: {extends: '.test_instance'}
# repositories-debian-9-3000-6-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-3000-6-py3: {extends: '.test_instance'}
# repositories-ubuntu-1604-3000-6-py3: {extends: '.test_instance'}
# repositories-ubuntu-1804-3000-6-py2: {extends: '.test_instance'}
# repositories-ubuntu-1604-3000-6-py2: {extends: '.test_instance'}

###############################################################################
# `release` stage: `semantic-release`
Expand Down
49 changes: 37 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,47 @@ 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=repositories-debian-10-master-py3
# - env: INSTANCE=repositories-debian-10-tiamat-py3
# - env: INSTANCE=repositories-debian-9-tiamat-py3
# - env: INSTANCE=repositories-ubuntu-2004-tiamat-py3
# - env: INSTANCE=repositories-ubuntu-1804-tiamat-py3
# - env: INSTANCE=repositories-ubuntu-1604-tiamat-py3
# - env: INSTANCE=repositories-debian-10-master-py3
# - env: INSTANCE=preferences-debian-10-master-py3
# - env: INSTANCE=unattended-debian-10-master-py3
# - env: INSTANCE=debian-10-master-py3
- env: INSTANCE=repositories-ubuntu-1804-master-py3
- env: INSTANCE=debian-10-master-py3
# - env: INSTANCE=repositories-debian-9-master-py3
# - env: INSTANCE=preferences-debian-9-master-py3
# - env: INSTANCE=unattended-debian-9-master-py3
- env: INSTANCE=debian-9-master-py3
# - env: INSTANCE=repositories-ubuntu-2004-master-py3
# - env: INSTANCE=preferences-ubuntu-2004-master-py3
# - env: INSTANCE=unattended-ubuntu-2004-master-py3
- env: INSTANCE=ubuntu-2004-master-py3
# - env: INSTANCE=repositories-ubuntu-1804-master-py3
# - env: INSTANCE=preferences-ubuntu-1804-master-py3
# - env: INSTANCE=unattended-ubuntu-1804-master-py3
# - env: INSTANCE=ubuntu-1804-master-py3
# - env: INSTANCE=repositories-debian-9-2019-2-py3
- env: INSTANCE=preferences-debian-9-2019-2-py3
# - env: INSTANCE=unattended-debian-9-2019-2-py3
# - env: INSTANCE=debian-9-2019-2-py3
# - env: INSTANCE=repositories-ubuntu-1804-2019-2-py3
# - env: INSTANCE=preferences-ubuntu-1804-2019-2-py3
- env: INSTANCE=unattended-ubuntu-1804-2019-2-py3
# - env: INSTANCE=ubuntu-1804-2019-2-py3
- env: INSTANCE=ubuntu-1804-master-py3
# - env: INSTANCE=repositories-ubuntu-1604-master-py3
# - env: INSTANCE=preferences-ubuntu-1604-master-py3
# - env: INSTANCE=unattended-ubuntu-1604-master-py3
- env: INSTANCE=ubuntu-1604-master-py3
# - env: INSTANCE=repositories-debian-10-3002-2-py3
# - env: INSTANCE=repositories-debian-9-3002-2-py3
# - env: INSTANCE=repositories-ubuntu-2004-3002-2-py3
# - env: INSTANCE=repositories-ubuntu-1804-3002-2-py3
# - env: INSTANCE=repositories-ubuntu-1604-3002-2-py3
# - env: INSTANCE=repositories-debian-10-3001-4-py3
# - env: INSTANCE=repositories-debian-9-3001-4-py3
# - env: INSTANCE=repositories-ubuntu-2004-3001-4-py3
# - env: INSTANCE=repositories-ubuntu-1804-3001-4-py3
# - env: INSTANCE=repositories-ubuntu-1604-3001-4-py3
# - env: INSTANCE=repositories-debian-10-3000-6-py3
# - env: INSTANCE=repositories-debian-9-3000-6-py3
# - env: INSTANCE=repositories-ubuntu-1804-3000-6-py3
# - env: INSTANCE=repositories-ubuntu-1604-3000-6-py3
# - env: INSTANCE=repositories-ubuntu-1804-3000-6-py2
# - env: INSTANCE=repositories-ubuntu-1604-3000-6-py2

## Define the release stage that runs `semantic-release`
- stage: 'release'
Expand Down
84 changes: 77 additions & 7 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,94 @@ 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: debian-10-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:debian-10
- name: debian-9-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:debian-9
- name: ubuntu-2004-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:ubuntu-20.04
- name: ubuntu-1804-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:ubuntu-18.04
- name: ubuntu-1604-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:ubuntu-16.04

## SALT `master`
- name: debian-10-master-py3
driver:
image: saltimages/salt-master-py3:debian-10
- name: debian-9-master-py3
driver:
image: saltimages/salt-master-py3:debian-9
- name: ubuntu-2004-master-py3
driver:
image: saltimages/salt-master-py3:ubuntu-20.04
- name: ubuntu-1804-master-py3
driver:
image: saltimages/salt-master-py3:ubuntu-18.04
- name: ubuntu-1604-master-py3
driver:
image: saltimages/salt-master-py3:ubuntu-16.04

## SALT `2019.2`
- name: debian-9-2019-2-py3
## SALT `3002.2`
- name: debian-10-3002-2-py3
driver:
image: saltimages/salt-3002.2-py3:debian-10
- name: debian-9-3002-2-py3
driver:
image: saltimages/salt-3002.2-py3:debian-9
- name: ubuntu-2004-3002-2-py3
driver:
image: saltimages/salt-3002.2-py3:ubuntu-20.04
- name: ubuntu-1804-3002-2-py3
driver:
image: saltimages/salt-3002.2-py3:ubuntu-18.04
- name: ubuntu-1604-3002-2-py3
driver:
image: saltimages/salt-3002.2-py3:ubuntu-16.04

## SALT `3001.4`
- name: debian-10-3001-4-py3
driver:
image: saltimages/salt-3001.4-py3:debian-10
- name: debian-9-3001-4-py3
driver:
image: saltimages/salt-3001.4-py3:debian-9
- name: ubuntu-2004-3001-4-py3
driver:
image: saltimages/salt-3001.4-py3:ubuntu-20.04
- name: ubuntu-1804-3001-4-py3
driver:
image: saltimages/salt-3001.4-py3:ubuntu-18.04
- name: ubuntu-1604-3001-4-py3
driver:
image: saltimages/salt-3001.4-py3:ubuntu-16.04

## SALT `3000.6`
- name: debian-10-3000-6-py3
driver:
image: saltimages/salt-3000.6-py3:debian-10
- name: debian-9-3000-6-py3
driver:
image: saltimages/salt-3000.6-py3:debian-9
- name: ubuntu-1804-3000-6-py3
driver:
image: saltimages/salt-3000.6-py3:ubuntu-18.04
- name: ubuntu-1604-3000-6-py3
driver:
image: saltimages/salt-3000.6-py3:ubuntu-16.04
- name: ubuntu-1804-3000-6-py2
driver:
image: saltimages/salt-2019.2-py3:debian-9
- name: ubuntu-1804-2019-2-py3
image: saltimages/salt-3000.6-py2:ubuntu-18.04
- name: ubuntu-1604-3000-6-py2
driver:
image: saltimages/salt-2019.2-py3:ubuntu-18.04
image: saltimages/salt-3000.6-py2:ubuntu-16.04

provisioner:
name: salt_solo
Expand Down

0 comments on commit d486305

Please sign in to comment.