]> git.openstreetmap.org Git - chef.git/commitdiff
workaround temporary statuscake IP list failure
authorGrant Slater <github@firefishy.com>
Wed, 13 Nov 2024 01:59:25 +0000 (01:59 +0000)
committerGrant Slater <github@firefishy.com>
Wed, 13 Nov 2024 01:59:25 +0000 (01:59 +0000)
cookbooks/tile/recipes/default.rb

index ddc7e490e4bf929cccfcd59fcc203cb2fc295b7a..9b9f38930251ed6b989ef7ff71b9d8460d41a431 100644 (file)
@@ -60,7 +60,10 @@ end
 fastlyips = JSON.parse(IO.read("#{Chef::Config[:file_cache_path]}/fastly-ip-list.json"))
 
 remote_file "#{Chef::Config[:file_cache_path]}/statuscake-locations.json" do
-  source "https://app.statuscake.com/Workfloor/Locations.php?format=json"
+  # source "https://app.statuscake.com/Workfloor/Locations.php?format=json"
+  # FIXME: StatusCake IP lookup. Use manual backup source for now. 13 Nov 2024
+  # https://www.statuscake.com/kb/knowledge-base/what-are-your-ips/
+  source "https://grant.dev.openstreetmap.org/statuscake-locations-patch.json"
   compile_time true
   ignore_failure true
 end