summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-12-19 17:02:26 -0800
committerTim Smith <tsmith@chef.io>2018-12-19 20:42:21 -0800
commit256b95e47a76b64689ccc8eb4d27496333d59d70 (patch)
tree9f93c7bce36b74abac86ec5063c98997c889345e
parent23ad804ea6e7d56b5318679fa9e300a0e9902c85 (diff)
downloadchef-256b95e47a76b64689ccc8eb4d27496333d59d70.tar.gz
Disable git omnibus cache
This has caused a ton of random issues where builders start pulling in cache from other branches. Every time we get in this state we just rebuild without the cache and all is fine again. It seems like we should just disable it at this point since we run builds on 2 branches at the same time now. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--omnibus/omnibus.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/omnibus/omnibus.rb b/omnibus/omnibus.rb
index dfbd2bc338..5f7c3f6eba 100644
--- a/omnibus/omnibus.rb
+++ b/omnibus/omnibus.rb
@@ -32,8 +32,11 @@ env_omnibus_windows_arch = :x86 unless %w{x86 x64}.include?(env_omnibus_windows_
windows_arch env_omnibus_windows_arch
# Disable git caching
+# caching is currently disabled as it causes issues when we're running
+# builds of different product versions on the same host. When forked to prep
+# for the next major release this has caused problems. To enable again:
# ------------------------------
-# use_git_caching false
+use_git_caching false
# Enable S3 asset caching
# ------------------------------