Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
erlang
Commits
adedbf73
Commit
adedbf73
authored
Dec 26, 2018
by
Tim Smith
Browse files
Test on Ubuntu 18.04 and Chef 13/14 in Travis
Expand our testing a bit. Signed-off-by:
Tim Smith
<
tsmith@chef.io
>
parent
d467e949
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
adedbf73
...
...
@@ -42,8 +42,6 @@ vendor/
.coverage/
.zero-knife.rb
Policyfile.lock.json
Cheffile.lock
.librarian/
# vagrant stuff
.vagrant/
...
...
.travis.yml
View file @
adedbf73
sudo
:
required
dist
:
trusty
addons
:
apt
:
...
...
@@ -19,15 +18,32 @@ services: docker
env
:
matrix
:
-
INSTANCE=default-ubuntu-1604
-
INSTANCE=default-debian-8
-
INSTANCE=default-centos-6
-
INSTANCE=default-centos-7
-
INSTANCE=default-fedora-latest
-
INSTANCE=source-ubuntu-1604
-
INSTANCE=source-debian-8
-
INSTANCE=source-fedora-latest
-
INSTANCE=source-centos-7
-
CHEF_VERSION=13 INSTANCE=default-ubuntu-1604
-
CHEF_VERSION=13 INSTANCE=default-ubuntu-1804
-
CHEF_VERSION=13 INSTANCE=default-debian-8
-
CHEF_VERSION=13 INSTANCE=default-debian-9
-
CHEF_VERSION=13 INSTANCE=default-centos-6
-
CHEF_VERSION=13 INSTANCE=default-centos-7
-
CHEF_VERSION=13 INSTANCE=default-fedora-latest
-
CHEF_VERSION=13 INSTANCE=source-ubuntu-1604
-
CHEF_VERSION=13 INSTANCE=source-ubuntu-1804
-
CHEF_VERSION=13 INSTANCE=source-debian-8
-
CHEF_VERSION=13 INSTANCE=source-debian-9
-
CHEF_VERSION=13 INSTANCE=source-fedora-latest
-
CHEF_VERSION=13 INSTANCE=source-centos-7
-
CHEF_VERSION=14 INSTANCE=default-ubuntu-1604
-
CHEF_VERSION=14 INSTANCE=default-ubuntu-1804
-
CHEF_VERSION=14 INSTANCE=default-debian-8
-
CHEF_VERSION=14 INSTANCE=default-debian-9
-
CHEF_VERSION=14 INSTANCE=default-centos-6
-
CHEF_VERSION=14 INSTANCE=default-centos-7
-
CHEF_VERSION=14 INSTANCE=default-fedora-latest
-
CHEF_VERSION=14 INSTANCE=source-ubuntu-1604
-
CHEF_VERSION=14 INSTANCE=source-ubuntu-1804
-
CHEF_VERSION=14 INSTANCE=source-debian-8
-
CHEF_VERSION=14 INSTANCE=source-debian-9
-
CHEF_VERSION=14 INSTANCE=source-fedora-latest
-
CHEF_VERSION=14 INSTANCE=source-centos-7
before_script
:
-
sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
...
...
@@ -36,7 +52,7 @@ before_script:
-
cookstyle --version
-
foodcritic --version
script
:
KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
script
:
KITCHEN_LOCAL_YAML=kitchen.dokken.yml
CHEF_VERSION=${CHEF_VERSION}
kitchen verify ${INSTANCE}
matrix
:
include
:
...
...
kitchen.dokken.yml
View file @
adedbf73
...
...
@@ -19,6 +19,11 @@ platforms:
image
:
dokken/amazonlinux
pid_one_command
:
/sbin/init
-
name
:
amazonlinux-2
driver
:
image
:
dokken/amazonlinux-2
pid_one_command
:
/usr/lib/systemd/systemd
-
name
:
debian-8
driver
:
image
:
dokken/debian-8
...
...
@@ -48,16 +53,16 @@ platforms:
image
:
dokken/fedora-latest
pid_one_command
:
/usr/lib/systemd/systemd
-
name
:
ubuntu-1
4
.04
-
name
:
ubuntu-1
6
.04
driver
:
image
:
dokken/ubuntu-1
4
.04
pid_one_command
:
/
s
bin/
init
image
:
dokken/ubuntu-1
6
.04
pid_one_command
:
/bin/
systemd
intermediate_instructions
:
-
RUN /usr/bin/apt-get update
-
name
:
ubuntu-1
6
.04
-
name
:
ubuntu-1
8
.04
driver
:
image
:
dokken/ubuntu-1
6
.04
image
:
dokken/ubuntu-1
8
.04
pid_one_command
:
/bin/systemd
intermediate_instructions
:
-
RUN /usr/bin/apt-get update
...
...
kitchen.yml
View file @
adedbf73
...
...
@@ -3,8 +3,12 @@ driver:
provisioner
:
name
:
chef_zero
deprecations_as_errors
:
true
platforms
:
-
name
:
amazonlinux
driver_config
:
box
:
mvbcoding/awslinux
-
name
:
centos-6
-
name
:
centos-7
-
name
:
debian-8
...
...
@@ -15,6 +19,8 @@ platforms:
-
name
:
opensuse-leap-42
-
name
:
ubuntu-16.04
run_list
:
apt::default
-
name
:
ubuntu-18.04
run_list
:
apt::default
suites
:
-
name
:
default
...
...
@@ -37,7 +43,7 @@ suites:
-
recipe[erlang::esl]
excludes
:
-
fedora-28
-
opensuse-42
-
opensuse-
leap-
42
-
name
:
source
run_list
:
...
...
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