Skip to content

Commit dd796b0

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

File tree

2 files changed

+18
-39
lines changed

2 files changed

+18
-39
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,27 +74,27 @@ jobs:
7474
# - env: INSTANCE=redhat-centos-8-master-py3
7575
# - env: INSTANCE=redhat-fedora-31-master-py3
7676
# - env: INSTANCE=suse-opensuse-leap-151-master-py3
77-
# - env: INSTANCE=redhat-amazonlinux-2-master-py2
77+
# - env: INSTANCE=redhat-amazonlinux-2-master-py3
7878
# - env: INSTANCE=debian-debian-10-2019-2-py3
7979
# - env: INSTANCE=debian-debian-9-2019-2-py3
8080
- env: INSTANCE=ubuntu-ubuntu-1804-2019-2-py3
8181
# - env: INSTANCE=redhat-centos-8-2019-2-py3
8282
# - env: INSTANCE=redhat-fedora-31-2019-2-py3
8383
# - env: INSTANCE=suse-opensuse-leap-151-2019-2-py3
8484
# - env: INSTANCE=redhat-centos-7-2019-2-py2
85-
- env: INSTANCE=redhat-amazonlinux-2-2019-2-py2
85+
- env: INSTANCE=redhat-amazonlinux-2-2019-2-py3
8686
- env: INSTANCE=redhat-fedora-30-2018-3-py3
8787
# - env: INSTANCE=debian-debian-9-2018-3-py2
8888
# - env: INSTANCE=ubuntu-ubuntu-1604-2018-3-py2
8989
# - env: INSTANCE=redhat-centos-7-2018-3-py2
9090
- env: INSTANCE=suse-opensuse-leap-151-2018-3-py2
91-
# - env: INSTANCE=redhat-amazonlinux-2-2018-3-py2
91+
# - env: INSTANCE=redhat-amazonlinux-1-2018-3-py2
9292
# - env: INSTANCE=debian-debian-8-2017-7-py2
9393
# - env: INSTANCE=ubuntu-ubuntu-1604-2017-7-py2
9494
- env: INSTANCE=redhat-centos-6-2017-7-py2
9595
# - env: INSTANCE=redhat-fedora-30-2017-7-py2
9696
# - env: INSTANCE=suse-opensuse-leap-151-2017-7-py2
97-
# - env: INSTANCE=redhat-amazonlinux-2-2017-7-py2
97+
# - env: INSTANCE=redhat-amazonlinux-1-2017-7-py2
9898

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

kitchen.yml

Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,52 +15,29 @@ platforms:
1515
- name: debian-10-master-py3
1616
driver:
1717
image: netmanagers/salt-master-py3:debian-10
18-
provision_command:
19-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
20-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
2118
- name: ubuntu-1804-master-py3
2219
driver:
2320
image: netmanagers/salt-master-py3:ubuntu-18.04
24-
provision_command:
25-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
26-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
2721
- name: centos-8-master-py3
2822
driver:
2923
image: netmanagers/salt-master-py3:centos-8
30-
provision_command:
31-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
32-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
3324
- name: fedora-31-master-py3
3425
driver:
3526
image: netmanagers/salt-master-py3:fedora-31
36-
provision_command:
37-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
38-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
3927
- name: opensuse-leap-151-master-py3
4028
driver:
4129
image: netmanagers/salt-master-py3:opensuse-leap-15.1
42-
provision_command:
43-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
44-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
4530
run_command: /usr/lib/systemd/systemd
4631
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
4732
# => SCP did not finish successfully (255): (Net::SCP::Error)
4833
transport:
4934
max_ssh_sessions: 1
50-
# Use the `develop` image temporarily until the `master` image is available
51-
# Not changing the name to minimise disruption across all of the formulas
52-
- name: amazonlinux-2-master-py2
35+
- name: amazonlinux-2-master-py3
5336
driver:
54-
image: netmanagers/salt-develop-py2:amazonlinux-2
55-
provision_command:
56-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
57-
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
37+
image: netmanagers/salt-master-py3:amazonlinux-2
5838
- name: arch-base-latest-master-py2
5939
driver:
6040
image: netmanagers/salt-master-py2:arch-base-latest
61-
provision_command:
62-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
63-
- sh bootstrap-salt.sh -XdPbfrq -x python2 git master
6441
run_command: /usr/lib/systemd/systemd
6542

6643
## SALT `2019.2`
@@ -90,9 +67,9 @@ platforms:
9067
- name: centos-7-2019-2-py2
9168
driver:
9269
image: netmanagers/salt-2019.2-py2:centos-7
93-
- name: amazonlinux-2-2019-2-py2
70+
- name: amazonlinux-2-2019-2-py3
9471
driver:
95-
image: netmanagers/salt-2019.2-py2:amazonlinux-2
72+
image: netmanagers/salt-2019.2-py3:amazonlinux-2
9673
- name: arch-base-latest-2019-2-py2
9774
driver:
9875
image: netmanagers/salt-2019.2-py2:arch-base-latest
@@ -119,9 +96,10 @@ platforms:
11996
# => SCP did not finish successfully (255): (Net::SCP::Error)
12097
transport:
12198
max_ssh_sessions: 1
122-
- name: amazonlinux-2-2018-3-py2
99+
- name: amazonlinux-1-2018-3-py2
123100
driver:
124-
image: netmanagers/salt-2018.3-py2:amazonlinux-2
101+
image: netmanagers/salt-2018.3-py2:amazonlinux-1
102+
run_command: /sbin/init
125103
- name: arch-base-latest-2018-3-py2
126104
driver:
127105
image: netmanagers/salt-2018.3-py2:arch-base-latest
@@ -149,9 +127,10 @@ platforms:
149127
# => SCP did not finish successfully (255): (Net::SCP::Error)
150128
transport:
151129
max_ssh_sessions: 1
152-
- name: amazonlinux-2-2017-7-py2
130+
- name: amazonlinux-1-2017-7-py2
153131
driver:
154-
image: netmanagers/salt-2017.7-py2:amazonlinux-2
132+
image: netmanagers/salt-2017.7-py2:amazonlinux-1
133+
run_command: /sbin/init
155134
- name: arch-base-latest-2017-7-py2
156135
driver:
157136
image: netmanagers/salt-2017.7-py2:arch-base-latest
@@ -235,17 +214,17 @@ suites:
235214
includes:
236215
- centos-8-master-py3
237216
- fedora-31-master-py3
238-
- amazonlinux-2-master-py2
217+
- amazonlinux-2-master-py3
239218
- centos-8-2019-2-py3
240219
- fedora-31-2019-2-py3
241-
- amazonlinux-2-2019-2-py2
220+
- amazonlinux-2-2019-2-py3
242221
- centos-7-2019-2-py2
243222
- fedora-30-2018-3-py3
244223
- centos-7-2018-3-py2
245-
- amazonlinux-2-2018-3-py2
224+
- amazonlinux-1-2018-3-py2
246225
- centos-6-2017-7-py2
247226
- fedora-30-2017-7-py2
248-
- amazonlinux-2-2017-7-py2
227+
- amazonlinux-1-2017-7-py2
249228
provisioner:
250229
state_top:
251230
base:

0 commit comments

Comments
 (0)