Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Dec 18, 2024
1 parent 672c2c1 commit 2ddfbcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ RUN --mount=type=secret,id=sentry_auth_token,mode=0444 \
sh -c 'if [ "$ADD_SENTRY_RELEASE" = "true" ]; then \
SENTRY_AUTH_TOKEN="$(cat /run/secrets/sentry_auth_token)" && \
echo "SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN" >> .env.sentry-build-plugin; \
fi' \
fi' && printenv

RUN printenv
RUN echo add sentry release: "$ADD_SENTRY_RELEASE" && echo semantic version: "$SEMANTIC_VERSION" && echo sentry auth token: "$SENTRY_AUTH_TOKEN"

RUN pnpm build
############
Expand Down
4 changes: 4 additions & 0 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ export default defineNuxtConfig({
sourceMapsUploadOptions: {
org: "openverse",
project: "openverse-frontend",
/**
* This token is only used in the CI to upload source maps to Sentry when building the production
* image of the frontend.
*/
authToken: process.env.SENTRY_AUTH_TOKEN,
},
unstable_sentryBundlerPluginOptions: {
Expand Down

0 comments on commit 2ddfbcf

Please sign in to comment.