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
|
# ignore_errors: yes
|
||||||
|
|
||||||
- name: Update Sentry release
|
- name: Update Sentry release
|
||||||
|
connection: local
|
||||||
shell: >
|
shell: >
|
||||||
curl {{ sentry_web_release_webhook }}/ \
|
curl {{ sentry_web_release_webhook }}/ \
|
||||||
-X POST \
|
-X POST \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d '{"version": "{{ lookup('pipe', 'date "+%Y-%m-%d %H:%M:%S"') }}"}'
|
-d '{"version": "{{ lookup('pipe', 'date "+%Y-%m-%d %H:%M:%S"') }}"}'
|
||||||
|
|
||||||
|
|
||||||
- name: Compressing JS/CSS assets
|
- name: Compressing JS/CSS assets
|
||||||
run_once: yes
|
run_once: yes
|
||||||
connection: local
|
connection: local
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Update Sentry release
|
- name: Update Sentry release
|
||||||
|
connection: local
|
||||||
shell: >
|
shell: >
|
||||||
curl {{ sentry_monitor_release_webhook }}/ \
|
curl {{ sentry_monitor_release_webhook }}/ \
|
||||||
-X POST \
|
-X POST \
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Update Sentry release
|
- name: Update Sentry release
|
||||||
|
connection: local
|
||||||
shell: >
|
shell: >
|
||||||
curl {{ sentry_node_release_webhook }}/ \
|
curl {{ sentry_node_release_webhook }}/ \
|
||||||
-X POST \
|
-X POST \
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Update Sentry release
|
- name: Update Sentry release
|
||||||
|
connection: local
|
||||||
shell: >
|
shell: >
|
||||||
curl {{ sentry_task_release_webhook }}/ \
|
curl {{ sentry_task_release_webhook }}/ \
|
||||||
-X POST \
|
-X POST \
|
||||||
|
|
|
@ -29,6 +29,16 @@
|
||||||
tags:
|
tags:
|
||||||
- static
|
- 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
|
- name: Install pip
|
||||||
become: yes
|
become: yes
|
||||||
apt: name=python3-pip state=latest
|
apt: name=python3-pip state=latest
|
||||||
|
|
|
@ -77,5 +77,5 @@ variable "redis_story_droplet_size" {
|
||||||
|
|
||||||
variable "sentry_droplet_size" {
|
variable "sentry_droplet_size" {
|
||||||
type = string
|
type = string
|
||||||
default = "s-2vcpu-4gb"
|
default = "s-4vcpu-8gb"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue