From d6d3c653e025da846d2cb4810bdb31676821b9c6 Mon Sep 17 00:00:00 2001 From: Bryan McLellan Date: Fri, 17 May 2019 11:49:07 -0400 Subject: remove chef-bin when downgrading Signed-off-by: Bryan McLellan --- kitchen-tests/kitchen.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'kitchen-tests') diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml index dbbcd81c1f..3893f082bd 100644 --- a/kitchen-tests/kitchen.yml +++ b/kitchen-tests/kitchen.yml @@ -18,6 +18,7 @@ lifecycle: - remote: echo "Chef container's Chef / Ohai release:" - remote: /opt/chef/embedded/bin/chef-client -v - remote: /opt/chef/embedded/bin/ohai -v + - remote: /opt/chef/embedded/bin/gem uninstall -x chef-bin # appbundle-updater doesn't remove this when downgrading to 14 - remote: /opt/chef/embedded/bin/gem install appbundler 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'] || %x(git rev-parse HEAD).chomp %> --tarball --github chef/chef -- cgit v1.2.1