Skip to content

Commit

Permalink
feat: upload sourcemaps to sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed Aug 15, 2024
1 parent 50574d3 commit 47190fa
Show file tree
Hide file tree
Showing 7 changed files with 359 additions and 30 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-deploy-arbitrum-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ jobs:
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg VITE_ARBITRUM_ALLOW_LIST=${{secrets.VITE_ARBITRUM_ALLOW_LIST}}
--build-arg VITE_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS=true
--build-arg SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
--build-arg SENTRY_ORG=${{ secrets.SENTRY_ORG }}
--build-arg SENTRY_PROJECT=${{ secrets.SENTRY_PROJECT }}
process_type: web
5 changes: 5 additions & 0 deletions .github/workflows/build-and-deploy-powerhouse-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ jobs:
--build-arg VITE_ROUTER_BASENAME=/develop/powerhouse/connect
--build-arg VITE_DEFAULT_DRIVES_URL=https://apps.powerhouse.io/develop/powerhouse/switchboard/d/core-dev
--build-arg VITE_SEARCH_BAR_ENABLED=false
--build-arg VITE_SENTRY_DSN=${{ secrets.SENTRY_DSN }}
--build-arg VITE_SENTRY_ENV=${{ secrets.SENTRY_ENV }}
--build-arg SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
--build-arg SENTRY_ORG=${{ secrets.SENTRY_ORG }}
--build-arg SENTRY_PROJECT=${{ secrets.SENTRY_PROJECT }}
process_type: web
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@ out/
# Generated assets
public/icons.svg

.env.local
.env.local
# Sentry Config File
.env.sentry-build-plugin
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ FROM node:lts-alpine AS builder
ARG BASE_PATH=""
ENV BASE_PATH=${BASE_PATH}

ARG SENTRY_ORG=""
ENV SENTRY_ORG=${SENTRY_ORG}

ARG SENTRY_PROJECT=""
ENV SENTRY_PROJECT=${SENTRY_PROJECT}

ARG SENTRY_AUTH_TOKEN=""
ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}

ARG VITE_BASE_HREF=""
ENV VITE_BASE_HREF=${VITE_BASE_HREF}

Expand Down
Loading

0 comments on commit 47190fa

Please sign in to comment.