Commit graph

142 commits

Author SHA1 Message Date
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
dbb480a030 auto/lists: remove additional dot in filenames 2022-05-16 17:21:23 +01:00
6fe633bf0a lists: introduce obfuscated formats 2022-05-16 17:09:33 +01:00
e163c58445 block/roskomsvoboda: skip proxies with no url 2022-05-16 14:01:11 +01:00
b828e2bc99 alarm/http_status: catch generic RequestException 2022-05-16 13:41:17 +01:00
bc559d8fa2 proxy/cloudfront: transposed isinstance arguments 2022-05-16 13:36:20 +01:00
dd501a6e4e ci: add flake8 2022-05-16 13:29:48 +01:00
014596d271 security: fix all bandit issues 2022-05-16 12:47:40 +01:00
3665c34961 lots of typing fixes 2022-05-16 11:44:03 +01:00
51f580a304 auto/terraform: typing hints for base terraform module 2022-05-16 10:08:18 +01:00
55a0b19c8c block/ooni: add type hint for origin result 2022-05-15 18:56:15 +01:00
f7e83611f1 auto/base: type hint metadata 2022-05-15 18:56:15 +01:00
f96bbcf49d auto/terraform: straight up return a string for logs 2022-05-15 18:56:15 +01:00
264d5a870e bridge: explicitly declare ssh private key for hcloud 2022-05-14 14:43:30 +01:00
850ee09ce7 bridge: update openstack module to 0.0.7 for gandi 2022-05-14 13:59:38 +01:00