Run prettier
This commit is contained in:
parent
aa83341655
commit
0b5400955b
2 changed files with 30 additions and 30 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "development",
|
"name": "sentry",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|
|
||||||
|
|
@ -35,33 +35,33 @@
|
||||||
- { src: 'templates/sentry.config.j2', dest: '{{ app_dir }}/sentry/config.yml' }
|
- { src: 'templates/sentry.config.j2', dest: '{{ app_dir }}/sentry/config.yml' }
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: stop running containers
|
- name: stop running containers
|
||||||
docker_compose:
|
docker_compose:
|
||||||
project_src: '{{ app_dir }}'
|
project_src: '{{ app_dir }}'
|
||||||
env_file: '{{ app_dir }}/.env'
|
env_file: '{{ app_dir }}/.env'
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
# Note: run `docker-compose run --rm web export > backup.json` before upgrading
|
# Note: run `docker-compose run --rm web export > backup.json` before upgrading
|
||||||
# TODO: tag other sentry images aswell
|
# TODO: tag other sentry images aswell
|
||||||
# can be ran multiple times to upgrade sentry
|
# can be ran multiple times to upgrade sentry
|
||||||
- name: run sentry installer
|
- name: run sentry installer
|
||||||
command: './install.sh'
|
command: './install.sh'
|
||||||
args:
|
args:
|
||||||
chdir: '{{ app_dir }}'
|
chdir: '{{ app_dir }}'
|
||||||
environment:
|
environment:
|
||||||
SENTRY_IMAGE: 'getsentry/sentry:{{ app_branch }}'
|
SENTRY_IMAGE: 'getsentry/sentry:{{ app_branch }}'
|
||||||
SENTRY_BIND: '{{ bind_address }}'
|
SENTRY_BIND: '{{ bind_address }}'
|
||||||
REPORT_SELF_HOSTED_ISSUES: 0
|
REPORT_SELF_HOSTED_ISSUES: 0
|
||||||
register: installer_output
|
register: installer_output
|
||||||
|
|
||||||
- name: log installer output
|
- name: log installer output
|
||||||
debug:
|
debug:
|
||||||
var: installer_output.stdout_lines
|
var: installer_output.stdout_lines
|
||||||
|
|
||||||
- name: start sentry
|
- name: start sentry
|
||||||
docker_compose:
|
docker_compose:
|
||||||
project_src: '{{ app_dir }}'
|
project_src: '{{ app_dir }}'
|
||||||
# Note: docker-compose versions <=1.28 load the env file from the current working
|
# Note: docker-compose versions <=1.28 load the env file from the current working
|
||||||
# directory of the docker-compose command rather than project_src.
|
# directory of the docker-compose command rather than project_src.
|
||||||
env_file: '{{ app_dir }}/.env'
|
env_file: '{{ app_dir }}/.env'
|
||||||
when: manage_docker is true
|
when: manage_docker is true
|
||||||
|
|
|
||||||
Reference in a new issue