summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2019-05-17 11:49:07 -0400
committerBryan McLellan <btm@loftninjas.org>2019-05-17 11:49:07 -0400
commitd6d3c653e025da846d2cb4810bdb31676821b9c6 (patch)
tree772d9da02b6b79e4257074050176b6ef577cc6fd /kitchen-tests
parentae48f17a4a9ecfeb936197b61e8449c547a11d37 (diff)
downloadchef-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.yml1
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