1 Commits

Author SHA1 Message Date
benvin 36e23e9a2b Proxy iplocate IP databases via the existing github remote
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
Add patterns to the github.com generic remote for the iplocate ip-to-asn /
ip-to-country databases rather than standing up a new remote. The files are
Git-LFS, so the /raw/ path redirects to media.githubusercontent.com; the github
remote already follows github's cross-host redirects (as it does for release
assets), and the raw path returns the real bytes (verified: 12MB zip / 78MB mmdb).
Marked mutable (branch content).
2026-07-21 22:33:01 +10:00
2 changed files with 3 additions and 10 deletions
+3
View File
@@ -5,6 +5,9 @@ mutable_ttl: 7200
mutable_patterns:
- ".*/archive/refs/heads/.*.tar.gz$"
- "stalwartlabs/webadmin/releases/latest/download/webadmin.zip$"
# iplocate IP databases (Git-LFS; the /raw/ path redirects to the LFS media host).
- "iplocate/ip-address-databases/raw/.*/ip-to-asn/.*"
- "iplocate/ip-address-databases/raw/.*/ip-to-country/.*"
patterns:
- ".*/archive/refs/tags/.*.tar.gz$"
- "ahmetb/kubectx/.*/kubectx_.*_linux_x86_64.tar.gz$"
-10
View File
@@ -1,10 +0,0 @@
base_url: https://media.githubusercontent.com
description: iplocate IP address databases (ip-to-asn / ip-to-country), served via GitHub LFS media
immutable_ttl: 0
# The databases update on the main branch; re-check upstream daily (matches the
# ASN expander's cache cadence).
mutable_ttl: 86400
mutable_patterns:
# LFS objects are served from media.githubusercontent.com/media/<owner>/<repo>/<ref>/<path>.
- "media/iplocate/ip-address-databases/.*/ip-to-asn/.*"
- "media/iplocate/ip-address-databases/.*/ip-to-country/.*"