Commit graph

484 commits

Author SHA1 Message Date
Samuel Clay
a77a858a85 Naming pg_basebackup 2022-05-11 11:55:56 -04:00
Samuel Clay
bdbe7b8797 Upgrading to MongoDB 4.0, and upping mongo servers. 2022-05-09 21:20:51 -04:00
Samuel Clay
e0ecf1d6ff Stop postgres before basebackup. 2022-05-02 15:41:45 -04:00
Samuel Clay
434df3be16 Archiving old postgres data when using basebackup, to be manually deleted (or not, should be empty on new secondaries). 2022-05-02 15:05:31 -04:00
Samuel Clay
4170cd8f77 Adding pg_ident.conf. 2022-05-02 13:21:02 -04:00
Samuel Clay
b586d519c9 Moving pg basebackup to a backup role 2022-05-02 09:32:35 -04:00
Samuel Clay
3670faf99d Adding a secondary postgres that starts from a pg_basebackup. Still needs testing. 2022-04-30 07:24:46 -04:00
Samuel Clay
de309183c5 Adding timestamps to backup logs 2022-04-30 06:51:11 -04:00
Samuel Clay
9ea16aadb7 No TTY/input needed on backups. 2022-04-30 06:47:09 -04:00
Samuel Clay
464fecd18e Adding postgres restore command and updating backup script. 2022-04-29 16:45:17 -04:00
Samuel Clay
3b29c1d6dc Pulling latest docker image in a separate task. 2022-04-11 11:01:02 -04:00
Samuel Clay
203a6048bf Renaming www in terraform until next www server 2022-04-01 16:11:26 -04:00
Samuel Clay
8c56c6f98e www -> haproxy group 2022-03-15 17:19:01 -04:00
Samuel Clay
ab63f9d2ae Bumping up node images size. 2022-03-09 17:31:56 -05:00
Samuel Clay
2491e3bf86 Fixing youtube story content encoding bug. 2022-03-03 11:21:06 -05:00
Samuel Clay
54bcd58f35 Adding Sentry update handler 2022-03-02 10:29:38 -05:00
Samuel Clay
f0f6c0a828 Fixing issue with some sites spewing tons of headers back and Python failing. 2022-03-02 10:29:24 -05:00
Samuel Clay
96c7416d1e Gunicorn workers at 3 or 4, depending on having at least 3.1+ GB of memory. 2022-02-28 14:41:29 -05:00
Samuel Clay
d7b81d7b68 Turning off use strict in prep for turning it right back on in the magazine branch. 2022-02-28 14:28:15 -05:00
Samuel Clay
4502c17f89 Don't reload gunicorn unless doing a static files deploy. 2022-02-22 10:50:02 -05:00
Samuel Clay
7a6037926c Another APNS try. 2022-02-20 08:17:01 -05:00
Samuel Clay
c23d3bcc77 Switching APNS and document cert install. 2022-02-20 08:05:54 -05:00
Samuel Clay
b7afdd7f70 Switching APNS cert. 2022-02-20 07:45:34 -05:00
Samuel Clay
8ec1100129 Switch APNS certs. 2022-02-20 07:35:26 -05:00
Samuel Clay
6315aea480 Moving notifications to new multi-line title format. Also fixing APNS cert. 2022-02-20 07:24:49 -05:00
Samuel Clay
b6763d872f XoneB 4 LIFE 2022-02-08 15:32:43 -05:00
Samuel Clay
43bf7a0c89 Adding postgres backup log. 2022-02-04 13:55:23 -05:00
Samuel Clay
af9757ef1b Handling operation failures in flask metrics. 2022-02-04 13:24:17 -05:00
Samuel Clay
472fcda770 Locking consul to a working version. Also changing flask status code response to handle custom status codes. 2022-02-04 13:01:18 -05:00
Samuel Clay
ed08c035cc Explicitly uploading mongo backups 2022-02-03 16:37:15 -05:00
Samuel Clay
5e2c3f7a10 Moving to postgres backup directory. 2022-02-03 15:49:55 -05:00
Samuel Clay
4fb48aa754 Executable postgres backup script. 2022-02-03 15:41:35 -05:00
Samuel Clay
5fdeedbbb2 Correcting permissions on mongo backup 2022-02-03 15:20:08 -05:00
Samuel Clay
a3b35933c3 Fixing mongo upload to s3 by using host networking mode. 2022-02-03 14:34:34 -05:00
Samuel Clay
2b2d947dca Adding progress bar to mongo backup. 2022-02-03 14:22:43 -05:00
Samuel Clay
e8a88740bb Refactoring aws keys for mongo backups. 2022-02-03 14:03:58 -05:00
Samuel Clay
58abe3792e Moving mongo backups 2022-02-03 13:49:23 -05:00
Samuel Clay
eadcfc4426 Adjusting backup for mongo to live on mounted volume. 2022-02-03 13:38:36 -05:00
Samuel Clay
699bbceeba Fixing postgres backup site. Also fixing Mongo backup collections. 2022-02-03 13:21:06 -05:00
Samuel Clay
5407fb526e Fixing postgres backup cron job. 2022-02-03 07:50:26 -05:00
Samuel Clay
22feba4443 Moving to S3 compatible backup bucket name. 2022-02-02 16:35:48 -05:00
Samuel Clay
b0acb97ac1 Archiving munin. 2022-02-01 14:59:05 -05:00
Samuel Clay
9e3eab0e51 Task deploy needs single sentry update. 2022-01-25 15:46:21 -05:00
Samuel Clay
4e8ffa2094 Deploying new asset pipeline 2022-01-19 15:22:05 -05:00
Samuel Clay
d0fdbde96b Ensuring dependencies met for deployment on local. 2022-01-19 10:48:11 -05:00
Samuel Clay
0f27ba81e0 Updating to docker buildx for multi-arch builds (amd64 + arm64) 2022-01-18 17:25:07 -05:00
Samuel Clay
61450de5f8 Merge branch 'master' into pipeline
* master:
  Celery also has a set user.
  Setting the user for celery and newsblur_web in both prod and docker-compose so that logs are always under the right user. Fixes #1593.
  Making add_site callback optional to support iOS. #1584
  Adding check for renaming a feed that a user isn't subscribed to.
  Finishing up PostgreSQL migration. Needs to test backups.
  Handling unreadable POST for push feeds and their fat pings.
  Android v11.2
  Schedule and cancel subscription sync services based on user auth state.
  Check for authenticated user before a subscription sync.
  Subscription sync service running every 24 hours to sync if necessary the user's premium subscription state between NewsBlur and Play Store.
  Upgrade subscriptions to billing 4.0
  Subscription manager to handle billing and subscription syncs between Play Store and NewsBlur.
  #1573 Feed search favicon loading.
  Replace cursor loaders (#9)
  Fixing grafana sentry integration.
  Adding sentry grafana pluging.
  Boosting timeout for docker prune
  Don't prune docker unless needed.
  Update docker-compose.yml
2022-01-11 11:00:06 -05:00
Samuel Clay
72bb032842 Celery also has a set user. 2022-01-10 09:52:57 -05:00
Samuel Clay
8f894bce31 Setting the user for celery and newsblur_web in both prod and docker-compose so that logs are always under the right user. Fixes #1593. 2022-01-10 09:51:46 -05:00
Samuel Clay
09551d5d8f Finishing up PostgreSQL migration. Needs to test backups. 2022-01-07 15:47:36 -05:00