-
Notifications
You must be signed in to change notification settings - Fork 133
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
Update kitchen config for more platforms #213
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
67fc529
Remove Debian 9 testing
tas50 cdabdf1
Require a modern test-kitchen
tas50 926ab5a
Simplify the chef_version config in dokken
tas50 2a3aef0
Use the bento slugs in Kitchen vagrant + add new platforms
tas50 e7e907b
Use dokken images for kitchen-dokken + add new platforms
tas50 362f880
Test Ubuntu 18.04 / Debian 9 in Travis
tas50 22c2a26
Add Debian 9 / Ubuntu 18.04 for Digital Ocean
tas50 9b9c068
Allow failures on Ubuntu 18.04
artem-sidorenko a1349b7
Temporary allow Amazon Linux 2 to fail
artem-sidorenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,7 @@ | |
driver: | ||
name: dokken | ||
privileged: true # because Docker and SystemD/Upstart | ||
<% if ENV['CHEF_VERSION'] %> | ||
chef_version: <%= ENV['CHEF_VERSION'] %> | ||
<% end %> | ||
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 |
||
|
||
transport: | ||
name: dokken | ||
|
@@ -19,23 +17,21 @@ verifier: | |
sudo: true | ||
|
||
platforms: | ||
- name: ubuntu-14-04 | ||
- name: amazonlinux-1 | ||
driver: | ||
image: ubuntu:14.04 | ||
- name: ubuntu-16-04 | ||
image: dokken/amazonlinux | ||
pid_one_command: /sbin/init | ||
- name: amazonlinux-2 | ||
driver: | ||
image: ubuntu:16.04 | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update | ||
pid_one_command: /bin/systemd | ||
image: dokken/amazonlinux-2 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
- name: centos-6 | ||
driver: | ||
image: centos:6 | ||
intermediate_instructions: | ||
- RUN yum install -y initscripts | ||
image: dokken/centos-6 | ||
pid_one_command: /sbin/init | ||
- name: centos-7 | ||
driver: | ||
image: centos:7 | ||
image: dokken/centos-7 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
- name: oracle-6 | ||
driver: | ||
|
@@ -44,40 +40,49 @@ platforms: | |
driver: | ||
image: oraclelinux:7 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
- name: debian-7 | ||
- name: debian-8 | ||
driver: | ||
image: debian:7 | ||
image: dokken/debian-8 | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update | ||
- RUN /usr/bin/apt-get install -y procps | ||
- name: debian-8 | ||
pid_one_command: /bin/systemd | ||
- name: debian-9 | ||
driver: | ||
image: debian:8 | ||
image: dokken/debian-9 | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update | ||
- RUN /usr/bin/apt-get install -y procps | ||
pid_one_command: /bin/systemd | ||
- name: fedora-26 | ||
driver: | ||
image: fedora:26 | ||
image: dokken/fedora-26 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
intermediate_instructions: | ||
- RUN dnf install -y yum | ||
- name: fedora-27 | ||
driver: | ||
image: fedora:27 | ||
image: dokken/fedora-27 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
intermediate_instructions: | ||
- RUN dnf install -y yum | ||
- name: opensuse-42 | ||
driver: | ||
image: opensuse:leap | ||
pid_one_command: /usr/lib/systemd/systemd | ||
- name: amazonlinux-1 | ||
image: dokken/opensuse-leap | ||
pid_one_command: /bin/systemd | ||
- name: ubuntu-14-04 | ||
driver: | ||
image: dokken/amazonlinux | ||
image: dokken/ubuntu-14.04 | ||
pid_one_command: /sbin/init | ||
- name: amazonlinux-2 | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update | ||
- name: ubuntu-16-04 | ||
driver: | ||
image: dokken/amazonlinux-2 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
image: dokken/ubuntu-16.04 | ||
pid_one_command: /bin/systemd | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update | ||
- name: ubuntu-18-04 | ||
driver: | ||
image: dokken/ubuntu-18.04 | ||
pid_one_command: /bin/systemd | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,23 +17,25 @@ env: | |
- INSTANCE=ubuntu-14-04 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=ubuntu-16-04 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=ubuntu-16-04 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=ubuntu-18-04 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=centos-6 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=centos-7 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=centos-7 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=debian-7 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=debian-8 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tas50 can you please add debian-9 here? |
||
- INSTANCE=debian-9 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=fedora-26 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=fedora-27 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- INSTANCE=ubuntu-14-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=ubuntu-16-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=ubuntu-18-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=ubuntu-16-04 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=centos-6 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=centos-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=centos-7 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=oracle-6 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=oracle-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=debian-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=debian-8 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=debian-9 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=fedora-26 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=fedora-27 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- INSTANCE=opensuse-42 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
|
@@ -47,9 +49,12 @@ matrix: | |
allow_failures: # temporaray disable failing tests until all problems are fixed | ||
- env: INSTANCE=ubuntu-16-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- env: INSTANCE=ubuntu-16-04 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- env: INSTANCE=ubuntu-18-04 KITCHEN_LOCAL_YAML=.kitchen.do.yml | ||
- env: INSTANCE=ubuntu-18-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- env: INSTANCE=centos-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- env: INSTANCE=centos-7 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- env: INSTANCE=opensuse-42 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml | ||
- env: INSTANCE=amazonlinux-2 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml # https://github.com/inspec/train/pull/312 | ||
include: | ||
- env: UNIT_AND_LINT=1 | ||
script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tas50 can you please add debian-9 here? image is
debian-9-x64