Skip to content

Commit 30ade3d

Browse files
committed
ci(kitchen): avoid using bootstrap for master instances [skip ci]
* Automated using myii/ssf-formula#124
1 parent f7f2342 commit 30ade3d

File tree

2 files changed

+14
-55
lines changed

2 files changed

+14
-55
lines changed

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,19 @@ jobs:
5858
## Define the rest of the matrix based on Kitchen testing
5959
# Make sure the instances listed below match up with
6060
# the `platforms` defined in `kitchen.yml`
61-
# - env: INSTANCE=default-amazonlinux-1-master-py2
6261
- env: INSTANCE=default-centos-8-master-py3
6362
# - env: INSTANCE=default-fedora-31-master-py3
64-
# - env: INSTANCE=default-amazonlinux-2-master-py2
65-
- env: INSTANCE=default-amazonlinux-1-2019-2-py2
63+
# - env: INSTANCE=default-amazonlinux-2-master-py3
6664
# - env: INSTANCE=default-centos-8-2019-2-py3
6765
# - env: INSTANCE=default-fedora-31-2019-2-py3
68-
- env: INSTANCE=default-amazonlinux-2-2019-2-py2
66+
- env: INSTANCE=default-amazonlinux-2-2019-2-py3
6967
- env: INSTANCE=default-centos-7-2019-2-py2
70-
# - env: INSTANCE=default-amazonlinux-1-2018-3-py2
7168
# - env: INSTANCE=default-fedora-30-2018-3-py3
7269
# - env: INSTANCE=default-centos-7-2018-3-py2
73-
# - env: INSTANCE=default-amazonlinux-2-2018-3-py2
74-
# - env: INSTANCE=default-amazonlinux-1-2017-7-py2
70+
- env: INSTANCE=default-amazonlinux-1-2018-3-py2
7571
- env: INSTANCE=default-centos-6-2017-7-py2
7672
# - env: INSTANCE=default-fedora-30-2017-7-py2
77-
# - env: INSTANCE=default-amazonlinux-2-2017-7-py2
73+
# - env: INSTANCE=default-amazonlinux-1-2017-7-py2
7874

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

kitchen.yml

Lines changed: 10 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -12,91 +12,54 @@ driver:
1212
# the `env.matrix` instances defined in `.travis.yml`
1313
platforms:
1414
## SALT `master`
15-
- name: amazonlinux-1-master-py2
16-
driver:
17-
image: amazonlinux:1
18-
provision_command:
19-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
20-
- sh bootstrap-salt.sh -XdPfq -x python2 git master
21-
run_command: /sbin/init
2215
- name: centos-8-master-py3
2316
driver:
2417
image: netmanagers/salt-master-py3:centos-8
25-
provision_command:
26-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
27-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
2818
- name: fedora-31-master-py3
2919
driver:
3020
image: netmanagers/salt-master-py3:fedora-31
31-
provision_command:
32-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
33-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
34-
# Use the `develop` image temporarily until the `master` image is available
35-
# Not changing the name to minimise disruption across all of the formulas
36-
- name: amazonlinux-2-master-py2
21+
- name: amazonlinux-2-master-py3
3722
driver:
38-
image: netmanagers/salt-develop-py2:amazonlinux-2
39-
provision_command:
40-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
41-
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
23+
image: netmanagers/salt-master-py3:amazonlinux-2
4224

4325
## SALT `2019.2`
44-
- name: amazonlinux-1-2019-2-py2
45-
driver:
46-
image: amazonlinux:1
47-
provision_command:
48-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
49-
- sh bootstrap-salt.sh -XdPfq -x python2 stable 2019.2
50-
run_command: /sbin/init
5126
- name: centos-8-2019-2-py3
5227
driver:
5328
image: netmanagers/salt-2019.2-py3:centos-8
5429
- name: fedora-31-2019-2-py3
5530
driver:
5631
image: netmanagers/salt-2019.2-py3:fedora-31
57-
- name: amazonlinux-2-2019-2-py2
32+
- name: amazonlinux-2-2019-2-py3
5833
driver:
59-
image: netmanagers/salt-2019.2-py2:amazonlinux-2
34+
image: netmanagers/salt-2019.2-py3:amazonlinux-2
6035
- name: centos-7-2019-2-py2
6136
driver:
6237
image: netmanagers/salt-2019.2-py2:centos-7
6338

6439
## SALT `2018.3`
65-
- name: amazonlinux-1-2018-3-py2
66-
driver:
67-
image: amazonlinux:1
68-
provision_command:
69-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
70-
- sh bootstrap-salt.sh -XdPfq -x python2 stable 2018.3
71-
run_command: /sbin/init
7240
- name: fedora-30-2018-3-py3
7341
driver:
7442
image: netmanagers/salt-2018.3-py3:fedora-30
7543
- name: centos-7-2018-3-py2
7644
driver:
7745
image: netmanagers/salt-2018.3-py2:centos-7
78-
- name: amazonlinux-2-2018-3-py2
46+
- name: amazonlinux-1-2018-3-py2
7947
driver:
80-
image: netmanagers/salt-2018.3-py2:amazonlinux-2
48+
image: netmanagers/salt-2018.3-py2:amazonlinux-1
49+
run_command: /sbin/init
8150

8251
## SALT `2017.7`
83-
- name: amazonlinux-1-2017-7-py2
84-
driver:
85-
image: amazonlinux:1
86-
provision_command:
87-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
88-
- sh bootstrap-salt.sh -XdPfq -x python2 stable 2017.7
89-
run_command: /sbin/init
9052
- name: centos-6-2017-7-py2
9153
driver:
9254
image: netmanagers/salt-2017.7-py2:centos-6
9355
run_command: /sbin/init
9456
- name: fedora-30-2017-7-py2
9557
driver:
9658
image: netmanagers/salt-2017.7-py2:fedora-30
97-
- name: amazonlinux-2-2017-7-py2
59+
- name: amazonlinux-1-2017-7-py2
9860
driver:
99-
image: netmanagers/salt-2017.7-py2:amazonlinux-2
61+
image: netmanagers/salt-2017.7-py2:amazonlinux-1
62+
run_command: /sbin/init
10063

10164
provisioner:
10265
name: salt_solo

0 commit comments

Comments
 (0)