Skip to content

Commit 4b869ed

Browse files
authored
Merge pull request #195 from myii/chore/standardise-structure
ci(kitchen+travis): replace EOL pre-salted images
2 parents a5515bc + fd67570 commit 4b869ed

File tree

4 files changed

+53
-27
lines changed

4 files changed

+53
-27
lines changed

.travis.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,30 @@ services:
1919
# the `platforms` defined in `kitchen.yml`
2020
env:
2121
matrix:
22-
- INSTANCE: debian-debian-9-develop-py3
22+
- INSTANCE: debian-debian-10-develop-py3
2323
# - INSTANCE: ubuntu-ubuntu-1804-develop-py3
2424
# - INSTANCE: redhat-centos-7-develop-py3
25-
# - INSTANCE: redhat-fedora-29-develop-py3
25+
# - INSTANCE: redhat-fedora-30-develop-py3
2626
# - INSTANCE: suse-opensuse-leap-15-develop-py3
27+
# - INSTANCE: redhat-amazonlinux-2-develop-py2
2728
# - INSTANCE: debian-debian-9-2019-2-py3
2829
- INSTANCE: ubuntu-ubuntu-1804-2019-2-py3
29-
- INSTANCE: redhat-centos-7-2019-2-py3
30-
# - INSTANCE: redhat-fedora-29-2019-2-py3
30+
# - INSTANCE: redhat-centos-7-2019-2-py3
31+
# - INSTANCE: redhat-fedora-30-2019-2-py3
3132
# - INSTANCE: suse-opensuse-leap-15-2019-2-py3
33+
- INSTANCE: redhat-amazonlinux-2-2019-2-py2
3234
# - INSTANCE: debian-debian-9-2018-3-py2
3335
# - INSTANCE: ubuntu-ubuntu-1604-2018-3-py2
3436
# - INSTANCE: redhat-centos-7-2018-3-py2
3537
- INSTANCE: redhat-fedora-29-2018-3-py2
36-
- INSTANCE: suse-opensuse-leap-42-2018-3-py2
38+
- INSTANCE: suse-opensuse-leap-15-2018-3-py2
39+
# - INSTANCE: redhat-amazonlinux-2-2018-3-py2
3740
# - INSTANCE: debian-debian-8-2017-7-py2
3841
# - INSTANCE: ubuntu-ubuntu-1604-2017-7-py2
3942
- INSTANCE: redhat-centos-6-2017-7-py2
40-
# - INSTANCE: redhat-fedora-28-2017-7-py2
41-
# - INSTANCE: suse-opensuse-leap-42-2017-7-py2
43+
# - INSTANCE: redhat-fedora-29-2017-7-py2
44+
# - INSTANCE: suse-opensuse-leap-15-2017-7-py2
45+
# - INSTANCE: redhat-amazonlinux-2-2017-7-py2
4246

4347
script:
4448
- bin/kitchen verify ${INSTANCE}

kitchen.yml

Lines changed: 37 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ driver:
1212
# the `env.matrix` instances defined in `.travis.yml`
1313
platforms:
1414
## SALT `develop`
15-
- name: debian-9-develop-py3
15+
- name: debian-10-develop-py3
1616
driver:
17-
image: netmanagers/salt-develop-py3:debian-9
17+
image: netmanagers/salt-develop-py3:debian-10
1818
provision_command:
1919
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
2020
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
@@ -30,9 +30,9 @@ platforms:
3030
provision_command:
3131
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
3232
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
33-
- name: fedora-29-develop-py3
33+
- name: fedora-30-develop-py3
3434
driver:
35-
image: netmanagers/salt-develop-py3:fedora-29
35+
image: netmanagers/salt-develop-py3:fedora-30
3636
provision_command:
3737
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
3838
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
@@ -43,6 +43,12 @@ platforms:
4343
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
4444
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
4545
run_command: /usr/lib/systemd/systemd
46+
- name: amazonlinux-2-develop-py2
47+
driver:
48+
image: netmanagers/salt-develop-py2:amazonlinux-2
49+
provision_command:
50+
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
51+
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
4652

4753
## SALT `2019.2`
4854
- name: debian-9-2019-2-py3
@@ -54,13 +60,16 @@ platforms:
5460
- name: centos-7-2019-2-py3
5561
driver:
5662
image: netmanagers/salt-2019.2-py3:centos-7
57-
- name: fedora-29-2019-2-py3
63+
- name: fedora-30-2019-2-py3
5864
driver:
59-
image: netmanagers/salt-2019.2-py3:fedora-29
65+
image: netmanagers/salt-2019.2-py3:fedora-30
6066
- name: opensuse-leap-15-2019-2-py3
6167
driver:
6268
image: netmanagers/salt-2019.2-py3:opensuse-leap-15
6369
run_command: /usr/lib/systemd/systemd
70+
- name: amazonlinux-2-2019-2-py2
71+
driver:
72+
image: netmanagers/salt-2019.2-py2:amazonlinux-2
6473

6574
## SALT `2018.3`
6675
- name: debian-9-2018-3-py2
@@ -75,10 +84,13 @@ platforms:
7584
- name: fedora-29-2018-3-py2
7685
driver:
7786
image: netmanagers/salt-2018.3-py2:fedora-29
78-
- name: opensuse-leap-42-2018-3-py2
87+
- name: opensuse-leap-15-2018-3-py2
7988
driver:
80-
image: netmanagers/salt-2018.3-py2:opensuse-leap-42
89+
image: netmanagers/salt-2018.3-py2:opensuse-leap-15
8190
run_command: /usr/lib/systemd/systemd
91+
- name: amazonlinux-2-2018-3-py2
92+
driver:
93+
image: netmanagers/salt-2018.3-py2:amazonlinux-2
8294

8395
## SALT `2017.7`
8496
- name: debian-8-2017-7-py2
@@ -91,13 +103,16 @@ platforms:
91103
driver:
92104
image: netmanagers/salt-2017.7-py2:centos-6
93105
run_command: /sbin/init
94-
- name: fedora-28-2017-7-py2
106+
- name: fedora-29-2017-7-py2
95107
driver:
96-
image: netmanagers/salt-2017.7-py2:fedora-28
97-
- name: opensuse-leap-42-2017-7-py2
108+
image: netmanagers/salt-2017.7-py2:fedora-29
109+
- name: opensuse-leap-15-2017-7-py2
98110
driver:
99-
image: netmanagers/salt-2017.7-py2:opensuse-leap-42
111+
image: netmanagers/salt-2017.7-py2:opensuse-leap-15
100112
run_command: /usr/lib/systemd/systemd
113+
- name: amazonlinux-2-2017-7-py2
114+
driver:
115+
image: netmanagers/salt-2017.7-py2:amazonlinux-2
101116

102117
provisioner:
103118
name: salt_solo
@@ -136,7 +151,7 @@ suites:
136151
- path: test/integration/default
137152
- name: debian
138153
includes:
139-
- debian-9-develop-py3
154+
- debian-10-develop-py3
140155
- debian-9-2019-2-py3
141156
- debian-9-2018-3-py2
142157
- debian-8-2017-7-py2
@@ -191,13 +206,17 @@ suites:
191206
- name: redhat
192207
includes:
193208
- centos-7-develop-py3
194-
- fedora-29-develop-py3
209+
- fedora-30-develop-py3
210+
- amazonlinux-2-develop-py2
195211
- centos-7-2019-2-py3
196-
- fedora-29-2019-2-py3
212+
- fedora-30-2019-2-py3
213+
- amazonlinux-2-2019-2-py2
197214
- centos-7-2018-3-py2
198215
- fedora-29-2018-3-py2
216+
- amazonlinux-2-2018-3-py2
199217
- centos-6-2017-7-py2
200-
- fedora-28-2017-7-py2
218+
- fedora-29-2017-7-py2
219+
- amazonlinux-2-2017-7-py2
201220
provisioner:
202221
state_top:
203222
base:
@@ -217,8 +236,8 @@ suites:
217236
includes:
218237
- opensuse-leap-15-develop-py3
219238
- opensuse-leap-15-2019-2-py3
220-
- opensuse-leap-42-2018-3-py2
221-
- opensuse-leap-42-2017-7-py2
239+
- opensuse-leap-15-2018-3-py2
240+
- opensuse-leap-15-2017-7-py2
222241
provisioner:
223242
state_top:
224243
base:

test/integration/default/controls/package_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_redhat
3636
end
3737

3838
def test_suse
39-
describe package('php5') do
39+
describe package('php7') do
4040
it { should be_installed }
4141
end
4242
end

test/salt/pillar/suse.sls

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: ft=yaml
33
---
4-
php: {}
4+
php:
5+
lookup:
6+
pkgs:
7+
php: php7

0 commit comments

Comments
 (0)