1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-14 05:37:12 +01:00
metamask-extension/app/scripts
Mark Stacey 5f538f7ab2 Migrate Sentry settings to environment variables (#11085)
Sentry is now configured with environment variables, rather than with
hard-coded values. This makes it easier to test Sentry functionality
using a different Sentry account, as we did recently during QA of
v9.5.1.

The only change for the normal build process is the introduction of the
`SENTRY_DSN_DEV` variable, which can be set via `.metamaskrc` or via an
environment variable. This determines where error reports are sent. It
still defaults to our team Sentry account's `metamask-testing` project.

The `sentry:publish` script now requires SENTRY_ORG and SENTRY_PROJECT
to be set in order to publish release artifacts. The CircleCI
configuration has been updated with these values, so it should act the
same as it did before. Previously we had used a CLI flag to specify the
organization and project, but Sentry already natively supports these
environment variables [1].

[1]: https://docs.sentry.io/product/cli/configuration/#configuration-values
2021-06-07 10:30:50 -02:30
..
account-import-strategies Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
constants @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
controllers Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
lib Migrate Sentry settings to environment variables (#11085) 2021-06-07 10:30:50 -02:30
migrations Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
platforms prefer chainId when building block explorer urls (#10587) 2021-03-09 15:37:19 -06:00
background.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
contentscript.js @metamask/post-message-stream@4.0.0 (#10989) 2021-06-07 10:00:17 -02:30
disable-console.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
first-time-state.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
initSentry.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
inpage.js @metamask/providers@8.1.1 (#11078) 2021-06-07 10:07:43 -02:30
metamask-controller.js Remove SET_CURRENT_FIAT action (#11003) 2021-06-07 10:02:39 -02:30
metamask-controller.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
phishing-detect.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
runLockdown.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
ui.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00