From a844d46fcd9b35c5bb08d38392b167a669d1d850 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Mon, 15 Jun 2015 14:32:58 +0300 Subject: [PATCH] Allow to use extra repositories for MassBuild --- app/policies/mass_build_policy.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/policies/mass_build_policy.rb b/app/policies/mass_build_policy.rb index 465a65a47..e7fcc4b03 100644 --- a/app/policies/mass_build_policy.rb +++ b/app/policies/mass_build_policy.rb @@ -26,16 +26,17 @@ class MassBuildPolicy < ApplicationPolicy build_for_platform_id description external_nodes - extra_build_lists - extra_mass_builds - extra_repositories include_testing_subrepository increase_release_tag projects_list repositories use_cached_chroot use_extra_tests - ) + ) << { + extra_build_lists: [], + extra_mass_builds: [], + extra_repositories: [] + } end end