Skip to content

Commit d93e3d2

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

File tree

2 files changed

+18
-38
lines changed

2 files changed

+18
-38
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# - env: INSTANCE=centos-centos-8-master-py3
6464
# - env: INSTANCE=fedora-fedora-31-master-py3
6565
# - env: INSTANCE=suse-opensuse-leap-151-master-py3
66-
# - env: INSTANCE=amazon-amazonlinux-2-master-py2
66+
# - env: INSTANCE=amazon-amazonlinux-2-master-py3
6767
# - env: INSTANCE=arch-arch-base-latest-master-py2
6868
# - env: INSTANCE=debian-debian-10-2019-2-py3
6969
# - env: INSTANCE=debian-debian-9-2019-2-py3
@@ -72,21 +72,21 @@ jobs:
7272
# - env: INSTANCE=fedora-fedora-31-2019-2-py3
7373
- env: INSTANCE=suse-opensuse-leap-151-2019-2-py3
7474
# - env: INSTANCE=centos-centos-7-2019-2-py2
75-
- env: INSTANCE=amazon-amazonlinux-2-2019-2-py2
75+
- env: INSTANCE=amazon-amazonlinux-2-2019-2-py3
7676
# - env: INSTANCE=arch-arch-base-latest-2019-2-py2
7777
- env: INSTANCE=fedora-fedora-30-2018-3-py3
7878
# - env: INSTANCE=debian-debian-9-2018-3-py2
7979
# - env: INSTANCE=ubuntu-ubuntu-1604-2018-3-py2
8080
- env: INSTANCE=centos-centos-7-2018-3-py2
8181
# - env: INSTANCE=suse-opensuse-leap-151-2018-3-py2
82-
# - env: INSTANCE=amazon-amazonlinux-2-2018-3-py2
82+
# - env: INSTANCE=amazon-amazonlinux-1-2018-3-py2
8383
# - env: INSTANCE=arch-arch-base-latest-2018-3-py2
8484
# - env: INSTANCE=debian-debian-8-2017-7-py2
8585
# - env: INSTANCE=ubuntu-ubuntu-1604-2017-7-py2
8686
# - env: INSTANCE=centos-centos-6-2017-7-py2
8787
# - env: INSTANCE=fedora-fedora-30-2017-7-py2
8888
# - env: INSTANCE=suse-opensuse-leap-151-2017-7-py2
89-
# - env: INSTANCE=amazon-amazonlinux-2-2017-7-py2
89+
# - env: INSTANCE=amazon-amazonlinux-1-2017-7-py2
9090
- env: INSTANCE=arch-arch-base-latest-2017-7-py2
9191

9292
## Define the release stage that runs `semantic-release`

kitchen.yml

Lines changed: 14 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,52 +16,30 @@ platforms:
1616
driver:
1717
image: netmanagers/salt-master-py3:debian-10
1818
provision_command:
19-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
20-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
2119
- apt-get install -y snapd
2220
- name: ubuntu-1804-master-py3
2321
driver:
2422
image: netmanagers/salt-master-py3:ubuntu-18.04
25-
provision_command:
26-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
27-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
2823
- name: centos-8-master-py3
2924
driver:
3025
image: netmanagers/salt-master-py3:centos-8
31-
provision_command:
32-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
33-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
3426
- name: fedora-31-master-py3
3527
driver:
3628
image: netmanagers/salt-master-py3:fedora-31
37-
provision_command:
38-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
39-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
4029
- name: opensuse-leap-151-master-py3
4130
driver:
4231
image: netmanagers/salt-master-py3:opensuse-leap-15.1
43-
provision_command:
44-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
45-
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
4632
run_command: /usr/lib/systemd/systemd
4733
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
4834
# => SCP did not finish successfully (255): (Net::SCP::Error)
4935
transport:
5036
max_ssh_sessions: 1
51-
# Use the `develop` image temporarily until the `master` image is available
52-
# Not changing the name to minimise disruption across all of the formulas
53-
- name: amazonlinux-2-master-py2
37+
- name: amazonlinux-2-master-py3
5438
driver:
55-
image: netmanagers/salt-develop-py2:amazonlinux-2
56-
provision_command:
57-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
58-
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
39+
image: netmanagers/salt-master-py3:amazonlinux-2
5940
- name: arch-base-latest-master-py2
6041
driver:
6142
image: netmanagers/salt-master-py2:arch-base-latest
62-
provision_command:
63-
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
64-
- sh bootstrap-salt.sh -XdPbfrq -x python2 git master
6543
run_command: /usr/lib/systemd/systemd
6644

6745
## SALT `2019.2`
@@ -95,9 +73,9 @@ platforms:
9573
- name: centos-7-2019-2-py2
9674
driver:
9775
image: netmanagers/salt-2019.2-py2:centos-7
98-
- name: amazonlinux-2-2019-2-py2
76+
- name: amazonlinux-2-2019-2-py3
9977
driver:
100-
image: netmanagers/salt-2019.2-py2:amazonlinux-2
78+
image: netmanagers/salt-2019.2-py3:amazonlinux-2
10179
- name: arch-base-latest-2019-2-py2
10280
driver:
10381
image: netmanagers/salt-2019.2-py2:arch-base-latest
@@ -126,9 +104,10 @@ platforms:
126104
# => SCP did not finish successfully (255): (Net::SCP::Error)
127105
transport:
128106
max_ssh_sessions: 1
129-
- name: amazonlinux-2-2018-3-py2
107+
- name: amazonlinux-1-2018-3-py2
130108
driver:
131-
image: netmanagers/salt-2018.3-py2:amazonlinux-2
109+
image: netmanagers/salt-2018.3-py2:amazonlinux-1
110+
run_command: /sbin/init
132111
- name: arch-base-latest-2018-3-py2
133112
driver:
134113
image: netmanagers/salt-2018.3-py2:arch-base-latest
@@ -156,9 +135,10 @@ platforms:
156135
# => SCP did not finish successfully (255): (Net::SCP::Error)
157136
transport:
158137
max_ssh_sessions: 1
159-
- name: amazonlinux-2-2017-7-py2
138+
- name: amazonlinux-1-2017-7-py2
160139
driver:
161-
image: netmanagers/salt-2017.7-py2:amazonlinux-2
140+
image: netmanagers/salt-2017.7-py2:amazonlinux-1
141+
run_command: /sbin/init
162142
- name: arch-base-latest-2017-7-py2
163143
driver:
164144
image: netmanagers/salt-2017.7-py2:arch-base-latest
@@ -286,10 +266,10 @@ suites:
286266
- path: test/integration/default
287267
- name: amazon
288268
includes:
289-
- amazonlinux-2-master-py2
290-
- amazonlinux-2-2019-2-py2
291-
- amazonlinux-2-2018-3-py2
292-
- amazonlinux-2-2017-7-py2
269+
- amazonlinux-2-master-py3
270+
- amazonlinux-2-2019-2-py3
271+
- amazonlinux-1-2018-3-py2
272+
- amazonlinux-1-2017-7-py2
293273
provisioner:
294274
state_top:
295275
base:

0 commit comments

Comments
 (0)