Merge pull request #23 from tpgxyz/master

export MOCK_CACHE = 'True' to docker builders
This commit is contained in:
Alexander Stefanov-Khryukin 2018-03-19 21:51:35 +03:00 committed by GitHub
commit 0945af7315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -525,6 +525,7 @@ class BuildList < ActiveRecord::Base
if use_cached_chroot? if use_cached_chroot?
sha1 = build_for_platform.cached_chroot(arch.name) sha1 = build_for_platform.cached_chroot(arch.name)
cmd_params.merge!('CACHED_CHROOT_SHA1' => sha1) if sha1.present? cmd_params.merge!('CACHED_CHROOT_SHA1' => sha1) if sha1.present?
cmd_params.merge!('MOCK_CACHE' => 'True')
end end
#cmd_params = cmd_params.map{ |k, v| "#{k}='#{v}'" }.join(' ') #cmd_params = cmd_params.map{ |k, v| "#{k}='#{v}'" }.join(' ')