summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-15 22:48:23 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-01-31 22:50:40 +0000
commit732a821d4f00f9812d014b6c58eae2f9a18f7ddd (patch)
tree85b72ed8b064df8c2c02386107a5ecbf67f599b9 /app/workers
parent120f9abaa15ce0feec1dc457ad3dc3787e4fbfc6 (diff)
downloadgitlab-ce-732a821d4f00f9812d014b6c58eae2f9a18f7ddd.tar.gz
Fix specs
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/pages_worker.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/workers/pages_worker.rb b/app/workers/pages_worker.rb
index 9aa3030264b..c51ec81c9da 100644
--- a/app/workers/pages_worker.rb
+++ b/app/workers/pages_worker.rb
@@ -34,7 +34,8 @@ class PagesWorker
# We manually extract the archive and limit the archive size with dd
results = Open3.pipeline(%W(gunzip -c #{artifacts}),
%W(dd bs=#{BLOCK_SIZE} count=#{blocks}),
- %W(tar -x -C #{temp_path} public/))
+ %W(tar -x -C #{temp_path} public/),
+ err: '/dev/null')
return unless results.compact.all?(&:success?)
# Check if we did extract public directory