]> git.openstreetmap.org Git - chef.git/commitdiff
stateofthemap: Use multiple threads for bundle
authorGrant Slater <git@firefishy.com>
Tue, 30 Mar 2021 00:43:05 +0000 (01:43 +0100)
committerGrant Slater <git@firefishy.com>
Tue, 30 Mar 2021 00:43:05 +0000 (01:43 +0100)
cookbooks/stateofthemap/recipes/default.rb

index 0d55936e00f133d3a863c55e6b95d6b362ebfdca..b2a40d1e74087a73632e3988bb1e0ad208ebb9f2 100644 (file)
@@ -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"