Commit graph

35 commits

Author SHA1 Message Date
Jonathan Math
ea489636c9 fix sanity checkers for task_worker and move to hourly 2021-07-13 15:16:58 -05:00
Samuel Clay
f2e64ca36e Fixing sanity checkers. None of them were running. Turns out they needed to be shell scripts if in the /etc/cron.hourly dir (and crontab format if in the /etc/cron.d dir). 2021-07-08 15:39:29 -04:00
Samuel Clay
f652941687 Adding autoheal to celery label. 2021-06-30 20:41:17 -04:00
Samuel Clay
e160a86d2a Switching celery to local log driver for docker due to logs filling up disk space. 2021-06-30 00:22:09 -04:00
Samuel Clay
57c2713029 Fixing redis bgsave and disk checker monitors. 2021-06-24 11:54:56 -04:00
Samuel Clay
ae95b25910 Cleaning up monitors, switching to cron file, adding hostname. 2021-06-24 11:50:38 -04:00
Samuel Clay
1d5173e7bc Fixing monitor task fetches 2021-06-24 11:19:45 -04:00
Jonathan Math
15f40588f3 fix celery_task sanity checkers 2021-06-22 09:06:10 -06:00
Jonathan Math
debafdc9ad fix ansible sanity checkers 2021-06-16 10:12:41 -06:00
Jonathan Math
60e08d6786 make container cron jobs for sanity checkers 2021-06-16 10:00:08 -06:00
Jonathan Math
23f1af298a fix celery_task sanity checker docker container directive 2021-06-08 10:35:57 -04:00
Samuel Clay
8f5e0ba690 Ignore missing task_env.py. 2021-06-08 10:23:51 -04:00
Jonathan Math
78120ad11c keep sanity checker container alive and only use on task_work servers 2021-06-07 16:27:46 -04:00
Jonathan Math
adf7955df5 add the rest of the sanity checkers to ansible 2021-06-07 15:57:01 -04:00
Samuel Clay
a63b4097a3 Fixing nginx on staging to expose proper ports. 2021-05-19 22:03:53 -04:00
Samuel Clay
82fddd415f Switching from network_mode host to using a docker network. This gets us off host networking and to defined ports. The docker network connects the container's dns resolver to the machine's dnsmasq, which is used for consul. 2021-05-19 17:26:47 -04:00
Samuel Clay
d19f062b2a Don't know why ansible keeps running a never tag 2021-05-11 17:14:53 -04:00
Samuel Clay
4efa1319a1 Mongo secondaries are on the primary consul. 2021-05-11 17:11:51 -04:00
Samuel Clay
a52bea2829 Removing separate celerybeat container and using unified celery+celerybeat container. 2021-04-22 16:27:57 -04:00
Samuel Clay
5d7ddb1d8a Adding netdata in to task servers. Also setting up logrotate. 2021-04-22 11:36:44 -04:00
Samuel Clay
53e6998bbc Adding celery start 2021-04-21 11:23:16 -04:00
Samuel Clay
230716465e Adding new optional app/task env settings. 2021-04-20 18:02:12 -04:00
Samuel Clay
c96daac120 Don't restart unless requested. 2021-04-17 11:31:56 -04:00
Samuel Clay
0d01874cf2 Adding docker restart for applying celery container changes. 2021-04-14 13:06:57 -04:00
Samuel Clay
2251d29c2f Celery should always reset. 2021-04-06 16:16:50 -04:00
Samuel Clay
d52a8d362c Reducing number of workers on docker-compose. Also removing extraneous task servers and consolidating to task-celery for feeds and task-work for cron and work 2021-03-17 20:13:58 -04:00
Samuel Clay
05afdce691 Fixing search indexing. Also removing superfluous search_indexer_tasker queue. 2021-03-03 17:04:05 -05:00
Samuel Clay
cb0ccb3e02 Whitney everywhere. This is a big change. I think everything needs a 1px bump up in size. 2021-02-26 17:25:22 -05:00
Samuel Clay
01248e5a1b Fixing task servers. Also fixing sentry max size limit. 2021-02-25 18:50:20 -05:00
Samuel Clay
67e36c40a6 Reloading celery when app secrets changes. 2021-02-25 11:34:40 -05:00
Samuel Clay
e6d6667099 Adding consul tags for easy installation on services. 2021-02-23 19:30:28 -05:00
Samuel Clay
06bdbf48e9 Splitting task into four task servers. Renaming elasticsearch to db-elasticsearch. Working on HAProxy. 2021-02-17 21:07:12 -05:00
Jonathan Math
f81390bf8a registering task services in consul 2021-02-15 19:21:53 -05:00
Jonathan Math
df30dac8c5 fix string interpolation issue in celery_task role 2021-02-02 23:28:31 -05:00
Jonathan Math
7db3f3099f add celery_task role and ruse in in setup_task.yml 2021-02-02 23:20:33 -05:00