]> git.openstreetmap.org Git - chef.git/commitdiff
Git only checkout 1 deep
authorGrant Slater <git@firefishy.com>
Fri, 21 Feb 2020 00:08:37 +0000 (00:08 +0000)
committerGrant Slater <git@firefishy.com>
Fri, 21 Feb 2020 00:08:37 +0000 (00:08 +0000)
cookbooks/blogs/recipes/default.rb
cookbooks/donate/recipes/default.rb
cookbooks/foundation/recipes/owg.rb
cookbooks/gps-tile/recipes/default.rb
cookbooks/mediawiki/resources/extension.rb
cookbooks/mediawiki/resources/site.rb
cookbooks/serverinfo/recipes/default.rb
cookbooks/stateofthemap/recipes/default.rb
cookbooks/switch2osm/recipes/default.rb
cookbooks/wordpress/resources/theme.rb

index 49e52cb57692fb888cf59a9e48581c8a895226ef..358b3702a9779b84f6f1c1bd78c79b528cb50280 100644 (file)
@@ -43,7 +43,7 @@ end
 git "/srv/blogs.openstreetmap.org" do
   action :sync
   repository "git://github.com/gravitystorm/blogs.osm.org.git"
-  depth 5
+  depth 1
   user "blogs"
   group "blogs"
   notifies :run, "execute[/srv/blogs.openstreetmap.org/Gemfile]", :immediately
index 25441aaf62cf7d6a6e609b97a2922c5fe08381a9..d4d99a29ccf565c8ceccc7edb3c548f00f7c4157 100644 (file)
@@ -55,6 +55,7 @@ end
 git "/srv/donate.openstreetmap.org" do
   action :sync
   repository "git://github.com/osmfoundation/donation-drive.git"
+  depth 1
   user "donate"
   group "donate"
 end
index b60d02bac284c6394c02391ccb9ea19c59a1de1a..47a835e9a36840d520b713a5deb2c008467f38dc 100644 (file)
@@ -33,6 +33,7 @@ end
 git "/srv/operations.osmfoundation.org" do
   action :sync
   repository "git://github.com/openstreetmap/owg-website.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/operations.osmfoundation.org/Gemfile]"
index 42b3f8a288e749b1cc17083629bbb77cc207bd52..6d2d6476bd22316fec2ecc818f89cc844b230d61 100644 (file)
@@ -45,6 +45,7 @@ git "/srv/gps-tile.openstreetmap.org/import" do
   action :sync
   repository "git://github.com/ericfischer/gpx-import.git"
   revision "live"
+  depth 1
   user "gpstile"
   group "gpstile"
 end
@@ -62,6 +63,7 @@ git "/srv/gps-tile.openstreetmap.org/datamaps" do
   action :sync
   repository "git://github.com/ericfischer/datamaps.git"
   revision "live"
+  depth 1
   user "gpstile"
   group "gpstile"
 end
@@ -79,6 +81,7 @@ git "/srv/gps-tile.openstreetmap.org/updater" do
   action :sync
   repository "git://github.com/ericfischer/gpx-updater.git"
   revision "live"
+  depth 1
   user "gpstile"
   group "gpstile"
 end
index 95c7dff2213139dff6210c1fb14690ebc9cc731c..de759a66ae84eabbd07ea3a00907f7054f884bac 100644 (file)
@@ -57,6 +57,7 @@ action :create do
       action :sync
       repository extension_repository
       reference extension_reference
+      depth 1
       enable_submodules true
       user node[:mediawiki][:user]
       group node[:mediawiki][:group]
index 55228af067711fc0d948192b262b43ca4096e712..f8deb22abe6a135868d79d270cbe2df0546e26dd 100644 (file)
@@ -109,6 +109,7 @@ action :create do
     action :sync
     repository "https://gerrit.wikimedia.org/r/p/mediawiki/core.git"
     revision mediawiki_reference
+    depth 1
     user node[:mediawiki][:user]
     group node[:mediawiki][:group]
     notifies :run, "execute[#{mediawiki_directory}/composer.json]", :immediately
index c10d71684bc7b77fba13359943d3fb279be358ba..7dd65cbf300443b69406712add87497db4349961 100644 (file)
@@ -35,6 +35,7 @@ end
 git "/srv/hardware.openstreetmap.org" do
   action :sync
   repository "git://github.com/gravitystorm/osmf-server-info.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/hardware.openstreetmap.org/Gemfile]"
index 39307279da59700d118990025a3b29b42d7dfd31..69f9a6e0a6bbad2a61b6f8eb0e4445273e6e3721 100644 (file)
@@ -25,6 +25,7 @@ git "/srv/stateofthemap.org" do
   action :sync
   repository "https://git.openstreetmap.org/public/stateofthemap.git"
   revision "chooser"
+  depth 1
   user "root"
   group "root"
 end
@@ -105,6 +106,7 @@ git "/srv/2009.stateofthemap.org" do
   action :sync
   repository "https://git.openstreetmap.org/public/stateofthemap.git"
   revision "resources-2009"
+  depth 1
   user "wordpress"
   group "wordpress"
 end
@@ -142,6 +144,7 @@ git "/srv/2010.stateofthemap.org" do
   action :sync
   repository "https://git.openstreetmap.org/public/stateofthemap.git"
   revision "resources-2010"
+  depth 1
   user "wordpress"
   group "wordpress"
 end
@@ -184,6 +187,7 @@ git "/srv/2011.stateofthemap.org" do
   action :sync
   repository "https://git.openstreetmap.org/public/stateofthemap.git"
   revision "resources-2011"
+  depth 1
   user "wordpress"
   group "wordpress"
 end
@@ -226,6 +230,7 @@ git "/srv/2012.stateofthemap.org" do
   action :sync
   repository "https://git.openstreetmap.org/public/stateofthemap.git"
   revision "resources-2012"
+  depth 1
   user "wordpress"
   group "wordpress"
 end
@@ -268,6 +273,7 @@ end
     action :sync
     repository "https://git.openstreetmap.org/public/stateofthemap.git"
     revision "site-#{year}"
+    depth 1
     user "root"
     group "root"
   end
@@ -303,6 +309,7 @@ end
   git "/srv/#{year}.stateofthemap.org" do
     action :sync
     repository "git://github.com/openstreetmap/stateofthemap-#{year}.git"
+    depth 1
     user "root"
     group "root"
     notifies :run, "execute[/srv/#{year}.stateofthemap.org/Gemfile]"
index da4957cad122d160dff4648425e4e00293b77a0c..5dad4d1fefb911a216bc75f971e28268281e6e79 100644 (file)
@@ -38,6 +38,7 @@ end
 git "/srv/switch2osm.org" do
   action :sync
   repository "https://github.com/switch2osm/switch2osm.github.io.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/switch2osm.org/Gemfile]"
index 3547f0aae0fc14797055026cd7ded978e7914b82..e4f232713498af7a5856fb70fd8c778542831b5f 100644 (file)
@@ -47,6 +47,7 @@ action :create do
         action :sync
         repository theme_repository
         revision new_resource.revision
+        depth 1
         user node[:wordpress][:user]
         group node[:wordpress][:group]
       end