Samuel Clay
34c9ee712c
Fixing search on docker. Also setting up docker installs to always have active subscribers so feeds are never stale.
2021-04-27 20:49:10 -04:00
Samuel Clay
b08d65edbd
Don't refresh all hundred servers, wasting quota and being rate limited.
2021-04-26 14:12:57 -04:00
Samuel Clay
8974b0dd9a
Fixing old+new ansible hosts.
2021-04-16 17:25:32 -04:00
Samuel Clay
8a30086f0f
Refactoring Ansible provision/setup and deploy scripts to use a single script which calls appropriate roles and playbooks based on hostname
2021-04-13 11:59:42 -04:00
Samuel Clay
70ba058aa4
Deployment of compressed static assets through S3.
2021-04-07 20:48:01 -04:00
Samuel Clay
b561ce756b
Fixing issue with dashboard river folder not being changeable or selectable.
2021-04-07 15:32:17 -04:00
Samuel Clay
2251d29c2f
Celery should always reset.
2021-04-06 16:16:50 -04:00
Samuel Clay
64ac914db4
Fixing #1435 . imageproxy is now configured and loaded locally. The url is now /imageproxy and HAProxy knows to trim the url before sending it to the imageproxy service.
2021-04-01 17:01:05 -04:00
Samuel Clay
02138db5ca
Switching from elasticsearch and dsl to pyelasticsearch. Feed autocomplete still doesn't work yet.
2021-03-24 21:09:26 -04:00
Samuel Clay
983984a1f3
Ignoring backups. Working on staging and discovery.
2021-03-15 20:06:27 -04:00
Jonathan Math
2e7647a715
make npm install line of makef nb to happpen before up command
2021-03-14 16:16:36 -05:00
Samuel Clay
a07a0ec948
Adding deploy monitor.
2021-03-10 10:36:32 -05:00
Samuel Clay
f185d2bad8
make generate
2021-03-09 16:56:42 -05:00
Samuel Clay
d626ad9838
nb-down
2021-03-09 12:02:30 -05:00
Samuel Clay
6cf0320205
Adding setup_ to Makefile
2021-03-09 11:40:19 -05:00
Samuel Clay
a69aae6ce3
Moving monitor Dockerfile.
2021-03-09 11:10:42 -05:00
Samuel Clay
baabc678b4
Adding deploy work, updating zshrc to include correct container name for shell_plus command.
2021-03-08 11:33:58 -05:00
Samuel Clay
a2f4215e40
Adding a sandbox designator for ios tokens so notifications can be received by testers. Has to be manually turned on for now.
2021-03-04 19:04:01 -05:00
Samuel Clay
2455b5e97a
Adding make celery
2021-03-01 19:37:12 -05:00
Samuel Clay
cb8e44f33c
Whoops, accidentally committed merge conflict
2021-03-01 18:53:50 -05:00
Filip Czaplicki
b25cbac6a4
Makefile: specify SHELL bash
2021-03-01 17:57:28 -05:00
Samuel Clay
1fe20b91a9
Fixing py3 encoding issue when stripping comments using lxml.
2021-02-25 19:47:13 -05:00
Samuel Clay
8ebf75d8ab
Deploying haproxy vs setting up haproxy (reload vs restart)
2021-02-25 10:32:10 -05:00
Samuel Clay
155f9561db
Updating node dockerfile to place node_modules in a parent directory to allow for volumizing node code.
2021-02-24 20:02:37 -05:00
Samuel Clay
cf3bec14ad
Trying to get node docker setup but oddly it works locally and not in prod.
2021-02-24 17:17:06 -05:00
Jonathan Math
6c45c465ae
removing prod image dockerfile and reference
2021-02-24 17:11:55 -05:00
Samuel Clay
1da9f57697
Fixing broken request introspection.
2021-02-24 12:07:44 -05:00
Jonathan Math
8c736ac489
add performance test make commands, dockerfile for locust, and rough draft of performance test (locust.py)
2021-02-24 10:21:47 -05:00
Samuel Clay
bdd4857bae
Deleting all ufw rules on every run so firewalls remain clean. Also reloading gunicorn.
2021-02-23 18:37:56 -05:00
Samuel Clay
1f7816f8ab
Getting the old non-docker servers working in concert with the new ones. Now to give them all the shared firewall and install consul.
2021-02-23 15:53:46 -05:00
Jonathan Math
f55121f4f3
fix ssh keys issue in makefile
2021-02-21 11:46:41 -05:00
Samuel Clay
a4e18295d7
make plan and make apply to run terraform.
2021-02-19 17:58:01 -05:00
Jonathan Math
3d7d4133c3
fix makefile keys command
2021-02-17 09:29:16 -05:00
Samuel Clay
b22ad738a0
make list should read the token dynamically.
2021-02-08 14:15:03 -05:00
Samuel Clay
e485c46c46
Removing etc/hosts role, adding makefile commands for using ansible-playbook
2021-01-29 12:12:27 -05:00
Samuel Clay
4cffbba942
Stubbing in ansible roel for consul. Not sure how to hook it up yet, but need Terraform first.
2021-01-29 09:49:39 -05:00
Samuel Clay
d3449db1ec
Merge branch 'docker_django3.1' into dashboard3
...
* docker_django3.1:
add swarm_instructions.sh
update celery task name to cron_queue in settings.py.orig
change redis port to 6579 in docker local settings
update celery task name to cron_queue in settings.py
add image building and deployment functionality to Makefile
update docker files to include code in the image so we can use with swarm (without configuring shared volumes yet)
change beat_tasks to cron_queue in config/supervision_celeryd_beat.conf
change pymysql version in __init__ to the new django compatible version
change names for swarm service in swarm haproxy.conf file
remove ssl from nginx
fix dependency issues
change nginx check time in haproxy
add .dockerignore
update newsblur dir to newsblur_web in code
adjust resource limits on containers in stack-compose and correct monitor command
clean up and fix stack-compose.yml file
correct docker-compose images
2021-01-23 19:31:06 -05:00
Samuel Clay
dc5d390cf1
Updating postgres. Stubbing in nginx in ansible, but this needs to be rewritten with docker-compose.
2021-01-22 19:22:45 -05:00
Jonathan Math
b185efcec4
add image building and deployment functionality to Makefile
2021-01-19 09:54:14 -05:00
Jonathan Math
dcc70d44a4
change makefile to run tests individually
2020-11-19 11:49:16 -05:00
Jonathan Math
cbd08902c5
change makefile
2020-11-06 14:40:36 +07:00
Jonathan Math
80bae3608d
Update makefile
2020-11-03 11:25:31 +07:00
Jonathan Math
1f406bbb49
add nosetest, nosetest-exclude, and update Makefile
2020-10-27 16:24:34 +07:00
Jonathan Math
eb31ce6bf4
fix test functionality for Makefile
2020-10-13 22:05:21 +07:00
Jonathan Math
a13309b950
change makefile to use newsblur.test_settings instead of utils.test_settings
2020-10-12 12:33:13 +07:00
Jonathan Math
e27ad0d69a
change makefile command name
2020-10-12 12:28:02 +07:00
Jonathan Math
039c7b20e9
clean up makefile so the default command is 'make start'
2020-10-09 12:28:10 +07:00
Jonathan Math
34184027a6
update makefile commands for django3.0
2020-10-05 00:40:54 +07:00
Jonathan Math
f8ee044446
add makefile
2020-10-04 17:41:35 +07:00