Skip to content

Commit

Permalink
Merge pull request #50 from myii/ci/use-bootstrapped-amazonlinux-1-im…
Browse files Browse the repository at this point in the history
…ages

ci(kitchen+travis): use bootstrapped `amazonlinux-1` images
  • Loading branch information
myii authored Nov 7, 2019
2 parents c38389c + a9576e8 commit 3f8d3a9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ jobs:
## Define the rest of the matrix based on Kitchen testing
# Make sure the instances listed below match up with
# the `platforms` defined in `kitchen.yml`
# - env: INSTANCE=amazonlinux-1-master-py2
- env: INSTANCE=debian-10-master-py3
# - env: INSTANCE=ubuntu-1804-master-py3
# - env: INSTANCE=centos-8-master-py3
# - env: INSTANCE=fedora-31-master-py3
# - env: INSTANCE=opensuse-leap-151-master-py3
# - env: INSTANCE=amazonlinux-2-master-py2
# - env: INSTANCE=arch-base-latest-master-py2
# - env: INSTANCE=amazonlinux-1-2019-2-py2
# - env: INSTANCE=debian-10-2019-2-py3
# - env: INSTANCE=debian-9-2019-2-py3
- env: INSTANCE=prod-server-ubuntu-1804-2019-2-py3
Expand All @@ -78,12 +80,14 @@ jobs:
- env: INSTANCE=prod-server-amazonlinux-2-2019-2-py2
# - env: INSTANCE=arch-base-latest-2019-2-py2
# - env: INSTANCE=fedora-30-2018-3-py3
# - env: INSTANCE=amazonlinux-1-2018-3-py2
# - env: INSTANCE=debian-9-2018-3-py2
# - env: INSTANCE=ubuntu-1604-2018-3-py2
- env: INSTANCE=prod-server-centos-7-2018-3-py2
- env: INSTANCE=prod-server-opensuse-leap-151-2018-3-py2
# - env: INSTANCE=amazonlinux-2-2018-3-py2
# - env: INSTANCE=arch-base-latest-2018-3-py2
# - env: INSTANCE=amazonlinux-1-2017-7-py2
# - env: INSTANCE=debian-8-2017-7-py2
# - env: INSTANCE=ubuntu-1604-2017-7-py2
# - env: INSTANCE=centos-6-2017-7-py2
Expand Down
33 changes: 26 additions & 7 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ driver:
# Make sure the platforms listed below match up with
# the `env.matrix` instances defined in `.travis.yml`
platforms:
- name: amazonlinux
## SALT `master`
- name: amazonlinux-1-master-py2
driver:
image: amazonlinux:1
platform: rhel
run_command: /sbin/init
provision_command:
# install latest stable Salt
- curl -L https://bootstrap.saltstack.com | sh -s -- -X

## SALT `master`
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
- sh bootstrap-salt.sh -XdPfq -x python2 git master
run_command: /sbin/init
- name: debian-10-master-py3
driver:
image: netmanagers/salt-master-py3:debian-10
Expand Down Expand Up @@ -73,6 +71,13 @@ platforms:
run_command: /usr/lib/systemd/systemd

## SALT `2019.2`
- name: amazonlinux-1-2019-2-py2
driver:
image: amazonlinux:1
provision_command:
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
- sh bootstrap-salt.sh -XdPfq -x python2 git 2019.2
run_command: /sbin/init
- name: debian-10-2019-2-py3
driver:
image: netmanagers/salt-2019.2-py3:debian-10
Expand Down Expand Up @@ -111,6 +116,13 @@ platforms:
- name: fedora-30-2018-3-py3
driver:
image: netmanagers/salt-2018.3-py3:fedora-30
- name: amazonlinux-1-2018-3-py2
driver:
image: amazonlinux:1
provision_command:
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
- sh bootstrap-salt.sh -XdPfq -x python2 git 2018.3
run_command: /sbin/init
- name: debian-9-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:debian-9
Expand All @@ -137,6 +149,13 @@ platforms:
run_command: /usr/lib/systemd/systemd

## SALT `2017.7`
- name: amazonlinux-1-2017-7-py2
driver:
image: amazonlinux:1
provision_command:
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
- sh bootstrap-salt.sh -XdPfq -x python2 git 2017.7
run_command: /sbin/init
- name: debian-8-2017-7-py2
driver:
image: netmanagers/salt-2017.7-py2:debian-8
Expand Down

0 comments on commit 3f8d3a9

Please sign in to comment.