Skip to content

Commit

Permalink
build(workflows): enable Sentry on prod/stage/test
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Jan 15, 2025
1 parent 88e528a commit 03710ea
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ jobs:
REACT_APP_OBSERVATORY_API_URL: https://observatory-api.mdn.mozilla.net

# Sentry.
REACT_APP_SENTRY_DSN: ${{ secrets.SENTRY_DSN_CLIENT }}
REACT_APP_SENTRY_ENVIRONMENT: prod
REACT_APP_SENTRY_RELEASE: ${{ github.sha }}
SENTRY_DSN_BUILD: ${{ secrets.SENTRY_DSN_BUILD }}
SENTRY_ENVIRONMENT: prod
SENTRY_RELEASE: ${{ github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ jobs:
REACT_APP_OBSERVATORY_API_URL: https://observatory-api.mdn.allizom.net

# Sentry.
REACT_APP_SENTRY_DSN: ${{ secrets.SENTRY_DSN_CLIENT }}
REACT_APP_SENTRY_ENVIRONMENT: stage
REACT_APP_SENTRY_RELEASE: ${{ github.sha }}
SENTRY_DSN_BUILD: ${{ secrets.SENTRY_DSN_BUILD }}
SENTRY_ENVIRONMENT: stage
SENTRY_RELEASE: ${{ github.sha }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,12 @@ jobs:

# Observatory
REACT_APP_OBSERVATORY_API_URL: https://observatory-api.mdn.allizom.net

# Sentry.
REACT_APP_SENTRY_DSN: ${{ secrets.SENTRY_DSN_CLIENT }}
REACT_APP_SENTRY_ENVIRONMENT: test
REACT_APP_SENTRY_RELEASE: ${{ github.sha }}

run: |
set -eo pipefail
Expand Down

0 comments on commit 03710ea

Please sign in to comment.