Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Dec 4, 2023
1 parent 849da33 commit f02253f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
buildArgs:
NEXT_PUBLIC_HASURA_URL:
"https://hasura-{{ .Values.global.host }}/v1/graphql"
SENTRY_DSN: "https://[email protected]/85"
SENTRY_ENVIRONMENT: "{{ .Values.global.env }}"
SENTRY_RELEASE: "{{ .Values.global.imageTag }}"
NEXT_PUBLIC_SENTRY_DSN: "https://[email protected]/85"
NEXT_PUBLIC_SENTRY_ENVIRONMENT: "{{ .Values.global.env }}"
NEXT_PUBLIC_SENTRY_RELEASE: "{{ .Values.global.imageTag }}"
secrets:
sentry_auth_token:
secretName: sentry
Expand Down
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fileignoreconfig:
- filename: .kontinuous/env/prod/templates/sentry.sealed-secret.yaml
checksum: ef7c23320a02ca66f8a10755bccabc2a487973e9581a4408ed3f4c8685f921f7
- filename: .kontinuous/values.yaml
checksum: 80576ff559e478771cc231b7bb71875c5e2cf1f474910132bb6b9433717ec8bf
checksum: 1d67b52046f6e850ff38f806000aa8bb1329cb1f7e6314fbec89bea2009709e3
- filename: Dockerfile
checksum: 14c30aedc55e0f61364c26cf84c28596973f6951f4e0322f2f2693ec84ff513c
- filename: packages/hasura/migrations/default/1691156416829_alter_table_public_users_add_column_disabled/down.sql
Expand Down
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ RUN --mount=type=secret,id=sentry_auth_token export SENTRY_AUTH_TOKEN="$(cat /ru
# Production image, copy all the files and run next
FROM base AS runner

ARG SENTRY_ENVIRONMENT
ENV SENTRY_ENVIRONMENT $SENTRY_ENVIRONMENT
ARG SENTRY_RELEASE
ENV SENTRY_RELEASE $SENTRY_RELEASE
ARG SENTRY_DSN
ENV SENTRY_DSN $SENTRY_DSN

ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1

Expand Down
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ const sentryWebpackPluginOptions = {
org: "incubateur",
project: "secretariat",
url: "https://sentry.fabrique.social.gouv.fr/",
release: process.env.NEXT_PUBLIC_SENTRY_RELEASE,
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
}

const sentryOptions = {
Expand Down

0 comments on commit f02253f

Please sign in to comment.