summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gitaly-test-build7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/gitaly-test-build b/scripts/gitaly-test-build
index b42ae2a2595..251c3debeb2 100755
--- a/scripts/gitaly-test-build
+++ b/scripts/gitaly-test-build
@@ -11,14 +11,9 @@ require 'fileutils'
tmp_tests_gitaly_dir = File.expand_path('../tmp/tests/gitaly', __dir__)
-# Use the top-level bundle vendor folder so that we don't reinstall gems twice
-bundle_vendor_path = File.expand_path('../vendor', __dir__)
-
env = {
- # This ensure the `clean` config set in `scripts/prepare_build.sh` isn't taken into account
- 'BUNDLE_IGNORE_CONFIG' => 'true',
'BUNDLE_GEMFILE' => File.join(tmp_tests_gitaly_dir, 'ruby', 'Gemfile'),
- 'BUNDLE_FLAGS' => "--jobs=4 --path=#{bundle_vendor_path} --retry=3"
+ 'BUNDLE_FLAGS' => "--jobs=4 --path=vendor --retry=3"
}
abort 'gitaly build failed' unless system(env, 'make', chdir: tmp_tests_gitaly_dir)