misc: #10 add sentry support for be (#11)

* misc: #10 Add Sentry Support for BE

* add sentry dsn to GH action
This commit is contained in:
Jérémy Denquin 2022-04-29 11:21:13 +02:00 committed by GitHub
parent 908ebaa1c9
commit eeded0ce18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -179,6 +179,7 @@ jobs:
DOMAIN: ${{ github.event.inputs.preview_name }}
REDIS_URL: redis://${{ secrets.REDIS_STAGING_URL }}
SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }}
SENTRY_DSN: $${{ secrets.SENTRY_DSN }}
run: |
envsubst < ./api/porter/api.yaml > ./api/porter/env_api.yaml
envsubst < ./api/porter/worker.yaml > ./api/porter/env_worker.yaml

2
api

@ -1 +1 @@
Subproject commit 8facca2810674c8a24d59a3c5412a1eafa62a81f
Subproject commit 215b28b1fdcfbe4b37c33f62d61f6defc09730bf

View File

@ -41,6 +41,7 @@ services:
- REDIS_URL=redis://redis:${REDIS_PORT:-6379}
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-your-secret-key-base-hex-64}
- RAILS_ENV=production
- SENTRY_DSN=${SENTRY_DSN}
ports:
- ${API_PORT:-3000}:3000
@ -69,6 +70,7 @@ services:
- REDIS_URL=redis://redis:${REDIS_PORT:-6379}
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-your-secret-key-base-hex-64}
- RAILS_ENV=production
- SENTRY_DSN=${SENTRY_DSN}
api-clock:
container_name: lago-clock
@ -82,3 +84,4 @@ services:
- REDIS_URL=redis://redis:${REDIS_PORT:-6379}
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-your-secret-key-base-hex-64}
- RAILS_ENV=production
- SENTRY_DSN=${SENTRY_DSN}