summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-06 22:54:32 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-06 22:54:32 -0700
commit74a1d41ce956cb47f06ef65fdc827ea6ce7216be (patch)
tree64075a0bfff5932502d4844ff07837fccc76c6d0
parent801b624936e8ccdd4c59068bca7b7540cf826db7 (diff)
downloadchef-74a1d41ce956cb47f06ef65fdc827ea6ce7216be.tar.gz
Cache the gems during the Test Kitchen tests
We need to cache them in the project root not the TK root Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-xscripts/bk_tests/bk_linux_exec.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bk_tests/bk_linux_exec.sh b/scripts/bk_tests/bk_linux_exec.sh
index a09b121000..f81a10da90 100755
--- a/scripts/bk_tests/bk_linux_exec.sh
+++ b/scripts/bk_tests/bk_linux_exec.sh
@@ -38,7 +38,7 @@ echo 'gem: --no-document' >> ~/.gemrc
gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2) --force
sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
-bundle install --jobs=3 --retry=3 --path=vendor/bundle
+bundle install --jobs=3 --retry=3 --path=../vendor/bundle
echo "--- Config information"