Commit graph

96 commits

Author SHA1 Message Date
82225d419d terraform: use git submodules for cloudfront proxy 2022-08-09 14:39:46 +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
3d0fe913e9 proxy: adds support for fastly provider 2022-06-23 15:49:09 +01:00
7a54e4ea96 lint: various non-semantic fixes 2022-06-23 12:34:29 +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
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
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
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
8abe5d60fa automation: establish an automation framework 2022-05-08 17:20:04 +01:00
082de33b5d automation: pull up terraform funcs to abstract class
see #1
2022-05-08 13:01:15 +01:00
9b8ac493b1 mirrors: deprecate orphaned proxies
fixes #5
2022-05-08 10:47:01 +01:00
bd73255824 mirrors: do not create proxies for destroyed origins
see #5
2022-05-08 10:41:40 +01:00
18e046dc42 mirrors: record deprecation reason 2022-05-01 16:23:45 +01:00
ed56ed5368 azure_cdn: use subgroups 2022-04-25 15:36:45 +01:00
705cd306c4 azure_cdn: use subgroups, attempt 4 2022-04-25 15:08:15 +01:00
7eb2eaf36f azure_cdn: use subgroups, attempt 3 2022-04-25 15:06:24 +01:00
95a39f759a azure_cdn: use subgroups, attempt 2 2022-04-25 15:05:28 +01:00
b59d334689 azure_cdn: use subgroups, attempt 1 2022-04-25 14:56:35 +01:00
e30733e0cd proxy/cloudfront: these are in us-east-2 now 2022-04-22 15:12:31 +01:00
2674e115f3 models: big refactor 2022-04-22 14:01:16 +01:00
50e66dce72 cloudfront: don't refresh every time, reduce load 2022-04-20 16:14:35 +01:00
018494bd58 proxies: add support for bypass token 2022-04-19 14:32:04 +01:00
0ee7aa3149 proxy: Add fastly module but it doesn't work yet 2022-04-12 11:57:25 +01:00
09f0b0672d Initial import 2022-04-08 12:59:00 +01:00