]> git.openstreetmap.org Git - chef.git/commitdiff
Merge remote-tracking branch 'github/pull/272'
authorTom Hughes <tom@compton.nu>
Fri, 21 Feb 2020 00:14:34 +0000 (00:14 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 21 Feb 2020 00:14:34 +0000 (00:14 +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 1d516a35a1d17a0539a0c1095635ca13741ae6d6..5cd260d1f16dd376138d4fd9a0c4db9c6c37ab15 100644 (file)
@@ -43,7 +43,7 @@ end
 git "/srv/blogs.openstreetmap.org" do
   action :sync
   repository "https://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 c2249ee9c4be5a38473040fe443848eb86409793..9ae3ebaa461ec0cf4fb2fa6950ef3119f0b078bb 100644 (file)
@@ -55,6 +55,7 @@ end
 git "/srv/donate.openstreetmap.org" do
   action :sync
   repository "https://github.com/osmfoundation/donation-drive.git"
+  depth 1
   user "donate"
   group "donate"
 end
index 70662e702708e97196c1ad61c51b2c356dc08dba..d65d75aadfd905e3d18092a68c396f7bb5646082 100644 (file)
@@ -33,6 +33,7 @@ end
 git "/srv/operations.osmfoundation.org" do
   action :sync
   repository "https://github.com/openstreetmap/owg-website.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/operations.osmfoundation.org/Gemfile]"
index 77231a801bc74f28c768c326932d5411bb365e27..b960143e7dd605319f23d8a58965766383329505 100644 (file)
@@ -45,6 +45,7 @@ git "/srv/gps-tile.openstreetmap.org/import" do
   action :sync
   repository "https://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 "https://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 "https://github.com/ericfischer/gpx-updater.git"
   revision "live"
+  depth 1
   user "gpstile"
   group "gpstile"
 end
index 19197576f5506764564ada58737b30315b1fc857..b332d429639f1ee6d760c2d7b9a0d5eebac13d97 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 2686c652317d1dba756e107e3c7951114d9919e0..323e33259e62e3d905368a5a6325032103b906ad 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 81685b3762d3c7c6745235cef36ddc5141f7b6c5..93de4bc2adc9bb2e01c240b361dd816712d4aef0 100644 (file)
@@ -35,6 +35,7 @@ end
 git "/srv/hardware.openstreetmap.org" do
   action :sync
   repository "https://github.com/gravitystorm/osmf-server-info.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/hardware.openstreetmap.org/Gemfile]"
index fad08875d6cf71f8df8588b46eb39903837c9f69..76efd9a44597941428c10051cc14e8f85a40b352 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 "https://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