mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Pruning docker, updating sentry release webhook only on local.
This commit is contained in:
parent
accc74508a
commit
e227e651ed
6 changed files with 16 additions and 1 deletions
|
@ -12,12 +12,14 @@
|
|||
# ignore_errors: yes
|
||||
|
||||
- name: Update Sentry release
|
||||
connection: local
|
||||
shell: >
|
||||
curl {{ sentry_web_release_webhook }}/ \
|
||||
-X POST \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"version": "{{ lookup('pipe', 'date "+%Y-%m-%d %H:%M:%S"') }}"}'
|
||||
|
||||
|
||||
- name: Compressing JS/CSS assets
|
||||
run_once: yes
|
||||
connection: local
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
tasks:
|
||||
- name: Update Sentry release
|
||||
connection: local
|
||||
shell: >
|
||||
curl {{ sentry_monitor_release_webhook }}/ \
|
||||
-X POST \
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
tasks:
|
||||
- name: Update Sentry release
|
||||
connection: local
|
||||
shell: >
|
||||
curl {{ sentry_node_release_webhook }}/ \
|
||||
-X POST \
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
tasks:
|
||||
- name: Update Sentry release
|
||||
connection: local
|
||||
shell: >
|
||||
curl {{ sentry_task_release_webhook }}/ \
|
||||
-X POST \
|
||||
|
|
|
@ -29,6 +29,16 @@
|
|||
tags:
|
||||
- static
|
||||
|
||||
- name: Prune docker
|
||||
become: yes
|
||||
community.docker.docker_prune:
|
||||
containers: yes
|
||||
images: yes
|
||||
networks: yes
|
||||
volumes: yes
|
||||
builder_cache: yes
|
||||
tags: prune
|
||||
|
||||
- name: Install pip
|
||||
become: yes
|
||||
apt: name=python3-pip state=latest
|
||||
|
|
|
@ -77,5 +77,5 @@ variable "redis_story_droplet_size" {
|
|||
|
||||
variable "sentry_droplet_size" {
|
||||
type = string
|
||||
default = "s-2vcpu-4gb"
|
||||
default = "s-4vcpu-8gb"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue