Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(kitchen): use salt-minion version of opensuse to ensure tests run #45

Merged
merged 1 commit into from
Feb 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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