Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-03 17:47:56 +0300
committerRémy Coutable <remy@rymai.me>2017-10-03 17:47:56 +0300
commit7b262c435619798cdfebe3760709fc9029032343 (patch)
tree7f908c1297dbda91f49e86bf6385c4211ba4f36f /config/environments
parent18fee3060c78e032777b5dc6b3d1f60432446ea5 (diff)
Resolve "Precompiled assets with digest strings are ignored in CI"
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 278144b8943..1edb6fd39b8 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -16,7 +16,7 @@ Rails.application.configure do
config.cache_classes = ENV['CACHE_CLASSES'] == 'true'
# Configure static asset server for tests with Cache-Control for performance
- config.assets.digest = false
+ config.assets.compile = false if ENV['CI']
config.serve_static_files = true
config.static_cache_control = "public, max-age=3600"