Skip to content

Commit

Permalink
ci(kitchen): use salt-minion version of opensuse to ensure tests run
Browse files Browse the repository at this point in the history
* The actual `opensuse/leap` image was passing but not running any
  of the `inspec` tests -- it links to version `15.x`
* `salt-minion` is `42.3`
  • Loading branch information
myii committed Feb 24, 2019
1 parent 6bf86d8 commit 99b073a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
- INSTANCE: default-centos-7
# - INSTANCE: default-centos-6
- INSTANCE: default-fedora
- INSTANCE: default-opensuse-leap
- INSTANCE: default-opensuse-leap-salt-minion

script:
- bundle exec kitchen verify ${INSTANCE}
Expand Down
13 changes: 11 additions & 2 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,22 @@ platforms:
run_command: /usr/lib/systemd/systemd
provision_command:
- yum install -y udev
- name: opensuse-leap
# Note, as of February 2019:
# There have been numerous issues with getting `opensuse` to work
# Note: There have been numerous issues with getting `opensuse` to work
# * `opensuse` is deprecated
# * `opensuse/leap` grabs `15.x`, which doesn't run the `inspec` tests
# * `opensuse/tumbleweed` doesn't install `salt-minion`
# * `opensuse/leap:42.3` does work
# * `opensuse/salt-minion` uses `42.3` with `salt-minion` pre-installed
- name: opensuse-leap-salt-minion
driver_config:
image: opensuse/leap
image: opensuse/salt-minion
run_command: /usr/lib/systemd/systemd
provision_command:
- zypper install -y udev
- systemctl enable sshd.service
- cat /etc/os-release

provisioner:
name: salt_solo
Expand Down

0 comments on commit 99b073a

Please sign in to comment.