X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a62943629fc45519becfbd66176c9238acbeacbd..60b3f2470a010f3a73baefcef111f2c2241556a0:/cookbooks/stateofthemap/recipes/default.rb diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index 39d537eea..b2a40d1e7 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -318,7 +318,7 @@ gem_package "bundler" do version "2.1.4" end -%w[2016 2017 2018 2019 2020].each do |year| +%w[2016 2017 2018 2019 2020 2021].each do |year| git "/srv/#{year}.stateofthemap.org" do action :sync repository "https://github.com/openstreetmap/stateofthemap-#{year}.git" @@ -344,7 +344,7 @@ end execute "/srv/#{year}.stateofthemap.org/Gemfile" do action :nothing - command "bundle install --deployment" + command "bundle install --deployment --jobs #{node[:cpu][:total]}" cwd "/srv/#{year}.stateofthemap.org" user "root" group "root"