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,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
|
|
|||
|
|
@ -35,33 +35,33 @@
|
|||
- { src: 'templates/sentry.config.j2', dest: '{{ app_dir }}/sentry/config.yml' }
|
||||
|
||||
- block:
|
||||
- name: stop running containers
|
||||
docker_compose:
|
||||
project_src: '{{ app_dir }}'
|
||||
env_file: '{{ app_dir }}/.env'
|
||||
state: absent
|
||||
|
||||
# Note: run `docker-compose run --rm web export > backup.json` before upgrading
|
||||
# TODO: tag other sentry images aswell
|
||||
# can be ran multiple times to upgrade sentry
|
||||
- name: run sentry installer
|
||||
command: './install.sh'
|
||||
args:
|
||||
chdir: '{{ app_dir }}'
|
||||
environment:
|
||||
SENTRY_IMAGE: 'getsentry/sentry:{{ app_branch }}'
|
||||
SENTRY_BIND: '{{ bind_address }}'
|
||||
REPORT_SELF_HOSTED_ISSUES: 0
|
||||
register: installer_output
|
||||
|
||||
- name: log installer output
|
||||
debug:
|
||||
var: installer_output.stdout_lines
|
||||
|
||||
- name: start sentry
|
||||
docker_compose:
|
||||
project_src: '{{ app_dir }}'
|
||||
# Note: docker-compose versions <=1.28 load the env file from the current working
|
||||
# directory of the docker-compose command rather than project_src.
|
||||
env_file: '{{ app_dir }}/.env'
|
||||
- name: stop running containers
|
||||
docker_compose:
|
||||
project_src: '{{ app_dir }}'
|
||||
env_file: '{{ app_dir }}/.env'
|
||||
state: absent
|
||||
|
||||
# Note: run `docker-compose run --rm web export > backup.json` before upgrading
|
||||
# TODO: tag other sentry images aswell
|
||||
# can be ran multiple times to upgrade sentry
|
||||
- name: run sentry installer
|
||||
command: './install.sh'
|
||||
args:
|
||||
chdir: '{{ app_dir }}'
|
||||
environment:
|
||||
SENTRY_IMAGE: 'getsentry/sentry:{{ app_branch }}'
|
||||
SENTRY_BIND: '{{ bind_address }}'
|
||||
REPORT_SELF_HOSTED_ISSUES: 0
|
||||
register: installer_output
|
||||
|
||||
- name: log installer output
|
||||
debug:
|
||||
var: installer_output.stdout_lines
|
||||
|
||||
- name: start sentry
|
||||
docker_compose:
|
||||
project_src: '{{ app_dir }}'
|
||||
# Note: docker-compose versions <=1.28 load the env file from the current working
|
||||
# directory of the docker-compose command rather than project_src.
|
||||
env_file: '{{ app_dir }}/.env'
|
||||
when: manage_docker is true
|
||||
|
|
|
|||
Reference in a new issue