Skip to content

Commit

Permalink
ci(kitchen+travis): replace EOL pre-salted images
Browse files Browse the repository at this point in the history
* Automated using myii/ssf-formula#16
  • Loading branch information
myii committed Aug 28, 2019
1 parent 8366250 commit 346cd1e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,30 @@ services:
# the `platforms` defined in `kitchen.yml`
env:
matrix:
- INSTANCE: debian-9-develop-py3
- INSTANCE: debian-10-develop-py3
# - INSTANCE: ubuntu-1804-develop-py3
# - INSTANCE: centos-7-develop-py3
# - INSTANCE: fedora-30-develop-py3
# - INSTANCE: opensuse-leap-15-develop-py3
# - INSTANCE: amazonlinux-2-develop-py2
# - INSTANCE: debian-9-2019-2-py3
- INSTANCE: ubuntu-1804-2019-2-py3
- INSTANCE: centos-7-2019-2-py3
# - INSTANCE: centos-7-2019-2-py3
# - INSTANCE: fedora-30-2019-2-py3
# - INSTANCE: opensuse-leap-15-2019-2-py3
- INSTANCE: amazonlinux-2-2019-2-py2
# - INSTANCE: debian-9-2018-3-py2
# - INSTANCE: ubuntu-1604-2018-3-py2
# - INSTANCE: centos-7-2018-3-py2
- INSTANCE: fedora-29-2018-3-py2
- INSTANCE: opensuse-leap-42-2018-3-py2
- INSTANCE: debian-8-2017-7-py2
- INSTANCE: opensuse-leap-15-2018-3-py2
# - INSTANCE: amazonlinux-2-2018-3-py2
# - INSTANCE: debian-8-2017-7-py2
# - INSTANCE: ubuntu-1604-2017-7-py2
# - INSTANCE: centos-6-2017-7-py2
- INSTANCE: centos-6-2017-7-py2
# - INSTANCE: fedora-29-2017-7-py2
# - INSTANCE: opensuse-leap-15-2017-7-py2
# - INSTANCE: amazonlinux-2-2017-7-py2

script:
- bin/kitchen test ${INSTANCE}
Expand Down
23 changes: 19 additions & 4 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ platforms:
- curl -L https://bootstrap.saltstack.com | sh -s -- -X

## SALT `develop`
- name: debian-9-develop-py3
- name: debian-10-develop-py3
driver:
image: netmanagers/salt-develop-py3:debian-9
image: netmanagers/salt-develop-py3:debian-10
provision_command:
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
Expand Down Expand Up @@ -52,6 +52,12 @@ platforms:
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
run_command: /usr/lib/systemd/systemd
- name: amazonlinux-2-develop-py2
driver:
image: netmanagers/salt-develop-py2:amazonlinux-2
provision_command:
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop

## SALT `2019.2`
- name: debian-9-2019-2-py3
Expand All @@ -70,6 +76,9 @@ platforms:
driver:
image: netmanagers/salt-2019.2-py3:opensuse-leap-15
run_command: /usr/lib/systemd/systemd
- name: amazonlinux-2-2019-2-py2
driver:
image: netmanagers/salt-2019.2-py2:amazonlinux-2

## SALT `2018.3`
- name: debian-9-2018-3-py2
Expand All @@ -84,10 +93,13 @@ platforms:
- name: fedora-29-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:fedora-29
- name: opensuse-leap-42-2018-3-py2
- name: opensuse-leap-15-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:opensuse-leap-42
image: netmanagers/salt-2018.3-py2:opensuse-leap-15
run_command: /usr/lib/systemd/systemd
- name: amazonlinux-2-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:amazonlinux-2

## SALT `2017.7`
- name: debian-8-2017-7-py2
Expand All @@ -107,6 +119,9 @@ platforms:
driver:
image: netmanagers/salt-2017.7-py2:opensuse-leap-15
run_command: /usr/lib/systemd/systemd
- name: amazonlinux-2-2017-7-py2
driver:
image: netmanagers/salt-2017.7-py2:amazonlinux-2

provisioner:
name: salt_solo
Expand Down

0 comments on commit 346cd1e

Please sign in to comment.