mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Switching discover feeds search index to preserve prod.
This commit is contained in:
parent
fbe34c4c9e
commit
a49eaa1ad5
3 changed files with 13 additions and 11 deletions
|
@ -38,31 +38,32 @@
|
|||
- never
|
||||
- static
|
||||
|
||||
- name: Compressing JS/CSS assets
|
||||
- name: Compressing JS/CSS assets
|
||||
run_once: yes
|
||||
connection: local
|
||||
command: chdir=/srv/newsblur docker run --rm -v /srv/newsblur:/srv/newsblur newsblur/newsblur_deploy
|
||||
tags:
|
||||
- never
|
||||
- static
|
||||
|
||||
|
||||
- name: Archive JS/CSS assets for uploading
|
||||
run_once: yes
|
||||
connection: local
|
||||
archive:
|
||||
archive:
|
||||
path: /srv/newsblur/static/
|
||||
dest: /srv/newsblur/static.tgz
|
||||
tags:
|
||||
- never
|
||||
- static
|
||||
|
||||
|
||||
- name: Ensure AWS dependencies installed
|
||||
run_once: yes
|
||||
connection: local
|
||||
pip:
|
||||
name:
|
||||
name:
|
||||
- boto3
|
||||
- botocore
|
||||
virtualenv: ~/.virtualenvs/newsblur
|
||||
tags:
|
||||
- never
|
||||
- static
|
||||
|
@ -82,10 +83,10 @@
|
|||
tags:
|
||||
- never
|
||||
- static
|
||||
|
||||
|
||||
- name: Downloading JS/CSS assets from S3
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
amazon.aws.aws_s3:
|
||||
bucket: newsblur-backups
|
||||
object: /static_py3.tgz
|
||||
|
@ -117,7 +118,7 @@
|
|||
register: pulled
|
||||
tags:
|
||||
- static
|
||||
|
||||
|
||||
- name: Reload gunicorn due to no git upstream changes
|
||||
become: yes
|
||||
block:
|
||||
|
@ -132,7 +133,7 @@
|
|||
command: "docker restart newsblur_web"
|
||||
tags:
|
||||
- static
|
||||
|
||||
|
||||
- name: Start Consul
|
||||
become: yes
|
||||
service:
|
||||
|
|
|
@ -12,4 +12,5 @@
|
|||
git:
|
||||
repo: https://github.com/samuelclay/NewsBlur.git
|
||||
dest: /srv/newsblur/
|
||||
version: master
|
||||
# version: master
|
||||
version: discover
|
||||
|
|
|
@ -492,7 +492,7 @@ class SearchStory:
|
|||
|
||||
class SearchFeed:
|
||||
_es_client = None
|
||||
name = "feeds"
|
||||
name = "discover-feeds"
|
||||
model = None
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Add table
Reference in a new issue