Commit graph

206 commits

Author SHA1 Message Date
0c4929592a block/bridge: add a dnsc module 2022-07-12 11:32:45 +01:00
3ed6f0908a block/bridge: add debug printing 2022-07-12 11:14:17 +01:00
ca3fc844b7 block/bridge: refactor into general bridge block subsystem 2022-07-12 11:09:23 +01:00
51092865a2 smart/aws: add 10s timeout for dns provider
handles errors where dns server may take a moment
to serve the new record
2022-07-04 15:29:21 +01:00
93c4727324 smart/cloudfront: increase bandwidth out allowance 2022-06-27 15:06:44 +01:00
6ddc82dfd8 lint: quick fixes 2022-06-27 14:58:28 +01:00
f16df422f1 proxy_fastly: don't use deprecated arguments 2022-06-24 10:57:28 +01:00
a7601b2786 proxy_fastly: vcl needs dashes escaped too 2022-06-24 10:47:32 +01:00
36fc803b72 proxy_fastly: reading config requires app context 2022-06-24 10:37:23 +01:00
e1b498628d proxy_fastly: max/min typo 2022-06-24 10:35:14 +01:00
8d949caa1a proxy_fastly: get max number of backends from config 2022-06-24 10:34:16 +01:00
fad0c79e23 proxy_fastly: set urls 2022-06-23 21:20:33 +01:00
371c287f3e proxy_fastly: set urls 2022-06-23 21:05:01 +01:00
2f3feca27a block_mirror: handle proxies with no url yet 2022-06-23 17:10:49 +01:00
3d0fe913e9 proxy: adds support for fastly provider 2022-06-23 15:49:09 +01:00
f6452cb4fa lint: various non-semantic fixes
bumping fail-under for pylint to 9.72
2022-06-23 13:42:45 +01:00
7a54e4ea96 lint: various non-semantic fixes 2022-06-23 12:34:29 +01:00
273dcb2a8a lint: various non-semantic fixes 2022-06-23 11:38:27 +01:00
0008a24a0f lint: ignore a type false positive 2022-06-22 16:38:19 +01:00
3da5abce92 alarm: proxy_cloudfront reads max quota from config 2022-06-22 16:34:18 +01:00
7ceca2ace2 block: try fnmatch.filter instead 2022-06-18 13:57:58 +01:00
f78e4d67ad block: introduce threading to speed it up 2022-06-18 13:47:29 +01:00
bbf070339a block: optimising for RKS large pattern list 2022-06-18 13:35:25 +01:00
d6b1273cce block: add typing hints 2022-06-18 13:17:36 +01:00
5a00d59398 block: extend BlockMirror not Base for RKS 2022-06-18 13:01:18 +01:00
894b26c5f8 block: fetch and parse are public methods 2022-06-18 12:48:09 +01:00
360c786610 block: try to unify the mirror block modules 2022-06-18 12:36:54 +01:00
db0233691c lint: add back "useless" return to tf_prehook 2022-06-17 14:26:22 +01:00
61564e8c01 lint: tidy up code some more, pylint is enforcing 2022-06-17 14:02:10 +01:00
ac5a604587 lint: tidying up code in block tasks 2022-06-17 12:42:42 +01:00
8c411e39bc proxy: ensure use of only active proxies for smart proxy 2022-05-27 15:24:34 +01:00
0619fe743b proxy/cloudfront: add smart proxy alarms 2022-05-27 10:32:23 +01:00
c916624414 smart_proxy: asset domain configuration formatting 2022-05-25 15:57:00 +01:00
d99cf88f38 smart_proxy: add asset domains concept 2022-05-25 15:32:17 +01:00
dfb4d66557 smart_proxy: more escaping in the configuration 2022-05-25 11:01:04 +01:00
7bc38d10be smart_proxy: handle links to origin domain without trailing slash 2022-05-25 10:46:48 +01:00
f828d1779b proxy/azure_cdn: needs smart zone 2022-05-25 10:36:34 +01:00
c0a0474fbf proxy/azure_cdn: the origin has the smart requirement 2022-05-25 10:23:25 +01:00
5b503da621 proxy/azure_cdn: HACK! chain the cloudfront smart proxy where needed 2022-05-25 10:07:13 +01:00
dc0bfc8cb5 block/external: backwards comparison 2022-05-25 09:20:57 +01:00
66af6e6550 proxies: add smart proxy support
still to do:

* document new configuration options
* add smart proxies to groups view
* import bandwidth and CPU alarms
2022-05-25 09:07:10 +01:00
9b90101cf4 eotk: use published module 2022-05-23 11:27:35 +01:00
e18aece9b5 list/gitlab: no parallelism to avoid conflicts with multiple files in the same repo 2022-05-23 10:59:26 +01:00
592aa16734 block/external: more sanity checks 2022-05-23 10:55:59 +01:00
f31cb768ea list: add var for picky languages that require it 2022-05-19 12:27:47 +01:00
a1d777a81c alarm/http_status: ensure alarm exists for exception handling 2022-05-19 12:26:16 +01:00
cf027b5c32 list/gitlab: update to tf provider 3.14.0
if there are multiple files in the same repository
this will cause a conflict in previous versions
2022-05-18 16:40:34 +01:00
e2ce24bf3b alarms: refactor the alarms subsystem
also include eotk alarms now
2022-05-18 15:49:36 +01:00
a935055083 lists/git: always refresh when updating git repos
looks like errors can occur when the latest commit
isn't what is expected
2022-05-18 12:00:18 +01:00
8c9565f284 flake: remove unused import 2022-05-17 08:13:50 +01:00