Commit Graph

33 Commits

Author SHA1 Message Date
Radon Rosborough b93477132c Supervisor proxies metrics 2022-02-12 09:31:19 -08:00
Radon Rosborough 2376ee6410 Allow customizing S3 config path 2022-02-09 17:11:25 -08:00
Radon Rosborough a57e4ee329 Export metrics to Grafana Cloud 2022-01-30 17:44:16 -08:00
Radon Rosborough b0210f8f4c Migrate to advanced Fathom Analytics
Allow interpolating an arbitrary analytics tag.
2021-11-06 13:45:34 -07:00
Radon Rosborough 50b487bf5f Add taint to supervisor 2021-08-15 17:36:24 -07:00
Radon Rosborough 02ff4aaaef Misc fixes 2021-08-15 12:18:59 -07:00
Radon Rosborough f19e850e0d Effective teardown, and Sentry integration 2021-08-14 21:37:31 -07:00
Radon Rosborough 15e5f5cff8 Debug some horrifying permission errors 2021-08-12 19:15:27 -07:00
Radon Rosborough f5b7536235 Many things fixed 2021-08-01 12:42:01 -07:00
Radon Rosborough 66de14bf6a
Revert "Include `-m` flag in `docker run` call to limit memory per container" 2021-07-26 20:21:36 -07:00
Shaunak G 956624c10d
Include `-m` flag in `docker run` call to limit memory per container
As per Docker run documentation (https://docs.docker.com/config/containers/resource_constraints/#limit-a-containers-access-to-memory), the `-m` flag must be set in order for `--oom-kill-disable` to have the intended effect. Otherwise, an exhaustion of memory in the container will put pressure on the host's processes. This commit sets the max memory to 200MB assuming the t3.small instance has 2GB total.
2021-07-27 10:05:13 +10:00
Radon Rosborough 14ac685c52 [#62] Cache Go dependencies 2021-07-17 08:47:08 +00:00
Radon Rosborough 0bec96b88b Add code formatters for Riju itself 2021-07-17 00:50:42 -07:00
Radon Rosborough 256d5d1f2b Many things 2021-07-12 04:22:42 +00:00
Radon Rosborough 1f5ef981fc Fix image pruning 2021-07-11 06:50:38 +00:00
Radon Rosborough ada1b64fc1 Debugging 2021-07-11 06:48:01 +00:00
Radon Rosborough 44de19946e Miscellaneous fixes 2021-07-10 22:24:42 +00:00
Radon Rosborough ea35395027 Try to make supervisor less broken 2021-07-10 20:50:32 +00:00
Radon Rosborough a4651d2e40 That, but it actually works this time 2021-07-10 19:30:08 +00:00
Radon Rosborough f8589c7ed4 Eliminate spurious blue/green cutovers 2021-07-10 19:25:53 +00:00
Radon Rosborough bd831fa931 Fix silly error, make ECR repo mutable 2021-07-05 05:37:03 +00:00
Radon Rosborough 9c62bb3213 Container should be able to start 2021-07-05 00:52:03 +00:00
Radon Rosborough 3b82fd333f Init volume at supervisor startup 2021-07-05 00:11:33 +00:00
Radon Rosborough 32210f52b0 Awesome 2021-07-05 00:05:32 +00:00
Radon Rosborough 8f619b69c6 Getting things spun up 2021-07-04 23:37:08 +00:00
Radon Rosborough 478e230d69 Require auth token for supervisor API 2021-07-04 20:09:31 +00:00
Radon Rosborough c354c11f77 Automatic reload every 5 minutes 2021-07-04 17:20:23 +00:00
Radon Rosborough 719b16f3c0 Infrastructure go brrr 2021-07-04 17:13:59 +00:00
Radon Rosborough 7149f817a6 Many misc updates 2021-07-04 15:14:26 +00:00
Radon Rosborough 2062bfecdb First attempt at new AMI build 2021-07-04 03:29:02 +00:00
Radon Rosborough ad9bd56bb8 Supervisor script core functionality 2021-07-04 03:08:55 +00:00
Radon Rosborough 22dcdee871 Supervisor gains proxy ability 2021-07-03 18:43:10 +00:00
Radon Rosborough e92b2aea4f Add basic Go build system 2021-07-03 05:12:18 +00:00