Pruning docker, updating sentry release webhook only on local.

This commit is contained in:
Samuel Clay 2022-01-03 17:24:50 -05:00
parent accc74508a
commit e227e651ed
6 changed files with 16 additions and 1 deletions

View file

@ -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

View file

@ -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 \

View file

@ -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 \

View file

@ -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 \

View file

@ -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

View file

@ -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"
} }