Skip to content

Commit 3f8d3a9

Browse files
authored
Merge pull request #50 from myii/ci/use-bootstrapped-amazonlinux-1-images
ci(kitchen+travis): use bootstrapped `amazonlinux-1` images
2 parents c38389c + a9576e8 commit 3f8d3a9

2 files changed

Lines changed: 30 additions & 7 deletions

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ jobs:
6161
## Define the rest of the matrix based on Kitchen testing
6262
# Make sure the instances listed below match up with
6363
# the `platforms` defined in `kitchen.yml`
64+
# - env: INSTANCE=amazonlinux-1-master-py2
6465
- env: INSTANCE=debian-10-master-py3
6566
# - env: INSTANCE=ubuntu-1804-master-py3
6667
# - env: INSTANCE=centos-8-master-py3
6768
# - env: INSTANCE=fedora-31-master-py3
6869
# - env: INSTANCE=opensuse-leap-151-master-py3
6970
# - env: INSTANCE=amazonlinux-2-master-py2
7071
# - env: INSTANCE=arch-base-latest-master-py2
72+
# - env: INSTANCE=amazonlinux-1-2019-2-py2
7173
# - env: INSTANCE=debian-10-2019-2-py3
7274
# - env: INSTANCE=debian-9-2019-2-py3
7375
- env: INSTANCE=prod-server-ubuntu-1804-2019-2-py3
@@ -78,12 +80,14 @@ jobs:
7880
- env: INSTANCE=prod-server-amazonlinux-2-2019-2-py2
7981
# - env: INSTANCE=arch-base-latest-2019-2-py2
8082
# - env: INSTANCE=fedora-30-2018-3-py3
83+
# - env: INSTANCE=amazonlinux-1-2018-3-py2
8184
# - env: INSTANCE=debian-9-2018-3-py2
8285
# - env: INSTANCE=ubuntu-1604-2018-3-py2
8386
- env: INSTANCE=prod-server-centos-7-2018-3-py2
8487
- env: INSTANCE=prod-server-opensuse-leap-151-2018-3-py2
8588
# - env: INSTANCE=amazonlinux-2-2018-3-py2
8689
# - env: INSTANCE=arch-base-latest-2018-3-py2
90+
# - env: INSTANCE=amazonlinux-1-2017-7-py2
8791
# - env: INSTANCE=debian-8-2017-7-py2
8892
# - env: INSTANCE=ubuntu-1604-2017-7-py2
8993
# - env: INSTANCE=centos-6-2017-7-py2

kitchen.yml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ driver:
1111
# Make sure the platforms listed below match up with
1212
# the `env.matrix` instances defined in `.travis.yml`
1313
platforms:
14-
- name: amazonlinux
14+
## SALT `master`
15+
- name: amazonlinux-1-master-py2
1516
driver:
1617
image: amazonlinux:1
17-
platform: rhel
18-
run_command: /sbin/init
1918
provision_command:
20-
# install latest stable Salt
21-
- curl -L https://bootstrap.saltstack.com | sh -s -- -X
22-
23-
## SALT `master`
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
2422
- name: debian-10-master-py3
2523
driver:
2624
image: netmanagers/salt-master-py3:debian-10
@@ -73,6 +71,13 @@ platforms:
7371
run_command: /usr/lib/systemd/systemd
7472

7573
## SALT `2019.2`
74+
- name: amazonlinux-1-2019-2-py2
75+
driver:
76+
image: amazonlinux:1
77+
provision_command:
78+
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
79+
- sh bootstrap-salt.sh -XdPfq -x python2 git 2019.2
80+
run_command: /sbin/init
7681
- name: debian-10-2019-2-py3
7782
driver:
7883
image: netmanagers/salt-2019.2-py3:debian-10
@@ -111,6 +116,13 @@ platforms:
111116
- name: fedora-30-2018-3-py3
112117
driver:
113118
image: netmanagers/salt-2018.3-py3:fedora-30
119+
- name: amazonlinux-1-2018-3-py2
120+
driver:
121+
image: amazonlinux:1
122+
provision_command:
123+
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
124+
- sh bootstrap-salt.sh -XdPfq -x python2 git 2018.3
125+
run_command: /sbin/init
114126
- name: debian-9-2018-3-py2
115127
driver:
116128
image: netmanagers/salt-2018.3-py2:debian-9
@@ -137,6 +149,13 @@ platforms:
137149
run_command: /usr/lib/systemd/systemd
138150

139151
## SALT `2017.7`
152+
- name: amazonlinux-1-2017-7-py2
153+
driver:
154+
image: amazonlinux:1
155+
provision_command:
156+
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
157+
- sh bootstrap-salt.sh -XdPfq -x python2 git 2017.7
158+
run_command: /sbin/init
140159
- name: debian-8-2017-7-py2
141160
driver:
142161
image: netmanagers/salt-2017.7-py2:debian-8

0 commit comments

Comments
 (0)