Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Commit

Permalink
Remove kitchen-dokken testing
Browse files Browse the repository at this point in the history
swap doesn't like docker

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Aug 5, 2016
1 parent b1e1473 commit 503d4f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 149 deletions.
104 changes: 0 additions & 104 deletions .kitchen.docker.yml

This file was deleted.

50 changes: 5 additions & 45 deletions .travis.yml
@@ -1,11 +1,9 @@
sudo: required
dist: trusty

# install the pre-release chef-dk. Use chef-stable-precise to install the stable release
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-trusty
- chef-current-precise
packages:
- chefdk

Expand All @@ -14,52 +12,14 @@ install: echo "skip bundle install"

branches:
only:
- master

services: docker

env:
matrix:
- INSTANCE=create-centos-6
- INSTANCE=create-centos-7
- INSTANCE=create-debian-7
- INSTANCE=create-debian-8
- INSTANCE=create-fedora-latest
- INSTANCE=create-opensuse-132
- INSTANCE=create-opensuse-421
- INSTANCE=create-ubuntu-1204
- INSTANCE=create-ubuntu-1404
- INSTANCE=create-ubuntu-1604
- INSTANCE=persist-centos-6
- INSTANCE=persist-centos-7
- INSTANCE=persist-debian-7
- INSTANCE=persist-debian-8
- INSTANCE=persist-fedora-latest
- INSTANCE=persist-opensuse-132
- INSTANCE=persist-opensuse-421
- INSTANCE=persist-ubuntu-1204
- INSTANCE=persist-ubuntu-1404
- INSTANCE=persist-ubuntu-1604
- INSTANCE=remove-centos-6
- INSTANCE=remove-centos-7
- INSTANCE=remove-debian-7
- INSTANCE=remove-debian-8
- INSTANCE=remove-fedora-latest
- INSTANCE=remove-opensuse-132
- INSTANCE=remove-opensuse-421
- INSTANCE=remove-ubuntu-1204
- INSTANCE=remove-ubuntu-1404
- INSTANCE=remove-ubuntu-1604

fast_finish: true
- master

# Ensure we make ChefDK's Ruby the default
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"

script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/bin/chef exec rake
- KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
2 changes: 2 additions & 0 deletions Rakefile
Expand Up @@ -49,6 +49,8 @@ namespace :integration do
Kitchen::RakeTasks.new
rescue LoadError => e
puts ">>> Gem load error: #{e}, omitting #{task.name}" unless ENV['CI']
rescue Kitchen::UserError => e
puts ">>> Test Kitchen error: #{e}" unless ENV['CI']
end
end

Expand Down

0 comments on commit 503d4f1

Please sign in to comment.