1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/development/build
Mark Stacey 37dc19a352
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-05-18 13:56:22 -02:30
..
display.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
etc.js Migrate version from _base manifest to package.json (#11029) 2021-05-10 14:16:03 -07:00
index.js Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
manifest.js Migrate version from _base manifest to package.json (#11029) 2021-05-10 14:16:03 -07:00
sass-compiler.js Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
scripts.js Migrate Sentry settings to environment variables (#11085) 2021-05-18 13:56:22 -02:30
static.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
styles.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
task.js Improve detection of task process exit (#10776) 2021-03-31 13:13:17 -02:30