Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
chef-cron
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
mirror
chef-cron
Commits
fc71b2d6
Commit
fc71b2d6
authored
Sep 30, 2019
by
Tim Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Chef 14 and Debian 10 testing in Travis
Signed-off-by:
Tim Smith
<
tsmith@chef.io
>
parent
c4f46fa1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
8 deletions
+27
-8
.travis.yml
.travis.yml
+15
-4
Gemfile
Gemfile
+1
-1
kitchen.dokken.yml
kitchen.dokken.yml
+8
-0
kitchen.yml
kitchen.yml
+3
-3
No files found.
.travis.yml
View file @
fc71b2d6
...
...
@@ -6,7 +6,6 @@ addons:
packages
:
-
chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install
:
echo "skip bundle install"
env
:
...
...
@@ -24,6 +23,7 @@ env:
-
INSTANCE=default-centos-7 CHEF_VERSION=13
-
INSTANCE=default-debian-8 CHEF_VERSION=13
-
INSTANCE=default-debian-9 CHEF_VERSION=13
-
INSTANCE=default-debian-10 CHEF_VERSION=13
-
INSTANCE=default-fedora-latest CHEF_VERSION=13
-
INSTANCE=default-ubuntu-1604 CHEF_VERSION=13
-
INSTANCE=default-ubuntu-1804 CHEF_VERSION=13
...
...
@@ -31,10 +31,23 @@ env:
-
INSTANCE=default-amazonlinux CHEF_VERSION=13
-
INSTANCE=default-amazonlinux-2 CHEF_VERSION=13
-
INSTANCE=manage-centos-7 CHEF_VERSION=13
-
INSTANCE=default-centos-6 CHEF_VERSION=14
-
INSTANCE=default-centos-7 CHEF_VERSION=14
-
INSTANCE=default-debian-8 CHEF_VERSION=14
-
INSTANCE=default-debian-9 CHEF_VERSION=14
-
INSTANCE=default-debian-10 CHEF_VERSION=14
-
INSTANCE=default-fedora-latest CHEF_VERSION=14
-
INSTANCE=default-ubuntu-1604 CHEF_VERSION=14
-
INSTANCE=default-ubuntu-1804 CHEF_VERSION=14
-
INSTANCE=default-opensuse-leap CHEF_VERSION=14
-
INSTANCE=default-amazonlinux CHEF_VERSION=14
-
INSTANCE=default-amazonlinux-2 CHEF_VERSION=14
-
INSTANCE=manage-centos-7 CHEF_VERSION=14
-
INSTANCE=default-centos-6
-
INSTANCE=default-centos-7
-
INSTANCE=default-debian-8
-
INSTANCE=default-debian-9
-
INSTANCE=default-debian-10
-
INSTANCE=default-fedora-latest
-
INSTANCE=default-ubuntu-1604
-
INSTANCE=default-ubuntu-1804
...
...
@@ -47,15 +60,13 @@ before_script:
-
sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
-
eval "$(chef shell-init bash)"
-
chef --version
-
cookstyle --version
-
foodcritic --version
script
:
KITCHEN_LOCAL_YAML=kitchen.dokken.yml CHEF_VERSION=${CHEF_VERSION} kitchen verify ${INSTANCE}
matrix
:
include
:
-
script
:
-
chef exec
delivery local all
-
delivery local all
env
:
-
UNIT_AND_LINT=1
-
CHEF_LICENSE=accept
Gemfile
View file @
fc71b2d6
# This gemfile provides additional gems for testing and releasing this cookbook
# It is meant to be installed on top of ChefDK
which provides
the majority
# It is meant to be installed on top of ChefDK
/ Chef Workstation which provide
the majority
# of the necessary gems for testing this cookbook
#
# Run 'chef exec bundle install' to install these dependencies
...
...
kitchen.dokken.yml
View file @
fc71b2d6
...
...
@@ -2,6 +2,7 @@ driver:
name
:
dokken
privileged
:
true
# because Docker and SystemD/Upstart
chef_version
:
<%= ENV['CHEF_VERSION'] || 'current' %>
chef_license
:
accept-no-persist
transport
:
name
:
dokken
...
...
@@ -38,6 +39,13 @@ platforms:
intermediate_instructions
:
-
RUN /usr/bin/apt-get update
-
name
:
debian-10
driver
:
image
:
dokken/debian-10
pid_one_command
:
/bin/systemd
intermediate_instructions
:
-
RUN /usr/bin/apt-get update
-
name
:
centos-6
driver
:
image
:
dokken/centos-6
...
...
kitchen.yml
View file @
fc71b2d6
...
...
@@ -13,14 +13,14 @@ platforms:
-
name
:
amazonlinux
driver_config
:
box
:
mvbcoding/awslinux
-
name
:
amazonlinux-2
# requires insalling the virtualbox extension pack
-
name
:
amazonlinux-2
# requires ins
t
alling the virtualbox extension pack
driver_config
:
box
:
stakahashi/amazonlinux2
-
name
:
centos-6
-
name
:
centos-7
-
name
:
debian-8
-
name
:
debian-9
-
name
:
fedora-28
-
name
:
debian-10
-
name
:
fedora-29
-
name
:
opensuse-leap-42
-
name
:
sles-11-sp2
driver
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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