summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-11-18 10:48:51 -0800
committerTim Smith <tsmith84@gmail.com>2020-11-18 10:48:51 -0800
commit4482c05ac0f7e936a00bad400853980088ef408d (patch)
tree743917893d921a0dec7d6a3010ac3183a6d40903
parent4e1f524edb47b67b1c70add75560eee5cc3ee0b3 (diff)
downloadohai-4482c05ac0f7e936a00bad400853980088ef408d.tar.gz
Disable gem caching / rubygems updates in Buildkite
Since we're pulling chef/chef from git now we're basically updating the cache each and every time this runs, which is very slow. It's possibly faster to just do it from scratch each time. Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-x.expeditor/run_linux_tests.sh2
-rw-r--r--.expeditor/verify.pipeline.yml4
2 files changed, 0 insertions, 6 deletions
diff --git a/.expeditor/run_linux_tests.sh b/.expeditor/run_linux_tests.sh
index ee1a9627..3290515d 100755
--- a/.expeditor/run_linux_tests.sh
+++ b/.expeditor/run_linux_tests.sh
@@ -10,9 +10,7 @@ export LANG=C.UTF-8 LANGUAGE=C.UTF-8
echo "--- bundle install"
# we need the ruby 2.7 version of bundler, the 2.5/2.6 versions cannot pull our Gemfile correctly
-gem update --system
gem install bundler
-bundle config --local path vendor/bundle
bundle install --jobs=7 --retry=3
echo "+++ bundle exec task"
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 87e55fba..763e633c 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -1,7 +1,5 @@
---
expeditor:
- cached_folders:
- - vendor
defaults:
buildkite:
retry:
@@ -45,9 +43,7 @@ steps:
- label: run-specs-windows
command:
# we need the ruby 2.7 version of bundler, the 2.5/2.6 versions cannot pull our Gemfile correctly
- - gem update --system
- gem install bundler
- - bundle config --local path vendor/bundle
- bundle install --jobs=7 --retry=3 --without=profile
- bundle exec rake spec
expeditor: