diff options
author | Bryan McLellan <btm@loftninjas.org> | 2019-05-17 11:49:07 -0400 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2019-05-17 11:49:07 -0400 |
commit | d6d3c653e025da846d2cb4810bdb31676821b9c6 (patch) | |
tree | 772d9da02b6b79e4257074050176b6ef577cc6fd /kitchen-tests | |
parent | ae48f17a4a9ecfeb936197b61e8449c547a11d37 (diff) | |
download | chef-d6d3c653e025da846d2cb4810bdb31676821b9c6.tar.gz |
remove chef-bin when downgrading
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/kitchen.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |