Bladeren bron

ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/293
pull/23/head
Imran Iqbal 3 jaren geleden
bovenliggende
commit
9f909f5f3e
No account linked to committer's email address
3 gewijzigde bestanden met toevoegingen van 107 en 148 verwijderingen
  1. +24
    -27
      .gitlab-ci.yml
  2. +24
    -27
      .travis.yml
  3. +59
    -94
      kitchen.yml

+ 24
- 27
.gitlab-ci.yml Bestand weergeven

@@ -123,35 +123,32 @@ 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-debian-10-master-py3: {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-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-ubuntu-1604-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-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-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-ubuntu-1804-3000-6-py2: {extends: '.test_instance'}
# default-ubuntu-1604-3000-6-py2: {extends: '.test_instance'}

###############################################################################
# `release` stage: `semantic-release`

+ 24
- 27
.travis.yml Bestand weergeven

@@ -83,35 +83,32 @@ 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-debian-10-master-py3
- env: INSTANCE=default-debian-9-master-py3
- env: INSTANCE=default-ubuntu-2004-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-ubuntu-1604-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-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-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-ubuntu-1804-3000-6-py2
# - env: INSTANCE=default-ubuntu-1604-3000-6-py2

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

+ 59
- 94
kitchen.yml Bestand weergeven

@@ -8,129 +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 `master`
- name: debian-10-master-py3
driver:
image: saltimages/salt-master-py3:debian-10
- name: ubuntu-1804-master-py3
## SALT `tiamat`
- name: debian-10-tiamat-py3
driver:
image: saltimages/salt-master-py3:ubuntu-18.04
- name: centos-8-master-py3
image: saltimages/salt-tiamat-py3:debian-10
- name: debian-9-tiamat-py3
driver:
image: saltimages/salt-master-py3:centos-8
- name: fedora-31-master-py3
image: saltimages/salt-tiamat-py3:debian-9
- name: ubuntu-2004-tiamat-py3
driver:
image: saltimages/salt-master-py3:fedora-31
- name: opensuse-leap-151-master-py3
image: saltimages/salt-tiamat-py3:ubuntu-20.04
- name: ubuntu-1804-tiamat-py3
driver:
image: netmanagers/salt-master-py3:opensuse-leap-15.1
run_command: /usr/lib/systemd/systemd
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
# => SCP did not finish successfully (255): (Net::SCP::Error)
transport:
max_ssh_sessions: 1
- name: amazonlinux-2-master-py3
image: saltimages/salt-tiamat-py3:ubuntu-18.04
- name: ubuntu-1604-tiamat-py3
driver:
image: saltimages/salt-master-py3:amazonlinux-2
image: saltimages/salt-tiamat-py3:ubuntu-16.04

## SALT `2019.2`
- name: debian-10-2019-2-py3
driver:
image: saltimages/salt-2019.2-py3:debian-10
- name: debian-9-2019-2-py3
## SALT `master`
- name: debian-10-master-py3
driver:
image: saltimages/salt-2019.2-py3:debian-9
- name: ubuntu-1804-2019-2-py3
image: saltimages/salt-master-py3:debian-10
- name: debian-9-master-py3
driver:
image: saltimages/salt-2019.2-py3:ubuntu-18.04
- name: centos-8-2019-2-py3
image: saltimages/salt-master-py3:debian-9
- name: ubuntu-2004-master-py3
driver:
image: saltimages/salt-2019.2-py3:centos-8
- name: fedora-31-2019-2-py3
image: saltimages/salt-master-py3:ubuntu-20.04
- name: ubuntu-1804-master-py3
driver:
image: saltimages/salt-2019.2-py3:fedora-31
- name: opensuse-leap-151-2019-2-py3
image: saltimages/salt-master-py3:ubuntu-18.04
- name: ubuntu-1604-master-py3
driver:
image: netmanagers/salt-2019.2-py3:opensuse-leap-15.1
run_command: /usr/lib/systemd/systemd
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
# => SCP did not finish successfully (255): (Net::SCP::Error)
transport:
max_ssh_sessions: 1
- name: centos-7-2019-2-py2
image: saltimages/salt-master-py3:ubuntu-16.04

## SALT `3002.2`
- name: debian-10-3002-2-py3
driver:
image: netmanagers/salt-2019.2-py2:centos-7
- name: amazonlinux-2-2019-2-py3
image: saltimages/salt-3002.2-py3:debian-10
- name: debian-9-3002-2-py3
driver:
image: saltimages/salt-2019.2-py3:amazonlinux-2
- name: arch-base-latest-2019-2-py2
image: saltimages/salt-3002.2-py3:debian-9
- name: ubuntu-2004-3002-2-py3
driver:
image: saltimages/salt-2019.2-py2:arch-base-latest
run_command: /usr/lib/systemd/systemd

## SALT `2018.3`
- name: fedora-30-2018-3-py3
image: saltimages/salt-3002.2-py3:ubuntu-20.04
- name: ubuntu-1804-3002-2-py3
driver:
image: netmanagers/salt-2018.3-py3:fedora-30
- name: debian-9-2018-3-py2
image: saltimages/salt-3002.2-py3:ubuntu-18.04
- name: ubuntu-1604-3002-2-py3
driver:
image: netmanagers/salt-2018.3-py2:debian-9
- name: ubuntu-1604-2018-3-py2
image: saltimages/salt-3002.2-py3:ubuntu-16.04

## SALT `3001.4`
- name: debian-10-3001-4-py3
driver:
image: netmanagers/salt-2018.3-py2:ubuntu-16.04
- name: centos-7-2018-3-py2
image: saltimages/salt-3001.4-py3:debian-10
- name: debian-9-3001-4-py3
driver:
image: netmanagers/salt-2018.3-py2:centos-7
- name: opensuse-leap-151-2018-3-py2
image: saltimages/salt-3001.4-py3:debian-9
- name: ubuntu-2004-3001-4-py3
driver:
image: netmanagers/salt-2018.3-py2:opensuse-leap-15.1
run_command: /usr/lib/systemd/systemd
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
# => SCP did not finish successfully (255): (Net::SCP::Error)
transport:
max_ssh_sessions: 1
- name: amazonlinux-1-2018-3-py2
image: saltimages/salt-3001.4-py3:ubuntu-20.04
- name: ubuntu-1804-3001-4-py3
driver:
image: netmanagers/salt-2018.3-py2:amazonlinux-1
run_command: /sbin/init
- name: arch-base-latest-2018-3-py2
image: saltimages/salt-3001.4-py3:ubuntu-18.04
- name: ubuntu-1604-3001-4-py3
driver:
image: netmanagers/salt-2018.3-py2:arch-base-latest
run_command: /usr/lib/systemd/systemd
image: saltimages/salt-3001.4-py3:ubuntu-16.04

## SALT `2017.7`
- name: debian-8-2017-7-py2
driver:
image: netmanagers/salt-2017.7-py2:debian-8
- name: ubuntu-1604-2017-7-py2
## SALT `3000.6`
- name: debian-10-3000-6-py3
driver:
image: netmanagers/salt-2017.7-py2:ubuntu-16.04
- name: centos-6-2017-7-py2
image: saltimages/salt-3000.6-py3:debian-10
- name: debian-9-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:debian-9
- name: ubuntu-1804-3000-6-py3
driver:
image: netmanagers/salt-2017.7-py2:fedora-30
- name: opensuse-leap-151-2017-7-py2
image: saltimages/salt-3000.6-py3:ubuntu-18.04
- name: ubuntu-1604-3000-6-py3
driver:
image: netmanagers/salt-2017.7-py2:opensuse-leap-15.1
run_command: /usr/lib/systemd/systemd
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
# => SCP did not finish successfully (255): (Net::SCP::Error)
transport:
max_ssh_sessions: 1
- name: amazonlinux-1-2017-7-py2
image: saltimages/salt-3000.6-py3:ubuntu-16.04
- name: ubuntu-1804-3000-6-py2
driver:
image: netmanagers/salt-2017.7-py2:amazonlinux-1
run_command: /sbin/init
- name: arch-base-latest-2017-7-py2
image: saltimages/salt-3000.6-py2:ubuntu-18.04
- name: ubuntu-1604-3000-6-py2
driver:
image: netmanagers/salt-2017.7-py2:arch-base-latest
run_command: /usr/lib/systemd/systemd
image: saltimages/salt-3000.6-py2:ubuntu-16.04

provisioner:
name: salt_solo

Laden…
Annuleren
Opslaan