Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
chef-ulimit
Commits
01a50112
Commit
01a50112
authored
Feb 20, 2018
by
Tim Smith
Browse files
Test in Travis with kitchen-dokken
Signed-off-by:
Tim Smith
<
tsmith@chef.io
>
parent
6cc3acd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
.kitchen.dokken.yml
0 → 100644
View file @
01a50112
driver
:
name
:
dokken
privileged
:
true
# because Docker and SystemD/Upstart
transport
:
name
:
dokken
provisioner
:
name
:
dokken
platforms
:
-
name
:
debian-8
driver
:
image
:
dokken/debian-8
pid_one_command
:
/bin/systemd
intermediate_instructions
:
-
RUN /usr/bin/apt-get update
-
name
:
debian-9
driver
:
image
:
dokken/debian-9
pid_one_command
:
/bin/systemd
intermediate_instructions
:
-
RUN /usr/bin/apt-get update
-
name
:
centos-6
driver
:
image
:
dokken/centos-6
platform
:
rhel
pid_one_command
:
/sbin/init
-
name
:
centos-7
driver
:
image
:
dokken/centos-7
platform
:
rhel
pid_one_command
:
/usr/lib/systemd/systemd
-
name
:
fedora-26
driver
:
image
:
dokken/fedora-26
pid_one_command
:
/usr/lib/systemd/systemd
-
name
:
fedora-27
driver
:
image
:
dokken/fedora-27
pid_one_command
:
/usr/lib/systemd/systemd
-
name
:
ubuntu-14.04
driver
:
image
:
dokken/ubuntu-14.04
pid_one_command
:
/sbin/init
intermediate_instructions
:
-
RUN /usr/bin/apt-get update
-
name
:
ubuntu-16.04
driver
:
image
:
dokken/ubuntu-16.04
pid_one_command
:
/bin/systemd
intermediate_instructions
:
-
RUN /usr/bin/apt-get update
-
name
:
opensuse-leap
driver
:
image
:
dokken/opensuse-leap
pid_one_command
:
/bin/systemd
.travis.yml
View file @
01a50112
sudo
:
required
dist
:
trusty
sudo
:
false
addons
:
apt
:
sources
:
...
...
@@ -8,20 +8,33 @@ addons:
packages
:
-
chefdk
# Don't `bundle install`
# Don't `bundle install`
which takes about 1.5 mins
install
:
echo "skip bundle install"
branches
:
only
:
-
master
# Ensure we make ChefDK's Ruby the default
before_script
:
-
eval "$(chef shell-init bash)"
services
:
docker
script
:
env
:
matrix
:
-
INSTANCE=default-ubuntu-1404
-
INSTANCE=default-ubuntu-1604
-
INSTANCE=default-centos-7
-
INSTANCE=default-debian-8
before_script
:
-
sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
-
eval "$(/opt/chefdk/bin/chef shell-init bash)"
-
chef --version
-
cookstyle --version
-
foodcritic --version
-
chef exec delivery local all
script
:
KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix
:
include
:
-
script
:
-
/opt/chefdk/bin/chef exec delivery local all
env
:
UNIT_AND_LINT=1
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment