Merge pull request #23 from tpgxyz/master
export MOCK_CACHE = 'True' to docker builders
This commit is contained in:
commit
0945af7315
|
@ -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(' ')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue