summaryrefslogtreecommitdiff
path: root/kitchen-tests/kitchen.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'kitchen-tests/kitchen.travis.yml')
-rw-r--r--kitchen-tests/kitchen.travis.yml19
1 files changed, 7 insertions, 12 deletions
diff --git a/kitchen-tests/kitchen.travis.yml b/kitchen-tests/kitchen.travis.yml
index f445f5a36e..5723e13ffd 100644
--- a/kitchen-tests/kitchen.travis.yml
+++ b/kitchen-tests/kitchen.travis.yml
@@ -9,21 +9,16 @@ transport:
name: dokken
provisioner:
- name: chef_github
- root_path: /opt/kitchen
- require_chef_omnibus: latest
- chef_omnibus_url: "https://omnitruck.chef.io/install.sh"
- chef_omnibus_install_options: "-c current"
- github_owner: "chef"
- github_repo: "chef"
- refname: <%= ENV['TRAVIS_COMMIT'] %>
- ohai_refname: "<%= File.readlines('../Gemfile.lock', File.expand_path(File.dirname(__FILE__))).find { |l| l =~ /^\s+ohai \((\d+\.\d+\.\d+)\)/ }; 'v' + $1 %>"
- github_access_token: <%= ENV['KITCHEN_GITHUB_TOKEN'] %>
- data_path: test/fixtures
-# disable file provider diffs so we don't overflow travis' line limit
+ name: dokken
client_rb:
diff_disabled: true
+lifecycle:
+ pre_converge:
+ - remote: /opt/chef/embedded/bin/gem install appbundle-updater
+ - remote: /opt/chef/embedded/bin/appbundle-updater chef ohai <%= File.readlines('../Gemfile.lock', File.expand_path(File.dirname(__FILE__))).find { |l| l =~ /^\s+ohai \((\d+\.\d+\.\d+)\)/ }; 'v' + $1 %> --tarball --github chef/ohai
+ - remote: /opt/chef/embedded/bin/appbundle-updater chef chef <%= ENV['TRAVIS_COMMIT'] %> --tarball --github chef/chef
+
verifier:
name: inspec
format: progress